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

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

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

1,170 Views
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 Kudos
Reply
10 Replies

965 Views
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 Kudos
Reply

949 Views
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 Kudos
Reply

887 Views
Roshani
Contributor II

Hello @davidtosenovjan ,

Please provide your suggestions for the issue.

0 Kudos
Reply

877 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

903 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Have you disabled cache how I already asked?

0 Kudos
Reply

1,070 Views
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 Kudos
Reply

1,000 Views
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 Kudos
Reply

1,148 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Have you performed erase operation in between?

0 Kudos
Reply

1,109 Views
Salomi
Contributor I

Hello @davidtosenovjan ,

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

Thanks

0 Kudos
Reply

1,085 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Which example this question is related to?

0 Kudos
Reply