Failed to debug

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

Failed to debug

Jump to solution
1,337 Views
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

 

Tags (1)
0 Kudos
1 Solution
1,208 Views
Andrei13
Contributor III

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

View solution in original post

0 Kudos
5 Replies
1,209 Views
Andrei13
Contributor III

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

0 Kudos
1,317 Views
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 Kudos
1,319 Views
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 Kudos
1,312 Views
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 Kudos
1,325 Views
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 Kudos