LPC43XX M4+M0app debug issue "failed to execute MI command"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC43XX M4+M0app debug issue "failed to execute MI command"

905 Views
a_bet
Contributor IV

I'm on a journey to implement a multicore application on the LPC4370.
I'm trying to lay the basis and understand multicore projects and how to debug hem before adding stuff.

At the moment I created a M4+M0app project.
Memory configuration for M4:

pastedImage_1.png

The M4 core executes code from FLASH, while the M0app from RAM2:
pastedImage_2.png

Memory configuration for M0:
pastedImage_3.png

The problem is that I can't debug the projects successfully:

  • Can stop the M4, but not set breakpoints
  • Can not interact with M0 (leads to "failed to execute MI command -exec-interrupt").

    Here's a video where I show a session of debug. Note that I am using LPClink2 and it is working as I can correctly debug other single core projects.

Thanks in advance,
Andrea

Labels (3)
1 Reply

855 Views
converse
Senior Contributor V

Did you follow this guide

LPC43xx Cortex-M4 / M0 Multicore Applications 

There is also a workshop here:

https://community.nxp.com/docs/DOC-331545 

(Debugging starts at slide 79)