Debugging with SDK 5.1, using GDB and USB to JTAG FTDI chip.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am getting the following error message when trying to debug the "console" sample application. I am running the gdb in Eclipse and the target is connected via USB to JTAG using FTDI chip.

(gdb)

156 info threads

&"info threads\n"

~"No threads.\n"

156^done

(gdb)

157-data-list-register-names

157^done,register-names=["r0","r1","r2","r3","r4","r5","r6","r7","r8","r9","r10","r11","r12","sp","lr","pc","f0","f1","f2","f3","f4","f5","f6","f7","fps","cpsr","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""]

(gdb)

158-break-insert wiced_init.c:116

158^error,msg="Cannot access memory at address 0x4b0dfa"

(gdb)

0 Likes
1 Solution
Anonymous
Not applicable

The WICED workspace needs to be created inside the project folder but outside the "43xxx_WiFi"  folder. The import needs to be done from inside the "43xxx_WiFi"  folder.

View solution in original post

1 Reply
Anonymous
Not applicable

The WICED workspace needs to be created inside the project folder but outside the "43xxx_WiFi"  folder. The import needs to be done from inside the "43xxx_WiFi"  folder.