Debugging both cores of PSOC 6 BLE in uVision

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

cross mob
CoreyW_81
Employee
Employee
50 sign-ins 50 replies posted 25 replies posted

Is it possible to debug both cores simultaneously in uVision 5.28a?  This KBA (PSoC 6 MCU Multi-Core Debugging with Third-Party IDEs – KBA222959 ) notes that Eclipse is able to do it.  Can uVision?  And what debugger tools work for this task?

0 Likes
1 Solution
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Yes it can be done. You need to have two instances of the tools running and each debugs one of the cores. Please follow the PSoC Creator help topic "Creating uVision Projects for PSoC 6" in Help > PSoC Creator Help Topics.

Also, you need to take care of some of the settings to make sure they work correctly which is explained in the following video: Application Note 318: Multi-Core Debugging with MDK

You can use Ulink2 or JLink which are the supported debuggers for PSoC6 in Keil uVision.

Regards,

Dheeraj

View solution in original post

3 Replies
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Yes it can be done. You need to have two instances of the tools running and each debugs one of the cores. Please follow the PSoC Creator help topic "Creating uVision Projects for PSoC 6" in Help > PSoC Creator Help Topics.

Also, you need to take care of some of the settings to make sure they work correctly which is explained in the following video: Application Note 318: Multi-Core Debugging with MDK

You can use Ulink2 or JLink which are the supported debuggers for PSoC6 in Keil uVision.

Regards,

Dheeraj

Can you clarify the procedure for having 2 uVision instances running and how they can both attach to the same Ulink2 or JLink?

Are 2 debuggers needed, or just 1?

0 Likes

You will just need one debugger. The procedure is mentioned in the video link I provided in the previous interaction.

Regards,
Dheeraj

0 Likes