This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: GDBstub porting for vrc4375


> >> <2>. There are a 7-segment display on board, according to the
> >> document the address is 0x7c000000, I am trying to write to the
> >> address after system initialization, but it doesn't work. Anything
> >> wrong?
>
> Jonathan> Maybe PMON doesn't set up the MMU mappings for that?
>
> Or the CPU runs in big-endian mode and the LED is 8-bit addressed so
> you need to poke at 0x7c000000^3
>

In the document of this board, it mentioned the mapping and virtual address
is 0xc7000000 (Sorry, I made a typo last time).  Actually I tried to write
to (*(cyg_uint8 *)(0x7c000000 + i)), in which i ranges from 0 to 0xFFFF, I
guess I should hit the right address. :-/

Regards,
-Ling


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