掌機 - Game & Watch: Super Mario Bros. - Unlock Device



參考資料:
https://github.com/ghidraninja/game-and-watch-backup

步驟如下:
1. 連接ST-LINK V2燒錄器到SWD腳位
2. 執行如下命令

$ cd
$ git clone https://github.com/ghidraninja/game-and-watch-backup
$ cd game-and-watch-backup
$ openocd -f openocd/interface_stlink.cfg -c "init; halt;" -f openocd/rdp0.cfg -c"exit;"
    Open On-Chip Debugger 0.11.0-rc1+dev-00010-gc69b4deae-dirty (2020-12-27-01:20)
    Licensed under GNU GPL v2
    For bug reports, read
      http://openocd.org/doc/doxygen/bugs.html
    Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
    none separate

    Info : clock speed 1800 kHz
    Info : STLINK V2J17S4 (API v2) VID:PID 0483:3748
    Info : Target voltage: 3.199479
    Info : stm32h7x.cpu0: hardware has 8 breakpoints, 4 watchpoints
    Info : starting gdb server for stm32h7x.cpu0 on 3333
    Info : Listening on port 3333 for gdb connections
    target halted due to debug-request, current mode: Thread 
    xPSR: 0x41000000 pc: 0x24010ef0 msp: 0x2001fec0
    Reset and halt