Aug 04, 2021
12:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 04, 2021
12:58 AM
I am currently programming a bootloader for a tc22x. If the download runs without interruption, everything is as expected. If the download is interrupted, the tc22x ends up in an error when it is restarted.
The Flash Status Register Flash0_FSR shows an uncorrectable 3 bit error (PFMBER) after startup. The BootLoader is not started.
- Does anyone know anything about this problem?
- How can I check the flash before rebooting?
- How can I correct the flash before rebooting?
Thank you for your support.
The Flash Status Register Flash0_FSR shows an uncorrectable 3 bit error (PFMBER) after startup. The BootLoader is not started.
- Does anyone know anything about this problem?
- How can I check the flash before rebooting?
- How can I correct the flash before rebooting?
Thank you for your support.
Solved! Go to Solution.
1 Solution
Aug 05, 2021
12:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 05, 2021
12:33 AM
Hi,
The data written into the Flash is ECC protected, so if a Flash write has been interrupted, the ECC is most likely incorrect, which is giving you the multi-bit error. To check that the Flash write/download worked correctly, you could read the contents of the Flash you have just written to check that the contents match. If they do, and no error is reported, the contents are ok and you can do the reboot. If there was an interruption, then you can erase the logical sector that was corrupted and reprogram from that point onwards.
Cheers,
Darren
The data written into the Flash is ECC protected, so if a Flash write has been interrupted, the ECC is most likely incorrect, which is giving you the multi-bit error. To check that the Flash write/download worked correctly, you could read the contents of the Flash you have just written to check that the contents match. If they do, and no error is reported, the contents are ok and you can do the reboot. If there was an interruption, then you can erase the logical sector that was corrupted and reprogram from that point onwards.
Cheers,
Darren
2 Replies
Aug 05, 2021
12:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 05, 2021
12:33 AM
Hi,
The data written into the Flash is ECC protected, so if a Flash write has been interrupted, the ECC is most likely incorrect, which is giving you the multi-bit error. To check that the Flash write/download worked correctly, you could read the contents of the Flash you have just written to check that the contents match. If they do, and no error is reported, the contents are ok and you can do the reboot. If there was an interruption, then you can erase the logical sector that was corrupted and reprogram from that point onwards.
Cheers,
Darren
The data written into the Flash is ECC protected, so if a Flash write has been interrupted, the ECC is most likely incorrect, which is giving you the multi-bit error. To check that the Flash write/download worked correctly, you could read the contents of the Flash you have just written to check that the contents match. If they do, and no error is reported, the contents are ok and you can do the reboot. If there was an interruption, then you can erase the logical sector that was corrupted and reprogram from that point onwards.
Cheers,
Darren
Aug 05, 2021
02:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 05, 2021
02:37 AM
Hallo Darren,
thank you for your reply.
I am already checking the flash written with the data received, but I am not deleting the flash sector.
I will test it and hope if that solves my problem.
Have a nice day
treak
thank you for your reply.
I am already checking the flash written with the data received, but I am not deleting the flash sector.
I will test it and hope if that solves my problem.
Have a nice day
treak
This widget could not be displayed.