From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Ling Su Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] GDBstub porting for vrc4375 Date: Tue, 06 Feb 2001 05:27:00 -0000 Message-id: <3A7FFB7C.B4E85040@redhat.com> References: <000b01c08ff4$6da6bd10$0201a8c0@raccoon> X-SW-Source: 2001-02/msg00062.html Ling Su wrote: > > > <1>. After try to burn code into EPROM and test it on board for lots of > times, I began to use PMON to debug my GDB stub in RAM startup. I disabled > MMU, Cache. But I found there are some conflicts when the GDB stub and PMON > try to access serial port together, so the program usually dead in trying to > write char to serial port. I am not sure if there is any method I can slove > this? I hope I can use another serial port to connect with GDB in this > debugging session, is that possible? there are two ports on the board. But I > am not sure to avoid the PMON and the monitor to access the serial port > simutenously. You could try changing CYGHWR_HAL_MIPS_VR4300_VRC4373_GDB_PORT in your configuration. > <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? Maybe PMON doesn't set up the MMU mappings for that? Jifl -- Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062 Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine