Board  shut down

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

There is a CySoftwareReset() API which will restart and re-initialize the PSoC. See "System Reference Guide" from Creator Help menu.

   

 

   

Bob

View solution in original post

0 Likes
2 Replies
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

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.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

There is a CySoftwareReset() API which will restart and re-initialize the PSoC. See "System Reference Guide" from Creator Help menu.

   

 

   

Bob

0 Likes