Skip to content
Famicom Dumper/Programmer
C Makefile
Branch: master
Clone or download
Алексей Авдюхин
Алексей Авдюхин Minor fixes
Latest commit 4b546d4 Aug 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
board
board2 A new board2 was exported for production. Nov 23, 2017
bootloader Minor fixes Aug 27, 2018
images Docs and some fixes Apr 18, 2016
schematics Update famicom_dumper.png. Nov 7, 2017
LICENSE Licensed under MIT Apr 22, 2018
Makefile
README.md Fix SpeTial -> SpeCial Jan 6, 2018
comm.c CRC calculation Aug 20, 2017
comm.h CRC calculation Aug 20, 2017
defines.h CRC calculation Aug 20, 2017
dumper.c Minor fixes Aug 27, 2018
famicom-dumper.hex Minor fixes Aug 27, 2018
jtag.c CRC calculation Aug 20, 2017
jtag.h CRC calculation Aug 20, 2017
jtag_commands.h CRC calculation Aug 20, 2017
usart.c CRC calculation Aug 20, 2017
usart.h CRC calculation Aug 20, 2017

README.md

Famicom Dumper/Programmer

Overview

This is simple dumper/programmer for Famicom cartridges.

Dumper

You can use it to:

  • Dump cartridges, so you can play copy of your cartridge on emulator
  • Read/write battery backed saves, so you can continue your saved game on emulator/console
  • Write special cartridges like COOLGIRL
  • Rewrite ultracheap chinese COOLBOY cartridges. Soldering required but it's very simple.
  • Test your cartridges
  • Some reverse engineering
  • Anything else that requires Famicom bus simulation

Schematics and parts list

Schematics

You need:

  • ATMEGA64
  • FT232RL
  • 60-pin edge socket
  • Printed circuit board, you can order one using files it "board" or "board2" folders.
  • Some capacitors
  • Maybe some leds

That's all!

How to compile firmware

All you need is WinAVR. Just type "make hex" in command line to compile firmware or bootloader.

How to build it

You need to flash ATMEGA64 microcontroll using any AVR programmer. It's recommended to program bootloader first, so you can flash/update firmware via USB. I'm using bootloader by Martin Thomas, you can use already configured one in bootloader folder. There are fuses for it:

  • LFUSE = E4
  • HFUSE = DC
  • EFUSE = FF

You can program it using command like "make program PROGRAMMER_TYPE=avrisp2 PROGRAMMER_PORT=usb" from bootloader folder. Don't forget to replace avrisp2 and usb with you programmer type and port.

Connect device to USB and PC will detect it as virtual serial port. First 8 seconds after power up bootloader is active (all leds are on), so you can program main firmware.

You can use command "make program PROGRAMMER_PORT=COM10" to program main firmware. Replace COM10 with port assigned to your dumper (you can use Windows device manager to see it).

Also it's recommended to reprogram FT232 chip using FT_PROG util to change device name to "Famicom Dumper/Programmer", so it can be detected automatically by software.

That's all! You can use it now.

How to use it

Now you need PC-side client to use it: https://github.com/ClusterM/famicom-dumper-client

How to rewrite COOLBOY cartridges

There are ultracheap chinese COOLBOY cartridges like "400 in 1" or "198 in 1". You can buy them on eBay or Aliexpress. And yes, there is flash memory, so you can rewrite it.

But you need to unsolder pins /OE and /WE and connect them to TCK and TDO pins on JTAG connector:

COOLBOY

Don't forget to solder pins back before using cartridge.

You can’t perform that action at this time.