Failed to debug

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Failed to debug

跳至解决方案
1,361 次查看
Andrei13
Contributor III

I am using FRDM KE16Z for project everything worked fine with debug but no it give me this erro. I tried changing the port and the cable. I didn t changed any jumper or anything else.

Andrei13_0-1679319987318.png

 

标记 (1)
0 项奖励
1 解答
1,232 次查看
Andrei13
Contributor III

I found the fix!!!! I configured PTC4 as a GPIO, but the default config is OPEN SDA Clock Pin.

在原帖中查看解决方案

0 项奖励
5 回复数
1,233 次查看
Andrei13
Contributor III

I found the fix!!!! I configured PTC4 as a GPIO, but the default config is OPEN SDA Clock Pin.

0 项奖励
1,341 次查看
Andrei13
Contributor III

I tried to put JLINK Open SDA and it doesn t work either.

Andrei13_0-1679483819648.png

Andrei13_1-1679483851560.png

 

@Pavel_Hernandez 

0 项奖励
1,343 次查看
Andrei13
Contributor III

I know there is erase flash action but it doesn t work. It gives me the same error. I will attach here img with all the error i get.

Andrei13_0-1679482880218.pngAndrei13_1-1679482890331.png

Andrei13_2-1679482901049.png

TY!

0 项奖励
1,336 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, thanks for being clear, I understand now, so It's seeming like the debug cannot access to the MCU, could you try with the NMI SW1 down?

Pavel_Hernandez_0-1679500887458.png

Then use the GUI.

Pavel_Hernandez_1-1679500901204.png

Pavel_Hernandez_2-1679501075284.png

Best regards,

Pavel

0 项奖励
1,349 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, the image you attach looks like the debug probe works fine but this does not find the MCU maybe this is in an unknown state, I recommend doing an erase of a flash. 

Pavel_Hernandez_0-1679427101158.png

You could try these options depending on the firmware of your debug probe and try the "erase flash action" option.

Best regards,
Pavel

 

 

0 项奖励