On the Use of Non-Volatile Memory in MPC57xx MBDT

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

On the Use of Non-Volatile Memory in MPC57xx MBDT

Jump to solution
3,295 Views
youngkugpark
Contributor III
0 Kudos
Reply
1 Solution
3,290 Views
mariuslucianand
NXP Employee
NXP Employee

Hello @youngkugpark ,

For now, we did not have in plan to add eeprom support for the MBDT 3.2 for MPC57xx.

But, all the generated code that access the peripherals is based on the S32 SDK for Power Architecture which comes already in our toolbox files. There is an example, at least for the MPC5744P, I don't know which part you are interested in, call eeprom_emulation_mpc5755p which contains an example code of the functionality you are interested in. And this lines of code, can be easily integrated in you model as a custom code.

For adding custom code in your model, please have a look on this thread: How to use your own C code in our Toolbox .

Hope this helps,
Marius

View solution in original post

4 Replies
2,830 Views
anveshjai
Contributor I

Quick Start Guide 2-16 5. Click on Flash button to start the flash programming sequence. The debugger will connect with the target selected and will start to flash the RBF image into the non-volatile memory of the target. At this point the target should be ready for receiving applications from MATLAB/Simulink..

0 Kudos
Reply
3,261 Views
Horancie
Contributor I

Hello,

 You cannot  use non-volatile memory. Because Non-volatile memory is typically used for the task of secondary storage, or long-term persistent storage. The most widely used form of primary storage today is a volatile form of random access memory (RAM), meaning that when the computer is shut down, anything contained in RAM is lost  Kroger Schedule

0 Kudos
Reply
3,284 Views
Horancie
Contributor I

Hello,

 You cannot  use non-volatile memory. Because Non-volatile memory is typically used for the task of secondary storage, or long-term persistent storage. The most widely used form of primary storage today is a volatile form of random access memory (RAM), meaning that when the computer is shut down, anything contained in RAM is lost.

0 Kudos
Reply
3,291 Views
mariuslucianand
NXP Employee
NXP Employee

Hello @youngkugpark ,

For now, we did not have in plan to add eeprom support for the MBDT 3.2 for MPC57xx.

But, all the generated code that access the peripherals is based on the S32 SDK for Power Architecture which comes already in our toolbox files. There is an example, at least for the MPC5744P, I don't know which part you are interested in, call eeprom_emulation_mpc5755p which contains an example code of the functionality you are interested in. And this lines of code, can be easily integrated in you model as a custom code.

For adding custom code in your model, please have a look on this thread: How to use your own C code in our Toolbox .

Hope this helps,
Marius