9 Commits

Author SHA1 Message Date
James Ide
2edf360b9e Add support for CMSIS-DAP debuggers
OpenOCD 0.11.0 and up works with CMSIS-DAP debuggers like the Raspberry Pi Debug Probe/Pico Probe and the Flipper Zero.

The Flipper Zero has an installable DAP Link app (through the companion mobile app) that supports SWD. The pinouts are straightforward: the DAP Link app tells you which GPIO pins are SWDCLK and SWDIO, respectively, and of course GND is GND.

Tested all five steps with OpenOCD 0.12.0 on macOS and Flipper Zero firmware 0.88.0. An example step looks like: `./2_backup_flash.sh cmsis-dap mario`. The G&W plays fine after all steps. Also tested with a Picoprobe.

(Also fixed two typos in the main README that are unrelated to this PR but very small.)
2023-08-31 21:14:44 +02:00
Benjamin Sølberg
7f402f4c6f LARGE_FLASH check now more explicit 2023-08-22 21:14:29 +02:00
Benjamin Sølberg
64cd24396d Added support for large SPI flashes when restoring.
Added a device reset upon restore success.
Updated README.md to reflect the changes.
2023-08-22 21:14:29 +02:00
Konrad Beckmann
441d74b5d8 Add support for the Zelda variant 2021-11-14 22:48:07 +01:00
al3x10m
4f8041cf5d support for raspberry pi 2020-12-29 12:09:17 +01:00
Thomas Roth
c667842991 Reduce default adapter speed. 2020-12-13 21:14:26 +01:00
Thomas Roth
8cff3e3e1b Halt in flashdumper 2020-11-29 12:54:59 +01:00
Thomas Roth
34842b6144 Changes to make unlock and restore more stable 2020-11-29 12:16:36 +01:00
Thomas Roth
4a4ffaed18 Init 2020-11-29 11:58:55 +01:00