MPC5744P , Why does the openSDA dubugger not erase the eeprom area?

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

MPC5744P , Why does the openSDA dubugger not erase the eeprom area?

跳至解决方案
862 次查看
ChenBowen
Contributor II

      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. 

 

0 项奖励
回复
1 解答
843 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

 

lukaszadrapa_0-1677063046419.png

 Regards,

Lukas

在原帖中查看解决方案

0 项奖励
回复
2 回复数
844 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

 

lukaszadrapa_0-1677063046419.png

 Regards,

Lukas

0 项奖励
回复
813 次查看
ChenBowen
Contributor II

Thank you !   I tried in S32DS V2.1, it works.   However, in older S32DS 2017.R1 version, it results in Flash program error. 

 

OpenSDA.PNG

0 项奖励
回复