When using OpenSDA debugger to program MPC5744P, the EEPROM memory area,which is emulated by Flash , was not erased. All the debug's settings are as default.
The eeprom emulation driver is the one that NXP provided. For example, I program a new project using OpenSDA, and I read a record at the beginning of the code, just after the eeprom init function, but can read the record last time wrote.
解決済! 解決策の投稿を見る。
Hi @ChenBowen
by default, algorithm for program/code flash is selected only. Go to Debug Configuration and select this one:
c:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.8.7.201906071634\lin\gdi\P&E\nxp_mpc5744p_cflash_dflash_cut2.pcp
Regards,
Lukas
Hi @ChenBowen
by default, algorithm for program/code flash is selected only. Go to Debug Configuration and select this one:
c:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.8.7.201906071634\lin\gdi\P&E\nxp_mpc5744p_cflash_dflash_cut2.pcp
Regards,
Lukas
Thank you ! I tried in S32DS V2.1, it works. However, in older S32DS 2017.R1 version, it results in Flash program error.