Hi Simon Prentice,
I run the multicore_blinky example that comes in the LPCOpen examples for the board without any problem.
I suppose that you are using the same example, on the contrary, I recommended using that example, you can find the LPCOpen for the board in the link below LPCOpen examples.
Once you import the examples for M4 and M0, you have to run first the multicore_blinky_m4 like a normal debug section, and before that, you have to attach the second project (multicore_blinky_m0sub), for that go to Debug your project section in the Quickstart panel, an in the right side, click the down cross icon, to display the debug options, select the second "attach to a running target using LinkServer" and whit that you should be able to run the second program.
I wish that with this you can solve the problem if you still have it, please give more information about what program are you running and what the exactly steeps that you are following to prove it.
regards,
Miguel
Hi Miguel, I have seen the light (or at least the Quickstart Panel).
I now do the following:
1. Start multicore_blinky_m4 using Blue Debug
2. Program gets to main and waits for run
3. Select multicore_blinky_m0sub and "Attach to a running target using LinkServer"
4. Select a JTAG device
5. 2 threads running
6. Resume all debug session
7. Hardfault on memory sanity check.
8. Memory at the location 0x14010000 is all zeroes.
I feel I'm closer but still not there.
Thanks.
Simon.
Hi simon.prentice@sagentia.com,
I have the same problem that you reported in this last reply (see my question here https://community.nxp.com/thread/528201 ), did you solved at last?
Hi Miguel,
Thanks for the help.
I can't find the Quickstart Panel.
If I right-click on multicore_blinky_m0sub I can't see an option along the lines of "attach to a running target using LinkServer".
You cannot debug either M0 (slave) core until they have been released from reset by the M4 master core. The correct way to debug the M0 projects, is first find the matching M4 project. The M4 project is designed to link in the matching M0 project code/data. Connect a debug session first to the M4, then "attach" the debugger to the M0. Once the M4 releases the M0 core from reset, you'll establish debug control.
This information is covered in the Multicore Projects chapter of the MCUXpresso IDE User Guide.
Thanks and regards,
MCUXpresso Support
Thank you. Partial success.
I hadn't seen that part of the manual and I was trying to debug the M4 project so was using the wrong project to start with.
It now connects and starts but gets hung on starting the M0 app.
Does the multicore_blinky_m0sub project require modification to run?
---------------------------