read eeprom with codewarrior

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

read eeprom with codewarrior

2,739 次查看
thorstenmumm
Contributor III

Hey,

it's possibel to read and write eeprom datas with codewarroir ?

i will read my config out of the eeprom and write it back with the next update of my firmware

my modul lerns same aktion by using it and i will not lost this information and it will be god when i can write datas direkt to the eeprom by flashing the Modul.

I youse the 9S12ZVC

thanks for help

0 项奖励
回复
5 回复数

2,170 次查看
thorstenmumm
Contributor III

Hello Jennie,

thanks, thats what i am loking for.

but now i  have the problem to reset the Controller by an CAN-MAssage.

What is the comand in Asm to restart the controller with an Reset.

asm (RESET);

CPMUARMCOP = 0x00;

dosent work and wehre i can find a tabel with the temperatur i get by the converterfunktion?

I dont find it in the Datasheet

Thanks

Thorsten

0 项奖励
回复

2,170 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Thorsten,

It looks like now you asked new question about reset controller.

May I suggest you create a new thread for this new question?

Please post this new one to S12/MagniV MCU space:

https://community.nxp.com/community/s32/16-bit 

We have MCU expert monitor this space. Thanks for your support.

Best Regards,

Jennie Zhang

0 项奖励
回复

2,170 次查看
thorstenmumm
Contributor III

hi Jennie,

sorry, i had to work on a other Projekt last time. But now it goes on with this

Thats not what i mean.  At Microchip you can read and write the EEprom on the chip with the tool. So you can control what you controller had written or you can write spezial start defines

0 项奖励
回复

2,170 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Thorsten.

EEPROM is read-only space.EEPROM data can be read out in debugger but can not be written with debugger tool.

See attached video of how to read EEPROM data from debugger.


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

2,170 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Thorsten

I recommend you refer this demo code. It should help you.

S12Z EEPROM example code 


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复