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,095件の閲覧回数
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,080件の閲覧回数
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,067件の閲覧回数
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,060件の閲覧回数
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,057件の閲覧回数
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,042件の閲覧回数
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,009件の閲覧回数
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,005件の閲覧回数
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 件の賞賛
返信