This is the host side of my Game Boy reader/writer.
- gb-rw-firm: Firmware part of the program (also written in Rust!).
- gb-cart-nucleo-shield: PCB design to beused on top of a STM32 Nucleo compatible development board.
- Reading zipped ROM files to write
- GB
- Reading ROM
- Reading/Writing SRAM
- Flashing ROM on flash Chinese cartridges
- GBA
- Reading ROM
- Flashing ROM on flash Chinese cartridges
You can read more about how reprogramming Game Boy Chinese cartridge works in my blog post:
This program also uses my uRPC
library
(client side) to communicate with the microcontroller via UART.
Main subcommands
Gameboy cartridge read/writer
USAGE:
gb-rw-host [FLAGS] [OPTIONS] [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-n, --no-reset Don't reset the development board
-V, --version Prints version information
OPTIONS:
-b, --baud <RATE> Set the baud rate [default: 1500000]
-d, --board <BOARD> Set the development board: generic, st [default: st]
-s, --serial <DEVICE> Set the serial device [default: /dev/ttyACM0]
SUBCOMMANDS:
debug Device debug functions
gb Gameboy functions
gba Gameboy Advance functions
help Prints this message or the help of the given subcommand(s)
Gameboy subcommands
Gameboy functions
USAGE:
gb-rw-host gb [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
erase erase Gameboy Flash ROM
flash-info Gameboy Flash chip info
help Prints this message or the help of the given subcommand(s)
read read Gameboy ROM test
read-ram read Gameboy RAM
read-rom read Gameboy ROM
write-ram write Gameboy RAM
write-rom write Gameboy Flash ROM
Gameboy Advance subcommands
Gameboy Advance functions
USAGE:
gb-rw-host gba [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
help Prints this message or the help of the given subcommand(s)
read-rom read Gameboy Advance ROM
write-rom write Gameboy Advance ROM
The code is released under the 3-clause BSD License.