- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After I transferred the PF0 program to SRAM to run, then executed [Erase Logical Sector Range] in sequence.
It work well, HF_ERRSR did not report an error, and HF_OPERATION also passed, no busy.
But when I check memory dump by TASKING, it is true that almost all the data is displayed as "0", but there are a few bits that are "1".
I thought it was due to bad memory or unstable current and voltage. So I repeated the test several times and changed the Triboard, but the result remained the same, it could not be erased to "0" in several fixed address.
I took a screenshot of part of it.
[Erase Logical Sector Range] can be that all PF fields become 0, is my understanding wrong?
Thank you for watching.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You cannot directly read PFlash after an "Erase" operation. As you stated you have checked HF_ERRSR
and HF_OPERATION for errors and there were none. If you want to check the erased state of PFlash then you need to use the one of the following commands:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You cannot directly read PFlash after an "Erase" operation. As you stated you have checked HF_ERRSR
and HF_OPERATION for errors and there were none. If you want to check the erased state of PFlash then you need to use the one of the following commands:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your answer, I have learned more about AURIX's ECC and flash command.