3 Replies Latest reply on Oct 25, 2020 8:32 PM by RodolfoG_11

    How to use ModusToolbox IDE debug dual-CPU?

    yuqi_1327861

      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!

        • 1. Re: How to use ModusToolbox IDE debug dual-CPU?
          RodolfoG_11

          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.

          • 2. Re: How to use ModusToolbox IDE debug dual-CPU?
            yuqi_1327861

            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?

            • 3. Re: How to use ModusToolbox IDE debug dual-CPU?
              RodolfoG_11

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