How to program eeprom using code warrior 5.9 tools or any others tools

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

How to program eeprom using code warrior 5.9 tools or any others tools

2,182 次查看
pier-luc_rosa
Contributor II

Hi,

my microcontroller is MC9S12DG128VFUE and we have code warrior 5.9. How to program the eeprom or erased it ?

0 项奖励
回复
7 回复数

2,167 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Please see attached demo code.

It's for DP512 but the method is the same as DG128.

Hope this will help you,

Jun Zhang

0 项奖励
回复

2,154 次查看
pier-luc_rosa
Contributor II

Is it possible to use WL command from Code Warrior Debuguer instead. Why it doesnt persist after reboot?

0 项奖励
回复

2,147 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

Besides the demo code method, you can define a const data in EEPROM address. The const data are burned to EEPROM during download the code.

BUT, you can't revise EEPROM with debugger tool.

Hope this helps,

Jun Zhang

0 项奖励
回复

2,144 次查看
pier-luc_rosa
Contributor II

I found a tool called prog12z wich is suppose to be able to do it, not sure how it work I will give it a try.

Thanks

0 项奖励
回复

2,129 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

prog12z is P&E programming tool. As I know It can program eeprom. If you have any question regarding to prog12z, please contact P&E community.

0 项奖励
回复

2,096 次查看
pier-luc_rosa
Contributor II

Hi,

to connect to the device, what gnd and vdd should I use ? I am measuring 2.9V on VDD1 is it suffisiant ?

0 项奖励
回复

2,092 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Your follow up question is no longer about CodeWarrior. Please create a thread to 16bit MCU space.

https://community.nxp.com/t5/S12-MagniV-Microcontrollers/bd-p/16-bit

The 16bit HW engineer will help.

Thanks,

Jun Zhang

0 项奖励
回复