Use J-link programmer to program MKL04Z16VFM4, failed to connect

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

Use J-link programmer to program MKL04Z16VFM4, failed to connect

711 Views
fishwang
Contributor I

We use J-link programmer to program MKL04Z16VFM4, failed to connect, could not establish a connection to target. We can sure the wiring connection is right, could you please help to confirm why happen this?

0 Kudos
1 Reply

582 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Fish,

Hold down the Reset Button then try to connect the MCU using JLink Commander. Release the Reset Button if you can establish a connection to target.
The KL04 only support SWD, please don't select JTAG.

For the hardware:

The RESET_b pin should have a 100 nF capacitor close to the MCU for transient protection. An external 4.7 kΩ to 10 kΩ pullup is recommended.
The NMI_b pin must not have any capacitance connected to it. An external 4.7 kΩ to 10 kΩ pullup is recommended.

SWD_DIO: an external 4.7 kΩ to 10 kΩ pullup is recommended.
SWD_CLK: float or an external 4.7 kΩ to 10 kΩ pulldown is recommended.

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos