Programming the MKE04Z8VWJ4 in MCUXpresso

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

Programming the MKE04Z8VWJ4 in MCUXpresso

691 次查看
fede_galassi
Contributor I

Hello community, I have a microcontroller MKE04Z8VWJ4 that I’m trying to program using a KL46Z development board through SWD. I’m encountering several issues in MCUXpresso when trying to program it.

The main problem is that the IDE throws an error because it doesn't detect a match with the selected chip (as shown in the image, the selected device is a KE04Z8M4).

I’ve searched everywhere but haven’t been able to solve this issue.

标签 (2)
0 项奖励
回复
3 回复数

665 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hello @fede_galassi ,

Thanks for your post. 

Are you using the FRDM-KL46Z as a programmer?

If so, how did you connect the FRDM-KL46Z to the MKE04Z8VWJ4? Could you provide more specific information? You can refer to Using the Freedom Board as SWD Programmer | MCU on Eclipse to check if there are connection issues.

You can also check the circuit connections of your custom board by referring to the schematic of FRDM-KE04, focusing on the power supply and SWD sections.

FRDM-KE04Z|FRDM Development Platform|Kinetis® MCU | NXP Semiconductors

Celeste_Liu_0-1750931290061.png

Perhaps you can also use other external debuggers, such as JLINK or multilink, to eliminate interference factors.

Additionally, are you using our SDK? If you use the SDK to create an empty project, can it be programmed successfully? 

Select Board | MCUXpresso SDK Builder

 

BRs,

Celeste

 

------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

659 次查看
fede_galassi
Contributor I

Hello, thank you for your response. I'm actually using the FRDM-KL46Z development board to program an MKE04Z8VWJ4 microcontroller via SWD (so yes, I’m using the KL46Z as a programmer).

I’ve checked the connections and everything is in order; I’ve also cut the appropriate jumper. In fact, I’m now encountering a new issue. After attempting to program the MKE04Z8VWJ4, I reconnected the jumper to program the KL46Z’s own microcontroller, but I’m getting connection error messages from the MCUXpresso IDE. This is the first time I’ve experienced something like this. It’s strange because the OpenSDA interface is functioning correctly, and the PC properly recognizes the board. However, when I try to load a program onto the board, I get the error shown in the attached image.

标记 (1)
0 项奖励
回复

626 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hello @fede_galassi ,

Could you help try to delete the .launch configuration file and try debugging again?

Celeste_Liu_0-1751021592521.png

 

BRs,

Celeste

0 项奖励
回复