This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: redboot write to memory mapped register


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]