5744 emulation EE system swap problem

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

5744 emulation EE system swap problem

3,954 次查看
liujinhang
Contributor III

hi every body, i need some help for the emulation EE system's swap problem.

as we know that in the emulation EE system, a full flash block will be erased when the useful data are all recorded at a new flash block. in my opinion, the old flash block must be erased after marking the new block valid flag. but actually i found in few times , the old flash block was erased but the new flash block has not been marked valid. this phenomenon will make data lost.

 

i used the DRIVER is v1.2.0, and i don't know if other body saw this problem in this version driver module. now i also want to know the reason of this problem.

 

any body help me please.

标签 (1)
0 项奖励
回复
4 回复数

3,769 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

after swapping, the block is marked as COPY_DOWN in FSL_BlockSwapping function:

pastedImage_1.png

... and then it is erased. The block is then marked as active in  FSL_MainFunction or in FSL_InitEeprom.

I would recommend to download the latest version 1.3.0 which fixes some unrecoverable brownout cases.

http://www.nxp.com/files/run_time_software/device_driver/MPC5xxx_EEE_DRIVER.exe

Regards,

Lukas

0 项奖励
回复

3,769 次查看
liujinhang
Contributor III

could you help me to find the reason why the new block has not been marked valid flag in FSL_BlockSwapping function in EEE_DRIVER version 1.2.0?

0 项奖励
回复

3,769 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

are you able to reproduce the scenario? Could you share some simple project to be able to reproduce the issue? If you test it using version 1.3.0, is it working?

The drivers thoroughly tested before publishing, so I need something to move forward.

Regards,

Lukas

0 项奖励
回复

3,768 次查看
liujinhang
Contributor III

TKS for your response.

发件人: lukaszadrapa

发送时间: 2016年8月30日 15:28

收件人: liu jinhang

主题: Re: - 5744 emulation EE system swap problem

<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg> NXP Community

5744 emulation EE system swap problem

reply from Lukas Zadrapa <https://community.nxp.com/people/lukaszadrapa?et=watches.email.thread> in MPC5xxx - View the full discussion <https://community.nxp.com/message/826934?commentID=826934&et=watches.email.thread#comment-826934>

0 项奖励
回复