Program Kinetis with P&E Multilink Universal for the First Time

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Program Kinetis with P&E Multilink Universal for the First Time

跳至解决方案
1,371 次查看
chiasyan
Contributor II

Hi,

I have created a custom board for Kinetis K20 but couldn't program it using the P&E Multilink (JTAG).

Untitled.png

At first, I was trying to "Erase Whole Device" in order to test the communication between the target and Multilink but there is an error message "Cannot enter background mode".

Then, I referred to the Multilink user guide and followed the steps provided:

  1. First check for power on, then check to make sure the processor oscillator is running.
  2. Finally, look for the startup sequence for your microprocessor that is listed below.

a. RESET is driven low (to processor).

b. Activity appears on TCLK, TDI and TDO (PC software instructs the processor to enable debug mode).

c. RESET is released by the interface and will go high.

d. Activity appears on TCLK , TDI and TDO (Debug activity).


Here are the PROBLEMS:

  1. My crystal osc (8MHz) is not running, there is no oscillation. (I came across one thread saying that MCG must be configured first)
  2. There is no activity for TDI and TDO.

SignalStatus
TCKhas activity
TDI

logic HIGH

TDOlogic LOW
TMShas activity
EZP_CS_blogic LOW
Reset_blogic LOW

Please help. Thank you.

标签 (1)
0 项奖励
回复
1 解答
663 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

I saw EZP_CS_b logic is LOW in your case, I think MCU has entered into EzPort Mode, in P&E USB-ML-UNIVERSAL, pin9 is tied to GND, so if you connected EZP_CS_b to pin9 as well, it would enter EzPort Mode instead of normal mode. Please kindly check you schematics of Debug interface connection.

Hope that helps,

在原帖中查看解决方案

0 项奖励
回复
1 回复
664 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

I saw EZP_CS_b logic is LOW in your case, I think MCU has entered into EzPort Mode, in P&E USB-ML-UNIVERSAL, pin9 is tied to GND, so if you connected EZP_CS_b to pin9 as well, it would enter EzPort Mode instead of normal mode. Please kindly check you schematics of Debug interface connection.

Hope that helps,

0 项奖励
回复