58 Commits

Author SHA1 Message Date
James Ide
3a7826c52b Fix Markdown link in README
The Markdown link was not rendered correctly in the section about installing the DAP Link app on a Flipper Zero. Adding a newline between the `<summary>` and the expanded text fixes this.

Verified by checking the before and after versions of the formatted README in this PR. GitHub shows a preview of both.
2023-09-10 12:19:42 +02:00
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
viral_dna
c1bddaf86f Corrected URL of link to clone (#32)
Link now correctly points to https://github.com/ghidraninja/game-and-watch-backup
2023-03-12 15:54:41 +01:00
viral_dna
f6b40091a9 Clarified that users must run 5_restore.sh after step 4 or their device will be inoperable. (#30)
* Added missing dependencies required by openocd

Nightly build of openocd depends on libftdi1-2 and libhidapi-hidraw0

* Update README.md

* Update README.md

* Update README.md

* Update 4_unlock_device.sh

Updated the script to make it clear users must run 5_restore.sh
2023-02-17 11:43:47 +01:00
Konrad Beckmann
7d99781f90 step 3: Tell users to press and hold the button
It should not be needed in normal cases, but it doesn't
hurt to do. It is needed in some cases, when the external
flash has been corrupted.
2022-05-17 17:22:35 +02:00
Konrad Beckmann
5a90788fcd step 3: Verify ITCM again in step 3
It is already verified in step 2. However, it is possible
that users change the files for some reason, and this makes
sure that everything is in order.
2022-05-17 17:22:35 +02:00
Konrad Beckmann
441d74b5d8 Add support for the Zelda variant 2021-11-14 22:48:07 +01:00
Thomas Roth
72d2aa74c7 Merge pull request #26 from DNA64/patch-2
Update README.md
2021-08-09 12:30:38 +02:00
viral_dna
4ba9ecc1ae Update README.md
Added missing libraries required for installing the nightly build of openocd to the command line string of the Ubuntu setup portion of the guide.
2021-07-07 22:35:45 -07:00
viral_dna
77376d2e67 Update README.md
Changed to prevent installing duplicate outdated GNU Arm Embedded Toolchain. Use xPack or Nightly.
2021-06-08 08:12:44 +02:00
Konrad Beckmann
013626e9c3 payload: Add information about how to compile 2021-05-25 08:20:28 +02:00
Yukai Li
3ea8edb5d8 Update payload 2021-05-25 08:11:15 +02:00
Yukai Li
6adff1ea54 Ignore logs 2021-05-25 08:11:15 +02:00
timschuerewegen
68c22425dd Turn on backlight in payload 2021-05-25 08:11:15 +02:00
timschuerewegen
905ed60d44 Import Tim's version 2021-05-25 08:11:15 +02:00
Konrad Beckmann
e1143f9e5b Check hash in step 3
This prevents people from using a broken dump from step 2
which would otherwise have corrupted the external flash,
with no way to recover.
2021-03-27 17:32:04 +01:00
Thomas Roth
9fff5d6148 Merge pull request #20 from ismouton/fix-typo
Put prompts in more standard format
2021-01-01 23:56:42 +01:00
Shane Mouton
11b6cdd9e7 Update prompts to standard y/N format. 2021-01-01 17:21:28 -05:00
al3x10m
718ff9c1a4 updated readme and scripts usage 2020-12-29 12:09:17 +01:00
al3x10m
4f8041cf5d support for raspberry pi 2020-12-29 12:09:17 +01:00
Thomas Roth
f47de1ddcc Update README.md 2020-12-14 22:18:36 +01:00
Thomas Roth
c667842991 Reduce default adapter speed. 2020-12-13 21:14:26 +01:00
Thomas Roth
4f945daa4d Revert accidentally pushed change 2020-12-12 18:48:34 +01:00
Thomas Roth
5d63afccb0 Correctly detect when OpenOCD was not found. 2020-12-12 18:42:42 +01:00
Konrad Beckmann
85a118119a Update README.md, inform about battery 2020-12-10 20:55:29 +01:00
Thomas Roth
9faf5f3bb6 Update README.md 2020-12-10 11:06:47 +01:00
Thomas Roth
37015682c1 Revert "Update install_pwnadventure.sh"
This reverts commit a723e972d4.
2020-12-08 14:16:22 +01:00
Thomas Roth
a723e972d4 Update install_pwnadventure.sh 2020-12-08 13:42:29 +01:00
viral_dna
ec07514ff1 Fixed some typos and made changes to required tools (#14)
Added "libftdi1" to required tools as it's required by some builds before installing the nightly openocd-git build.
2020-12-08 10:07:59 +01:00
Thomas Roth
fb675c90ec Update README.md 2020-12-07 21:43:05 +01:00
Thomas Roth
3552a5aa8e Update README.md 2020-12-05 12:56:42 +01:00
Steve Clement
fc93390b3e chg: [doc] Added link to hacking wiki (#13) 2020-12-04 08:14:55 +01:00
Steve Clement
0f0795755d fix: [doc] Updated discord link (#12) 2020-12-03 10:15:59 +01:00
Steve Clement
7f3627bd73 chg: [doc] More details on discord channels 2020-12-02 12:36:04 +01:00
Steve Clement
56d2793575 chg: [doc] Added alt-openocd location envVar note. Initial discord support pointer. 2020-12-02 12:36:04 +01:00
Konrad Beckmann
cafca62e14 readme: Inform about openocd version requirements 2020-12-02 09:37:51 +01:00
Konrad Beckmann
3d977868e3 Use OPENOCD env var to check version 2020-12-02 09:24:25 +01:00
Steve Clement
62d81e943d new: [config] Added config.sh file 2020-12-02 09:12:39 +01:00
Thomas Roth
5304a154ba Update README.md 2020-12-01 12:41:14 +01:00
z3bu
02f498f84d Remove bc dependency 2020-11-30 23:08:31 +01:00
NotWearingPants
46e5a861aa fix typo in 2_backup_flash.sh 2020-11-30 19:05:37 +01:00
Thomas Roth
0590fdd4e7 README.md: Add Mac instructions 2020-11-30 15:52:48 +01:00
Thomas Roth
8193c70e95 README.md: Add more recovery instructions 2020-11-30 13:40:32 +01:00
Thomas Roth
a63a5503e3 README.md: Add more recovery instructions 2020-11-30 13:40:07 +01:00
Thomas Roth
ed72a6bd5d README.md: Remove wrong package (See #1) 2020-11-30 13:35:20 +01:00
Thomas Roth
67e8c9cf90 Add prebuilt 2020-11-29 19:30:27 +01:00
Thomas Roth
9ca112d5ab Update README.md 2020-11-29 13:31:58 +01:00
Thomas Roth
b34487de4f Update README.md 2020-11-29 13:23:58 +01:00