Debug and Flash the code in MC9S12A256 using PE micro [USB-ML-UNIVERSAL] in Code warrior

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

Debug and Flash the code in MC9S12A256 using PE micro [USB-ML-UNIVERSAL] in Code warrior

跳至解决方案
2,614 次查看
Jeevan
Contributor IV

Hi team,

I am using Multilink Debug probe: USB-ML-UNIVERSAL from PEmicro to debug and flash the code using Hi-wave simulator of Code warrior studio on MC9S12A256 and i am facing one of the below 3 errors

Error 1: Target MCU has no clock.

Error 2: Wrong BDM clock speed.

Error 3: Device is secured.

Jeevan_1-1698305818053.png

 

Even when i am using the Unsecure12 utility tool i am facing the below error

Jeevan_0-1698305774646.png

 

0 项奖励
回复
1 解答
2,549 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Jeevan 

MC9S12A256 is not ARM product, so please don't select ARM as supporting achitecture. please select S12 instead as I marked below.

ZhangJennie_0-1698762745639.png

Have a nice day,

Jun Zhang

 

在原帖中查看解决方案

0 项奖励
回复
6 回复数
2,550 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Jeevan 

MC9S12A256 is not ARM product, so please don't select ARM as supporting achitecture. please select S12 instead as I marked below.

ZhangJennie_0-1698762745639.png

Have a nice day,

Jun Zhang

 

0 项奖励
回复
2,530 次查看
Jeevan
Contributor IV

Hi @ZhangJennie ,

Thank you for that useful information regarding the selection of architecture for the PE micro [USB-ML-UNIVERSAL] device.

I have generated .abs file in Code Warrior tool and generated the .hex file from "burner.exe" application tool. Can you please suggest me how to flash this generated .hex using burner application or any other tool to our "MC9S12A256" controller through PE micro [USB-ML-UNIVERSAL] device.

0 项奖励
回复
2,510 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Could you please let me know if the original connection problem is resolved or not?

If resolved, could you please start another thread for the burning method question?

We hope to separate different subject to different thread. Thanks for your understanding.

0 项奖励
回复
2,501 次查看
Jeevan
Contributor IV

Hi @ZhangJennie ,

I am still getting this pop up error window in the Hi-wave simulator application of code warrior developement studio even after making the architecture to ARM.

Jeevan_0-1699005881716.png

 

0 项奖励
回复
2,568 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Jeevan 

Becuase both CodeWarrior and P&E programming tool can not connect. I suggest you chech USB-ML_UNIVERSIAL first.

This is P&E firmware utility tool, please using it to update Multilink universial firmware to support 8/16 bit device. Please send me a screenshot if you did it already.

https://www.pemicro.com/downloads/download_file.cfm?download_id=346

 

Secondly, I suggest you installing drivers

PEmicro Hardware Interface Drivers, v.12 (7/8/10/11):

https://www.pemicro.com/downloads/download_file.cfm?download_id=53

 

Hope this will help you.

Have a nice day,

Jun Zhang

 

 

 

 

0 项奖励
回复
2,561 次查看
Jeevan
Contributor IV

Hi @ZhangJennie  ,

We have already installed the driver for PE micro hardware while installing Code Warrior tool only.

I have installed the P&E firmware utility tool as you suggested. Please check whether all configuration setting are correct in PE firmware utility tool and also do have a look at the Device manger screenshot also attached below.

Jeevan_0-1698648033107.png

 

0 项奖励
回复