MKW41Z512 Flashing Error

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

MKW41Z512 Flashing Error

1,384 Views
pratik_panchal
Contributor II

When I flash the MKW41Z512 using JLINK debugger than it is showing this error.

Connect Under Reset
Communication error while accessing MDM-AP.
Connect Under Reset
InitTarget()
Connect Under Reset
Communication error while accessing MDM-AP.
Connect Under Reset

****** Error: InitTarget(): PCode returned with error code -1

Please suggest where I need to lookout.?

Labels (1)
Tags (1)
2 Replies

846 Views
diegocomin
Contributor IV

Hi Patrik,

I am having the same issue, please refer to this link: https://community.nxp.com/thread/477504 .

How did you manage to solve the problem?

Regards,

Diego C.

0 Kudos
Reply

846 Views
ovidiu_usturoi
NXP Employee
NXP Employee

Hi Pratik,

Did you write the board with a low power application? If yes try to wake-up the board. Depending on application flashed,  it is a pin/ timer... that wake-up the chip from low power.

A second approch could to use a jlink command line application. If the "connect" command is not working, try to use "unlock kinetis" command. Something like:

pastedImage_1.png

Let me know about your result,

Regards,

Ovidiu