FRDM KE16Z4 - [SMSIS DAP] - Fatal Error: Failed to connect to CPU Session aborted!

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

FRDM KE16Z4 - [SMSIS DAP] - Fatal Error: Failed to connect to CPU Session aborted!

1,176 Views
Louis2
Contributor I

Hi, my board (FRDM KE16Z4) is having a very serious problem. I can't connect to the CPU and it shows the error as shown in the picture. I hope someone can help me, please!

Screenshot 2022-10-29 103401.png

 

Below is the debug log:

Sat Oct 29, 2022 10:33:34: IAR Embedded Workbench 9.30.1 (C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm\bin\armPROC.dll)
Sat Oct 29, 2022 10:33:34: Loaded macro file: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac
Sat Oct 29, 2022 10:33:34: Loading the CMSIS-DAP driver
Sat Oct 29, 2022 10:33:34: Probe: CMSIS-DAP probe SW module ver 1.24
Sat Oct 29, 2022 10:33:34: Probe: Connecting to CMSIS-DAP:0233000050234e4500630006eaee002608e1000097969900 firmware v.1.10
Sat Oct 29, 2022 10:33:34: Emulation layer version 5.11
Sat Oct 29, 2022 10:33:34: Notification to core-connect hookup.
Sat Oct 29, 2022 10:33:34: Connected DAP v1 on SWD. Detected DP ID=0xbc11477.
Sat Oct 29, 2022 10:33:34: CoreSight error: Write error while enabling DAP debug access.
Sat Oct 29, 2022 10:33:34: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:34: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:34: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:34: Cannot initialize DAP access.
Sat Oct 29, 2022 10:33:34: CPU status FAILED
Sat Oct 29, 2022 10:33:34: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:34: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:34: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:34: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:34: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:34: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:34: LowLevelReset(system, delay 200)
Sat Oct 29, 2022 10:33:34: Notification to core-connect hookup.
Sat Oct 29, 2022 10:33:34: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:34: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:34: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:34: Processor did not stop on system reset.
Sat Oct 29, 2022 10:33:35: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:35: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:35: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:35: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:35: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:35: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:35: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:35: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:35: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:35: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:35: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:35: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:35: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:35: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:35: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:35: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:35: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:35: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:35: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:35: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:35: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:35: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:35: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:35: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:35: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:35: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:35: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:35: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:35: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:35: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:35: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:35: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:35: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:35: CMD_INTERPRETER: failed
Sat Oct 29, 2022 10:33:35: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac(96,18): Error: Operation error.
Sat Oct 29, 2022 10:33:35: Error while calling macro execUserCoreConnect
Sat Oct 29, 2022 10:33:57: Fatal error: Failed to connect to CPU Session aborted!
Sat Oct 29, 2022 10:33:57: Unloaded macro file: C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm/config/debugger/NXP/KE1xF.dmac
Sat Oct 29, 2022 10:33:57: IAR Embedded Workbench 9.30.1 (C:\Program Files\IAR Systems\Embedded Workbench 9.1\arm\bin\armPROC.dll)
Sat Oct 29, 2022 10:33:57: Loading the CMSIS-DAP driver

Tags (1)
0 Kudos
3 Replies

1,148 Views
Miguel04
NXP TechSupport
NXP TechSupport

Hi @Louis2 

This could mean that the board bricked, you could try to recover it with the information on this link, this post is from Erich Styger. You will need a DebugProbe to gain access to the mcu, please read the post and follow the steps. Let me know if this worked for you.

Best Regards, Miguel.

1,139 Views
Louis2
Contributor I

Good morning @Miguel04,

I fixed it by holding down the RESET button while turning on Debug. This error seems to be caused by the incorrect configuration of the clock.

Thanks for your idea, you can make a note of this if someone else has the same problem.

0 Kudos

1,116 Views
Miguel04
NXP TechSupport
NXP TechSupport

Hi @Louis2 

I'm glad you were able to recover your board. I'll take notes of what you did for any future similar cases, thanks for the contribution.

Best Regards, Miguel.

0 Kudos