navigationGo.pngQuick Navigation
allprojects32.pngAll projects
hardware32.pngHardware
links32.pngLinks

favoriteStar32.pngTop projects
Alan numitron clock
Clapclap 2313/1386
SNES Pi Webserver
USB Volume/USB toys
Smokey amp
Laser cutter
WordClock
ardReveil v3
SNES Arcade cabinet
Game boy projects
cameleon
Home Presence Detector

github32.pngGitHub
AlanFromJapan

navigationMail.pngContact me

alanfjmail.png
3flags.pngWho's Alan?


Akizukidenshi
Elec-lab
Rand Nerd Tut
EEVblog
SpritesMods
AvrFreaks
Gameboy Dev
FLOZz' blog
Switch-science
Sparkfun
Suzusho
Datasheet Lib
Reddit Elec
Ermicro
Carnet du maker (fr)

gameboy homebrew cartridge writer

Last update: Fri Apr 10 13:38:06 2020
So I made a semi-failed Gameboy homebrew cartridge (the modest) that doesn't work as a GB cartridge but works fine as an EEPROM writer. But you need a program on your computer to talk to the board, and send/receive data. This present program.

Presentation

Principle

Just a simple python Serial client that talks at 57.6kbps to the Gameboy homebrew cartridge microcontroller. Wrote it to work with 32kB ROM only, so if you wnat to make it bigger, edit the code. It can download a 32kB ROM in like 20 sec, but writing is longer at about 5 minutes for 32kB.
My suggestion is to write, then download what you wrote and compare to be safe.

Points of interrest

Not much, a simple serial client. I like the progression indicator with the print("\r") trick and the remaining time calculation. Nothing much otherwise.

Implementation

Source code

Runs on Python 3, you'll need to pip3 install pyserial for it to work.

Script is on my GitHub: https://github.com/AlanFromJapan/alanarduinotools/tree/master/Python/GBCartridgeClient
EEPROM programmer at work
All content on this site is shared under the MIT licence (do what u want, don't sue me, hat tip appreciated)
electrogeek.cc ~ Formerly known as Kalshagar.wikispaces.com (AlanFromJapan [2009 - 2020])