This is the microcontroller side of my Game Boy reader/writer.
The code is written in C and uses the libopencm3 library to control the STM32F4. I have used a NUCLEO-F411RE, but other STM32 microcontroller should work too.
Supported commands are:
- Reading ROM
- Reading/Writing SRAM
- Writing ROM on flash Chinese cartridges
cd src
make gb-rw.stlink-flash
openocd
arm-none-eabi-gdb gb-rw.elf
target extended-remote :3333
c
You can read more about how reprogramming Game Boy Chinese cartridge works in my blog post:
The code is released under the 3-clause BSD License.