This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: redboot write to memory mapped register
- From: yh at bizmail dot com dot au
- To: yh at bizmail dot com dot au
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 24 Jan 2006 14:05:53 +1100 (EST)
- Subject: Re: [ECOS] Re: redboot write to memory mapped register
- References: <34723.139.168.31.190.1138063085.squirrel@139.168.31.190>
Hello,
The following question should be asked whether the redboot can access
memory mapped peripheral register (And how if it can?)?
I can access EP9301 internal register, but not able to access memory
mapped peripheral registers (0x70000000 for example) by HAL_READ_UINT32
and HAL_WRITE_UNIT32.
Appreciate any helps.
Thank you.
Jim
> Hello,
>
> In redboot, if I want to write to peripheral register in sync memory (such
> as 0x70000000 in cirrus EP9301 chip), can I directly placed the address
> 0x70000000 into the HAL_WRITE_UINT32, or do I need to call
> hal_virt_to_phys_address to convert 0x70000000 to physical address?
>
> Thank you.
>
> Jim
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss