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

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

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

ソリューションへジャンプ
727件の閲覧回数
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 解決策
708件の閲覧回数
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 返答(返信)
709件の閲覧回数
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 件の賞賛
返信
678件の閲覧回数
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 件の賞賛
返信