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,151件の閲覧回数
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 返答(返信)

946件の閲覧回数
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 件の賞賛
返信

930件の閲覧回数
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 件の賞賛
返信

868件の閲覧回数
Roshani
Contributor II

Hello @davidtosenovjan ,

Please provide your suggestions for the issue.

0 件の賞賛
返信

858件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

884件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Have you disabled cache how I already asked?

0 件の賞賛
返信

1,051件の閲覧回数
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 件の賞賛
返信

981件の閲覧回数
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,129件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Have you performed erase operation in between?

0 件の賞賛
返信

1,090件の閲覧回数
Salomi
Contributor I

Hello @davidtosenovjan ,

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

Thanks

0 件の賞賛
返信

1,066件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Which example this question is related to?

0 件の賞賛
返信