[Ilugc] [Ilug]Serial port problem

  • From: luv2musik@xxxxxxxxx (rajib dutta)
  • Date: Tue Apr 24 19:21:37 2007

Hi all!!
I have written a GDBServer for Nucleus OS - PowerPC platform. The Server 
follows the GDB serial communication protocol (over RS232). 
The problem is I am not able to set the remote target as COM1 (or /dev/ttyS0). 
It shows the following error: -

(gdb) set remotedevice /dev/ttyS0
(gdb) set remotebaud 115200
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Couldn't establish connection to remote target
Malformed response to offset query, timeout
(gdb)

Is it mandatory that the device connected serially should acknowledge the 
packets sent by gdb (if at all its does so) while setting the remote target?

Please help !!
Thanks in advance.
Rajib

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ;

Other related posts: