cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

Soram
Employee

Hi,

I've cloned project from  github from this link : https://bitbucket.vih.infineon.com/projects/CCSESS/repos/mtb-example-anycloud-mqtt-client-optiga/bro... but when I try to debug or run the file then it says error with command: gdb --version . So how do i fix this? I've also referred to this link: https://community.cypress.com/t5/Wireless/Error-with-command-gdb-version/m-p/267766 but since device are different and I also dont use wiced studio instead I use modus toolbox v2.2. so did not understand properly . 

Please kindly help.

Regards,

Soram

0 Likes
1 Solution
DheerajK_81
Moderator
Moderator

Hello @Soram ,

I cannot access the link to the project you provided. But the error seems to be because ModusToolbox is not able to detect the GDB executable. 

Please go to Run > Run Configurations and then open the configuration file for Program. Ensure that the following executable name is added. 

${cy_tools_path:CY_TOOL_arm-none-eabi-gdb_EXE}

gdb.png

Let me know your observations after this change.

Regards,
Dheeraj

View solution in original post

0 Likes
2 Replies
DheerajK_81
Moderator
Moderator

Hello @Soram ,

I cannot access the link to the project you provided. But the error seems to be because ModusToolbox is not able to detect the GDB executable. 

Please go to Run > Run Configurations and then open the configuration file for Program. Ensure that the following executable name is added. 

${cy_tools_path:CY_TOOL_arm-none-eabi-gdb_EXE}

gdb.png

Let me know your observations after this change.

Regards,
Dheeraj

View solution in original post

0 Likes
Soram
Employee

Hi Dheeraj ,

Thanks I'm able to detect now GDB executable now after following Run -> Run Configuration -> new launch Configuration.

Regards,

Soram

0 Likes
Top labels