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

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

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

Jump to solution
452 Views
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 Kudos
1 Solution
433 Views
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

View solution in original post

0 Kudos
2 Replies
434 Views
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 Kudos
403 Views
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 Kudos