In one project we are able to write in EEPROM Memory but in another project we couldn't write.

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

In one project we are able to write in EEPROM Memory but in another project we couldn't write.

4,580 Views
Balakrishna24
Contributor I

Hi

We are unable to write in EEPROM Memory in MPC5746C Microcontroller.

We are using NVM Block Address is 0x00F94000 to 0X00F97FFF.

Is there any alternative process to write in memory. we are getting difference in Lock0 register.

Any insights from anyone please?

0 Kudos
Reply
5 Replies

4,544 Views
Balakrishna24
Contributor I

Hi @davidtosenovjan Thanks for your response.

Actually when flashing is completed then we could able to see the written memory in NVM Block Address is 0x00F94000 using MPC5746C Microcontroller.

but when we try to write in runtime we are not able to write, we are using autosar (classic platform), so any protection to write in the NVM Memory or any other configuration need to be done. suggest me please.

0 Kudos
Reply

4,531 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Do you disabled cache or set cache inhibited attribute for this memory area?

0 Kudos
Reply

4,486 Views
Balakrishna24
Contributor I

Hi @davidtosenovjan 

I am unable to see cache or set cache inhibited attribute for this memory area, could you please share any document for reference, I am using MPC5746C microcontroller.

I am unable to see cache relevant peripherals in trace32 debugger also. 

0 Kudos
Reply

4,202 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Here you may see example dealing with MPU, what's the module you would use for setting of cache inhibited attribute:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5748G-SMPU-initialization-GHS614/ta-p...

 

4,565 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

I don't understand you too much. You mean alternative to what? How you are programming the flash?

0 Kudos
Reply