Unable to write in EEPROM Memory.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to write in EEPROM Memory.

3,530 Views
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 Kudos
Reply
3 Replies

3,474 Views
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 Kudos
Reply

3,438 Views
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 Kudos
Reply

3,487 Views
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 Kudos
Reply