From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ling Su" To: "Jesper Skov" Cc: "Jonathan Larmour" , Subject: Re: [ECOS] GDBstub porting for vrc4375 Date: Tue, 06 Feb 2001 10:26:00 -0000 Message-id: <006701c0906a$5160b7c0$0201a8c0@raccoon> References: <000b01c08ff4$6da6bd10$0201a8c0@raccoon> <3A7FFB7C.B4E85040@redhat.com> X-SW-Source: 2001-02/msg00080.html > >> <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