How to generate Flash ECC error ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-26 2:06 AM
I wanted to test Error Correction code (ECC) for the flash memory (for both data flash and code flash) and was looking out for a way to generate these error. In the Reference manual (SPC560P40L3 micro), ECC Error Generation Register (EEGR) is given, but its mentioned for RAM error generation, is there any way we could also generate error for flash memory also??
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-28 2:16 AM
Hello Burhanuddin ,
there is an example on SPC5Studio 5.8.1
SPC560Bxx_RLA ECC Test Application for Discovery
Best regards
Erwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-26 3:47 AM
I don't know about the SPC, but for the ECC protected STM32, a second write with a schanged pattern with more programmed bit to already programmed flash will provoke an ECC error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-26 8:00 PM
Do you mean I should perform a second write operation without performing an erase operation to that location with some different value??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-28 1:52 AM
Hello All,
Is there some manual / Document where i can get more information about ECC handling and some test code through which i can verify ECC Error Scenario any help on the same is appreciated.
Thanks and Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-28 2:16 AM
Hello Burhanuddin ,
there is an example on SPC5Studio 5.8.1
SPC560Bxx_RLA ECC Test Application for Discovery
Best regards
Erwan
