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.
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