DeepSleep bricks XIAO_MG24

OK, I tried it, using the usual cable that connects the PC to the MG24, but it didn’t unbrick my MG24. It wasn’t a sleep problem. The program that bricked the MG24 that runs immediately when it is powered up screws up the clocks. Oh well…

Unless you have used an old library there should still be the “escape hatch” option available on D0.
Hold it low when resetting (or powering) and the app should not run. You can then re-flash.

If that fails, try the reset-recovery script… It should be in this post or the wiki.

What OS are you using?

I have a big problem: following the ‘Getting Started’ page i reached the point regarding the bricking problem by the deep sleep.
My problem is that nothing is working on recovering the device; i’ve tried with the PC0 pulled LOW and adding the code to detect a user switch and enter an infinite loop (DOESN’T WORK); i’ve tried running the zip file ‘flash erase.bat’ (DOESN’T WORK, giving me ‘Error: No flash at address 0x08180000’).
Now if i try to run any code on the Arduino IDE, even a simple blink, i receive this error message: 'Error: [efm32s2.cpu] clearing lockup after double fault
'.
Any idea on a possible solution?

Please try using D1 instead of D0.

Hello, is there also a way to unbrick on Ubuntu? I don’t have Mac or Windows.

Hi there,

and Welcome here…

So the hardware jumper fix is SYSTEM agnostic :grin: :+1:
check out the posts on it, only takes the sequence and a few seconds.

HTH
GL :slight_smile: PJ :v:

Please note that the pin has been changed from D0 to D1 in BSP3.0.0.

Changelog:
Changed the deep sleep escape pin on the XIAO MG24 to PC1 (D1)

2 Likes