programming kw40z by jlink

cancel
Showing results for 
Search instead for 
Did you mean: 

programming kw40z by jlink

524 Views
shinezen
Contributor III

hello:

i programming kw40z board by jlink (IAR).

the error message ( failed to get cpu status after 4 retries retry ) appear  final step go .

how can i do to solve this problem?

Labels (1)
0 Kudos
3 Replies

300 Views
pavel_krenek
NXP Employee
NXP Employee

Hi,

looks as issue with power supply of MCU. Also you can check if the correct debug connection is selected in IAR (SWD or J-LINK) for Cortex M0+ base MCU has to be SWD.

What kind of debug interface are you using external or integrated in the board for example on freedom board ?

Best regard,

Pavel

0 Kudos

300 Views
shinezen
Contributor III

HI Pavel :

My MCU power from power supplier.

i think i have been programming it but i don't know why i reset power ,the kw40z return initial step .

thanks for you help

圖片4.jpg

圖片2.jpg

圖片3.jpg

0 Kudos

300 Views
pavel_krenek
NXP Employee
NXP Employee

Hi,

are you able to do the some steps in the code ? If yes you can check what should be the source of reset. 

Regards,

Pavel

0 Kudos