Hi
We are trying to connect to CW TAP from gdb client with port number 2345 but CW TAP refuses it.
(gdb) target remote 192.168.4.102:2345
192.168.4.102:2345: Connection timed out.
In the eterhtap I can see that, when gdb client sends
320 187.683865 192.168.4.12 192.168.4.102 TCP 50562 > dbm [SYN] Seq=0 Win=14600 Len=0 MSS=1460 SACK_PERM=1 TSV=1872271470 TSER=0 WS=7
CW TAP sends back a reset :
321 187.684083 192.168.4.102 192.168.4.12 TCP dbm > 50562 [RST, ACK] Seq=1 Ack=1 Win=0 Len=0
Is 2345 not the right port number, is there something else we need to enable to connect to CW TAP from a command line gdb client ?
Thanks
Sinan Akman
The port number 2345 is correct, please make sure currently only Ethernet connection is available(USB connection is unavailable). Before execute the command "target remote 192.168.4.102:2345", you need to do some configurations under gdb, please download "CWTAP_GDB_P1010_P4080" from CodeWarrior TAP Product Summary Page, and refer to the file <processor>_init.gdb, you could run "source <processor>_init.gdb" directly.
In addition, for detailed steps please refer to the document "GDB for Board Bringup 1.0".
Hi,
I'm trying to use GDB with a Codewarrior TAP over ethernet, I can't find the mentioned file (CWTAP_GDB_P1010_P4080) anywhere, have they been removed from the website, I can't find any information about getting GDB working. Any help would be appreciated.
Thanks.
Hi Yiping, thanks for your reply. I discussed this with one of the FSL's engineer as well. As it turned out, for some reason, gdbproxy did not start in the TAP. A delete followed by config cc cwtap via CCS, re-spawn the gdbproxy and now it works fine.
Thanks
Sinan Akman