CYW9443907AEVAL1F GDB CANNOT DEBUG

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

cross mob
lock attach
Attachments are accessible only for community members.
vanessa_diaz
Level 1
Level 1
25 sign-ins 10 sign-ins First reply posted

Hello, I followed this link to debug with my CYW9443907AEVAL1F:
https://community.infineon.com/t5/Resource-Library/Downloading-through-Jlink-Segger-in-WICED-SDK-6-2...

And I followed all the instructions there in the word file to debug with GDB

It seems like it try but the log says that it cannot read the registers

vanessa_diaz_0-1649731992649.png

 

I'm going to attach the complete log., Does anybody knows what its wrong?

 

Also I saw a comment in that post about doing a target with the debug option, I made this:
test.console-CYW943907AEVAL1F-debug JTAG=jlink-native JLINK_PATH="C:/Program\ Files\ \(x86\)/SEGGER/JLink_V720/" JLINK_EXE="JLink.exe" JLINK_DEVICE=CYW43907 JLINK_SPEED=auto JLINK_INTERFACE=JTAG JLINK_AUTO_CONNECT=1 download debug

But in this case I got an error like this

vanessa_diaz_2-1649732212011.png

 

warning: File "C:\Documents\WICED-Studio-6.6\43xxx_Wi-Fi\.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path C:\Users\H448134\Documents\WICED-Studio-6.6\43xxx_Wi-Fi\.gdbinit
line to your configuration file "$HOME/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "$HOME/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
.gdbinit_attach:1: Error in sourced command file:
localhost:3333: No connection could be made because the target machine actively refused it.

But when I set that instruction in gdbinit file, when I run again the target, WICED STUDIO will override it and delete that instruction, does anybody knows how add it?

Thanks and regards

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Rakesh_BG
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted 100 sign-ins

Hi @vanessa_diaz ,

You can refer to our latest document attached and  check the steps you followed.

you will be able to debug through jlink with the steps given in the document.

 

Thanks,

Rakesh B G

View solution in original post

2 Replies
lock attach
Attachments are accessible only for community members.
Rakesh_BG
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted 100 sign-ins

Hi @vanessa_diaz ,

You can refer to our latest document attached and  check the steps you followed.

you will be able to debug through jlink with the steps given in the document.

 

Thanks,

Rakesh B G

vanessa_diaz
Level 1
Level 1
25 sign-ins 10 sign-ins First reply posted

Thank you very much, it was the solution 😁

0 Likes