HOWTO: MPC5777C - Low/Mid Flash block erase via PE Micro

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

HOWTO: MPC5777C - Low/Mid Flash block erase via PE Micro

HOWTO: MPC5777C - Low/Mid Flash block erase via PE Micro

PE Micro is not able erase unused FLASH block - typically if your application resist in Large block and Low/Mid block is used for data storage. As a workaround you can flash empty s-record into desired area. 

  • Create new empty project for MPC5777C for flashing custom .srecord
  • Copy empty s-record (in attachment) into project folder. If you need different address range or s-record values - feel free modify attached python script and generate your own s-record. 
  • Open debug configuration and modify C/C++ Application to empty s-recordpastedImage_1.png
  • Add custom flash algorithm nxp_mpc5777c_1x32x64k_eeprom_highspeed.pcp via Debug -> Advanced Options. Scripts are lcated in [S32DS_INSTALL_DIR]\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.7.3.201803261737\win32\gdi\P&E\pastedImage_2.pngpastedImage_3.png
  • Start debug session. You can check if memory is rewritten properly (in this case I write zeroes to Low/Mid block): pastedImage_4.png
ラベル(1)
添付
評価なし
バージョン履歴
最終更新日:
‎05-23-2018 07:04 AM
更新者: