How to use MCU Link flash the MKM34Z265?

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

How to use MCU Link flash the MKM34Z265?

2,288 次查看
Kris_Ke
Contributor III

Dear 

I use MCU Link to flash the MKM34Z265 and it keeps failing.

 

01.png02.png03.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I have measured the signal of SWD as follows, it seems that there is communication, but it will fail.

05.png06.png07.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Thanks,

Kris

 

 

标记 (3)
0 项奖励
7 回复数

2,268 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @Kris_Ke ,

Please try to use GUI flash tool to make a whole erase.

jingpan_0-1634115620870.png

 

Regards,

Jing

 

 

0 项奖励

2,249 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @Kris_Ke ,

Does the erase success?

What board do you use, TWR board or you own board?

 

Regards,

jing

0 项奖励

2,240 次查看
Kris_Ke
Contributor III

Hi @jingpan 

 

My board and TWR-KM34Z75M both can't connect successfully.

If can't connect successfully, how can I erase the MCU?

 

Kresse

0 项奖励

2,233 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Maybe the problem is not caused by hardware or chip. TWR board has openSDA. It's default application is PEmicro. Can you use openSDA to debug? You also can change openSDA application to jlink.

Please take care of those jumper and power supply.

https://www.nxp.com/design/software/development-software/sensor-toolbox-sensor-development-ecosystem...

https://www.nxp.com/webapp/Download?colCode=TWRKM34Z75MUG

 

Regards,

Jing

0 项奖励

2,226 次查看
Kris_Ke
Contributor III

Hi Jingpan

The TWR board can use OPENSDA to flash and debug. 

So you can see I remove the OPENSDA jump connect and try to use MCU Link to flash.

It just show can't connection succeeded.

 

Kris

0 项奖励

2,215 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

I tried to use MCU-Link on TWR board just like you. It works fine. Since opensda can erase/program KM34, could it be the MCU-link problem? You can try to replace openSDA's application to CMSIS-DAP and try again. Please refer to this link to see how to update openSDA firmware.

https://www.nxp.com/design/software/development-software/sensor-toolbox-sensor-development-ecosystem...

 

Regards,

Jing

0 项奖励

2,258 次查看
Kris_Ke
Contributor III

Dear @jingpan 

 

I had try it, but still show connect fail.

 

Kresse

0 项奖励