Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Serial Pdebug problem: (2 Items)
   
Serial Pdebug problem  
I have a problem with pdebug through serial port on AT91SAM9260-ek. 

The serial communication IDE <-> Target work perfect. 

These messages I get on Target and IDE Console: 

QNX AT91SAM9260-ek target console: 
--- 

# pdebug -v /dev/ser2,57600 
Process 557068 (pdebug) exited status=0. 

This version of pdebug was built on May 20 2009. 
ProtoVer 0.3 
# Com port /dev/ser2 initialized ok. 
Target initialized ok. 
pdebug initialized 

Host resent message with id 9 (0x9). Resending response. 
Host resent message with id 4 (0x4). Resending response. 
Host resent message with id 4 (0x4). Resending response. 
Host resent message with id 5 (0x5). Resending response. 
Host resent message with id 7 (0x7). Resending response. 

TargetLoad argc=0 envc=0 envv= 
cmdline= 
stdio=|| || || 

Beg TextToHost 5 /dev/ptyp0 
End TextToHost 0 (No error) 
Spawn of /tmp/hello_g failed: 8 (Exec format error) 

Host resent message with id 8 (0x8). Resending response. 


IDE Debug view console: 
--- 

Remote target is little-endian 
MsgNak received - resending 
MsgNak received - resending 
MsgNak received - resending 
Remote exhausted 3 retries. 
Remote was unable to open '/tmp/hello_g': Input/output error 
MsgNak received - resending 
No registers. 
info tidlist 
Undefined info command: "tidlist". Try "help info". 
set remotebaud 115200 
upload C:/ide-4.6-workspace/GMN/hello/arm/o-le-g/hello_g /tmp/hello_g 
set qnxremotecwd /tmp 
No symbol "qnxremotecwd" in current context. 
MsgNak received - resending 
Remote exhausted 3 retries. 
Remote exhausted 3 retries. 
Timed out. 
MsgNak received - resending 
Remote exhausted 3 retries. 
MsgNak received - resending 
Remote (spawn error): Exec format error. 

On the target /tmp -> /dev/shmem directory hello_g file created with 0 byte length.

Is it pdebug problem or some else? 

Please help.
Re: Serial Pdebug problem  
Please show me  the path on pdebug sources for problem of pdebug serial studying.