- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a PSoC 6 (CYBLE-416045-02) board and I was trying to use Keil for debugging. I think I have the settings in Keil wrong. Can someone help me with this?
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the CYBLE-416045-02 board has the onboard Kitprog2 programmer/debugger. However, in Keil uVision, the Cypress Miniprog3/Kitprog option isn't supported for PSoC6. You will need to make use of the ULink/JLink probes.
Once you snap-off Kitprog2, then you need to power the board using VTARG pin on J5. You can connect the power supply pin of the debugger probes to this. Based on the interface SWD/JTAG make appropriate connections by referring:
- Pinout (Page#14 of this document: https://www.cypress.com/file/428336/download )
- Physical connections between PSoC6 and Debugger (Page#20 of this document: https://www.cypress.com/file/385671/download )
You will need to load the J3 jumper to connect VTARG to P6.VDD to power the BLE module.
J-Link probe pin connections can be obtained here: Interface Description | SEGGER - The Embedded Experts
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In PSoC Creator, go to Help > PSoC Creator Help Topics. Search for "Creating uVision Projects for PSoC 6". This section details all the settings you need to configure your project to build and debug it correctly.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for that Dheeraj.
Since there is a debugger on my CYBLE-416045-02 board, is there a way I just plug into the USB port on my PC and program/debug for Keil. I am asking because I noticed that only ULink2/ULink Pro and Segger J-Link Debugger Probes method is mentioned in the page you mentioned.
While you are at it, please let me know if I have to break my PSoC evaluation board to use the ULink/JLink programmer to continue and if so, how do I power my PSoC board.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the CYBLE-416045-02 board has the onboard Kitprog2 programmer/debugger. However, in Keil uVision, the Cypress Miniprog3/Kitprog option isn't supported for PSoC6. You will need to make use of the ULink/JLink probes.
Once you snap-off Kitprog2, then you need to power the board using VTARG pin on J5. You can connect the power supply pin of the debugger probes to this. Based on the interface SWD/JTAG make appropriate connections by referring:
- Pinout (Page#14 of this document: https://www.cypress.com/file/428336/download )
- Physical connections between PSoC6 and Debugger (Page#20 of this document: https://www.cypress.com/file/385671/download )
You will need to load the J3 jumper to connect VTARG to P6.VDD to power the BLE module.
J-Link probe pin connections can be obtained here: Interface Description | SEGGER - The Embedded Experts
Regards,
Dheeraj