You are here

Debug BLE code | Cypress Semiconductor

Debug BLE code

Summary: 2 Replies, Latest post by roit on 07 Sep 2015 01:38 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.
CRodriguez's picture
9 posts

Hi, i am trying to debug with  PSOC4200 BLEkit PIONER BASEBOARD, but i have some problems,it seem that PSOC creator doesn't run the program, i press halt key and doesn't do anything. I place breakpoints and doesn't occur anything.

I have been thinking, about the program doesn't work properly with big BLE codes....

Some experiences whit that?

Thanks for all



user_14586677's picture
7646 posts

When you did your build did you select the debug icon to

setup code and Creator for debug ?


Do you show in Debug menu being connected to the board ?


Regards, Dana.

roit's picture
Cypress Employee
221 posts



The BLE Device (PSoC 4 BLE/PRoC BLE) can be configured into one of the two modes for debug, viz SWD and GPIO.

With SWD mode, the BLE device can be debugged. But enabling this mode means that device draws a certain amount of current continuously (as Debug port is enabled).

With GPIO mode, the BLE device disables SWD for debugging which allows low-power mode operation. But with this, debugging cannot be done.

Most of the BLE projects have been  configured for low-power mode operation, which means that the Debug option is set to GPIO. To enable debugging, go to CYDWR of your project (you can find this in the Workspace Explorer of PSoC Creator IDE) -> Systems tab -> Set Debug Select to 'SWD'. Now rebuild the project and use the project for debugging.

Hope this helps.

Log in to post new comments.