i use CMSIS-DAP link for debugging and CMSIS-DAP firmware load successfully.
and I use IAR Workbench Version 9.50.2 IDE.
I can build code successfully.
But after I Got a "Fatal Error : Failed to connect to CPU Session aborted !" during "Download and Debug" a code from IAR IDE.
I could not find any solution behind this issue.
Solved! Go to Solution.
Hi @Charindu_Abeysekara ,
Thanks for your interest in NXP MIMXRT series!
I reviewed the error messages and found that you are trying to debug CM4 Core demo. But the CM7 Core is the primary core, CM7 is used to initialize CM4. So the reason for this error is that the CM4 core of the chip is not yet started and the debugger can't find it. You can try running the demo for the CM7 core.
Best regards,
Gavin
Hi @Charindu_Abeysekara ,
Thanks for your interest in NXP MIMXRT series!
I reviewed the error messages and found that you are trying to debug CM4 Core demo. But the CM7 Core is the primary core, CM7 is used to initialize CM4. So the reason for this error is that the CM4 core of the chip is not yet started and the debugger can't find it. You can try running the demo for the CM7 core.
Best regards,
Gavin
Hi @Charindu_Abeysekara ,
I am glad to get the good news from your side!
In the previous case, was your CMSIS-DAP debugger external or on-board? Was it on the EVK or the EVKB? It seems to me that CMSIS-DAP shouldn't be wrong either. I'll test it again on my side afterward.
In any case, please start your enjoyable development journey!
Best regards,
Gavin