C40_IP Write Flash - Issue in the 2nd time writing in the memory - S32K344

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

C40_IP Write Flash - Issue in the 2nd time writing in the memory - S32K344

1,172 次查看
Salomi
Contributor I

Hello Team,

I am trying to write the data using C40_IP  in the memory address for the second time. It is not writing in the memory , only the previous write data remains in the memory.

Kindly provide me the guidelines to solve this issue.

Thanks in advance

0 项奖励
回复
10 回复数

967 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Have you tried example C40_Ip_Example_S32K344 from latest RTD version?

Erase operation calling return success operation but content is not erased.

Don't you have enabled cache for that area?

 

0 项奖励
回复

951 次查看
Roshani
Contributor II

Hello @davidtosenovjan 

 

I have tried the same approach which you have mentioned. But still, I could not be able to write the 2nd time in memory. Please provide your suggestion.

 

Thanks in advance!

0 项奖励
回复

889 次查看
Roshani
Contributor II

Hello @davidtosenovjan ,

Please provide your suggestions for the issue.

0 项奖励
回复

879 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

My suggestion is to disable the cache (if it's enabled, which you still haven't answered).

0 项奖励
回复

905 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Have you disabled cache how I already asked?

0 项奖励
回复

1,072 次查看
Salomi
Contributor I

Hi @davidtosenovjan 

I have tried with the C40_IP_Example code from NXP community. Please find the attachment for your reference.

0 项奖励
回复

1,002 次查看
Roshani
Contributor II

Hello @davidtosenovjan,

The sector erase is not happening properly for me. Because of that I am unable to write the data 2nd time. Your quick reply will be very much appreciated.

 

Thanks in advance!

 

0 项奖励
回复

1,150 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Have you performed erase operation in between?

0 项奖励
回复

1,111 次查看
Salomi
Contributor I

Hello @davidtosenovjan ,

I have tried with both the option with Erase and Without Erase between write operation.

Thanks

0 项奖励
回复

1,087 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Which example this question is related to?

0 项奖励
回复