Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 10238

SDK • Re: How to reboot the Pico W into disk mode from my code?

$
0
0
...
This leaves the question how to catch CPU exceptions etc, and force a reboot into that mode from code.
You could set up a hard fault handler. See crash.h and crash.c for a (somewhat messy) Pico example.

Statistics: Posted by carlk3 — Fri Jul 26, 2024 4:20 pm



Viewing all articles
Browse latest Browse all 10238

Trending Articles