S32K144 Unable to debug

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K144 Unable to debug

574 Views
peterzhou1
Contributor I

Hi

      I am debugging the S32K144 and configuring the MCU and Prot using EB. Put PTB5
Configured as CLKOUT with a frequency of 4MHz. Then the program cannot be downloaded again (debug). But after I power it back on, I measured that PTB5 is still 4MHz output. I don't know what caused this.

pastedImage_1.png

pastedImage_2.png

0 Kudos
4 Replies

274 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Is this the only pin you used?

I mean, are JTAG/SWD pins and the reset pin in the default configuration?

Thanks,

Daniel

0 Kudos

274 Views
peterzhou1
Contributor I

Hi.

YES,JTAG/SWD pins and the reset pin are in the default configuration,  i just configure the PBT5 as the output for CLKOUT. 

Thanks,

0 Kudos

274 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Hard to say what could be wrong.

To exclude a SW issue, have you tried the same code on another board?

Can you share the code?

Regards,

Daniel

0 Kudos

274 Views
peterzhou1
Contributor I

Hi,

I have solved this problem because the chip is locked

thank you very much!

https://community.nxp.com/thread/439921?commentID=857127#comment-857127 

0 Kudos