Unable to write in EEPROM Memory.

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

Unable to write in EEPROM Memory.

3,850 次查看
Balakrishna24
Contributor I

Hi, 

I am trying to access and modify boot code EEPROM emulation in mpc5746c microcontroller.

I am not able to write in the boot code EEPROM memory. 

I have took example project EEPROM emulation in S32 design studio. 

I am getting IVOR6 Program exception. I hope someone can answer this question. 

 

Thanks.

0 项奖励
回复
3 回复数

3,794 次查看
Balakrishna24
Contributor I

Hi @lukaszadrapa 

code is running from Start Address is 0x00F90000 and Block size is 0x00004000.

Flash Start Address is 0x00F90000.

No, i didn't check the details in register as you mentioned.

 

Thanks.

0 项奖励
回复

3,758 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Does it mean that the code is running from the block which is being erased?

In default example, the code is running from large blocks (0x0100_0000) and these blocks are used for EEE:

lukaszadrapa_0-1730729375947.png

 

0 项奖励
回复

3,807 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Balakrishna24 

which block is being erased exactly? Where the code is running from?

Did you check the details about IVOR6 exception?

lukaszadrapa_0-1730448213179.png

Regards,

Lukas

0 项奖励
回复