This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: GDBstub porting for vrc4375
- To: Ling Su <lingsu at palmmicro dot com>
- Subject: Re: [ECOS] GDBstub porting for vrc4375
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 06 Feb 2001 13:26:20 +0000
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <000b01c08ff4$6da6bd10$0201a8c0@raccoon>
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