How to use ModusToolbox IDE debug dual-CPU?

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

cross mob
yuqi_1327861
Level 1
Level 1
First question asked First reply posted

Hi,

     In PSoC 6 MCU Dual-CPU System Design.pdf file,the ModusToolbox and other third IDE  such as Keil µVision and IAR Embedded Workbench support dual-CPU
debugging at a time. And can find the user guide from ModusToolbox IDE User Guide
and see the subsection PSoC 6 MCU Dual-Core Debugging. But i can not find the subsection PSoC 6 MCU Dual-Core Debugging in the Eclipse_IDE_for_ModusToolbox_User_Guide.pdf or ModusToolbox_User_Guide.pdf.

     Is there any other user guide about dual-cpu debugging?

     Thanks!

pastedImage_4.png

0 Likes
1 Solution

You have to choose which CPU you want to debug first - CM0+ or CM4.

Then select the project (you will see two projects in the ModusToolbox Workspace). Then follow the instruction from the ModusToolbox User Guide (chapter 8). You can use the Quick Panel - Launches to initiate the debug session.

uVision allows you to debug both CPUs at the same time. You need to open two instances of uVision. The App Note has the instructions for that. See section 4.5.3.1.

Also refer to the ModusToolbox User Guide ("Exporting to IDEs" section) to load the project generated by "make uvision5".

View solution in original post

0 Likes
3 Replies
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

As state in the Dual-CPU System Design:

4.5.1 ModusToolbox Instructions

Eclipse IDE for ModusToolbox software supports debugging a single CPU (either CM4 or CM0+) at a time. For detailed

instructions, open the ModusToolbox User Guide, and see the subsection PSoC 6 MCU Programming/Debugging.

Please refer to the ModusToolbox User Guide, chapter 8.

0 Likes

Eclipse IDE for ModusToolbox software supports debugging a single CPU (either CM4 or CM0+) at a time.

Then,how can i debug the dual-cpu at a time?

Can keil uVision debug the dual-cpu at a time?

0 Likes

You have to choose which CPU you want to debug first - CM0+ or CM4.

Then select the project (you will see two projects in the ModusToolbox Workspace). Then follow the instruction from the ModusToolbox User Guide (chapter 8). You can use the Quick Panel - Launches to initiate the debug session.

uVision allows you to debug both CPUs at the same time. You need to open two instances of uVision. The App Note has the instructions for that. See section 4.5.3.1.

Also refer to the ModusToolbox User Guide ("Exporting to IDEs" section) to load the project generated by "make uvision5".

0 Likes