- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I'm using actually PSOC4 CYBL10573
I integrate a self flash test which verify the CRC value of flash periodically.and want to find a solution force the board shut down immediately in case of a wrong CRC Check of flash. My question if there is some registers which could configure the microcontroller to shut down
Best regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a CySoftwareReset() API which will restart and re-initialize the PSoC. See "System Reference Guide" from Creator Help menu.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can just execute an empty endless loop in that case, or execute a software reset (by jumping to the start of main()).
A hardware solution would be to add a load switch and disconnect power in that case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a CySoftwareReset() API which will restart and re-initialize the PSoC. See "System Reference Guide" from Creator Help menu.
Bob