about S32K312 write pflash

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

about S32K312 write pflash

Jump to solution
1,402 Views
yaozhong_zhu
Contributor I

RTD5.0版本,通过C40接口写Block0的flash,写入数据后,马上读取,发现偶尔会出现数据和写入的不一致,重启后再读,数据和写入的又会一致,请问怎么排查这个问题?附件为擦写flash的接口

0 Kudos
Reply
1 Solution
1,371 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@yaozhong_zhu

我没有看到你的附件,不过从现象来看,这应该和CACHE有关系,你可以关闭CACHE再进行一些尝试。

View solution in original post

0 Kudos
Reply
1 Reply
1,372 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@yaozhong_zhu

我没有看到你的附件,不过从现象来看,这应该和CACHE有关系,你可以关闭CACHE再进行一些尝试。

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2083696%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3Eabout%20S32K312%20write%20pflash%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2083696%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3ERTD5.0%20version%2C%20write%20Block0%20flash%20through%20C40%20interface%2C%20after%20writing%20data%2C%20read%20immediately%2C%20found%20that%20the%20data%20is%20inconsistent%20with%20the%20written%20data%20occasionally%2C%20restart%20and%20read%20again%2C%20the%20data%20is%20consistent%20with%20the%20written%20data%2C%20how%20to%20troubleshoot%20this%20problem%3F%20Attached%20is%20the%20interface%20for%20erasing%20flash%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2084132%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3ERe%3A%20about%20S32K312%20write%20pflash%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2084132%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%40%3CSPAN%3Eyaozhong_zhu%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20haven't%20seen%20your%20attachment%2C%20but%20judging%20from%20the%20phenomenon%2C%20this%20should%20be%20related%20to%20CACHE.%20You%20can%20turn%20off%20CACHE%20and%20try%20again.%3C%2FP%3E%3C%2FLINGO-BODY%3E