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: Help needed: eCos on NEC vr4300 board.


Ling Su wrote:
> 
> Hello,
> 
> I am trying to set up the environment for debugging NEC VR4373 board.
> Unfortunately I met a lot of trouble to make the remote debugging
> working..:( Could anyone please help me on following questions,
> 
> <1>. I found two files in vr4374 gdbstub directory: .bin and .img, I burned
> the .bin into a EEPROM and set the baudrate to 38400, I connect the serial
> ports by a direct serial cable. In gdb, when I try to connect to remote
> target... It complains three times, "ignore packet error, continuing..." and
> at last failed with an error message "Malformed response to offset query.
> timeout"... Did I do anything wrong.. Did I burn the correct gdb stub?

Connect using a terminal emulator to check you can see the correct stub
output coming from the board when it is switched on. It should be something
like
++$T

In GDB make sure you have the correct endianness, using "set endian big".
Also use "set mips saved-gpreg-size 32" as the documentation says.

> <2>. Can I use Ethernet instead of serial port on vr4373?

Nope.

> <3>. Is there a CygMon avaibliable for vr4373?

Nope sorry.
 
Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

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