On the Use of Non-Volatile Memory in MPC57xx MBDT

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

On the Use of Non-Volatile Memory in MPC57xx MBDT

跳至解决方案
3,293 次查看
youngkugpark
Contributor III
0 项奖励
回复
1 解答
3,288 次查看
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

在原帖中查看解决方案

4 回复数
2,828 次查看
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 项奖励
回复
3,259 次查看
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 项奖励
回复
3,282 次查看
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 项奖励
回复
3,289 次查看
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