I am having a trouble running debug session for the Slave session on M4 of MIMXRT1170-EVKB.
Since some samples of Master/Slave projects run just fine,. I assume I am missing some required settings.
Enable auto-debug secondary project(s) for multicore projects checked.
I generated two new C projects from SDK for the cm7 <Master> and cm4 <Slave> as described in MCUXpresso IDE User Guide. Removed flash memory mapping for the Slave project, set "Attach only" in LinkServer Debugger section of the launch for the slave project.
Now when I run debug I see LinkServer starts the master process, connect to localhost:10989 the and I let it run, then the LinkServer discovers the second target but then it times out each time on localhost:10990.
Error in final launch sequence:
Failed to execute MI command:
-target-select extended-remote localhost:10990
Error message from debugger back end:
localhost:10990: Connection timed out.
Failed to execute MI command:
-target-select extended-remote localhost:10990
Error message from debugger back end:
localhost:10990: Connection timed out.
Please note: I have boot_multicore_slave() call in my <Master>
project generated by IDE.
I don't see this call in multicore sample applications. Is it some obsolete API?
Do I need to use MCMGR_ instead?