Skip to the content
2 layers63.5 × 45.5 mmF ramune avr, the printed circuit board in 3D

F ramune avr

obskyr/f-ramune6

A device for testing and programming FRAM chips! Finally you can be sure that FRAM you bought from China works.

Size
63.5 × 45.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
27
Nets
60
Pads
271
Tracks, vias
780, 73
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
16 Apr 2019
Updated
9 Mar 2021

Overview

F ramune avr is an open-source printed circuit board by obskyr, from the obskyr/f-ramune repository on GitHub. It is a 2-layer board of 63.5 × 45.5 mm with 27 parts on 60 nets, routed with 780 tracks and 73 vias.

It is built around the ATMEGA328P-AU, MCP2221A-I/P and 74HC595, with the IRL520NPBF among its other parts. Its parts include 8 capacitors, 6 resistors, 5 ICs, 2 diodes and 2 connectors. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

4

README

README.md

F-Ramune

F-Ramune

F-Ramune is a device that lets you test and program 28-pin FRAM chips (e.g. the FM1808 family)! It lets you:

  • Test that a chip is genuine FRAM!
  • Test that all of the memory cells of an FRAM chip work!
  • Identify a memory chip (size, non-volatility, etc.)
  • Read from an FRAM chip!
  • Write to an FRAM chip!

It features a reprogrammable pushbutton that lets you quickly test chips – out of the box, it's set to check that a chip is 32 KiB of genuine FRAM in full working order – and a serial interface with accompanying software that lets you program your memory chips from your PC.

I made this to test FM1808s of dubious (i.e. cheap Chinese) origin so that the Game Boy cartridge immortalization mod (link to come) would become more feasible and accessible. I expect that to be the main use of F-Ramune, but it's written in an extensible fashion – if you want to test or program FRAM (or SRAM!) in a different form factor or pinout, not much needs to be changed.

Getting started

Since F-Ramune is a physical device, you'll first need to build that device. Instructions for this can be found in the hardware directory of the repo. At the moment, there's no PCB version, so it's fairly involved – you have to manually route it on stripboard or breadboard – but it's more than doable.

Once you've built the device, you need to upload the firmware to it. For user-friendliness, F-Ramune's firmware is Arduino-based! Open software.ino (in the software directory) in the Arduino IDE, set the board to "Arduino Nano", and click the "upload" button. Bam! Your F-Ramune is now ready to go!

How to test a chip

Put the chip you want to test in the socket. Press the button to test the chip. Out of the box, upon pressing the button, the LEDs will possibly flash back and forth a bit while testing, and finally indicate:

  • Red if the chip is 32 KiB of genuine FRAM.
  • Red and green if the chip is genuine, but faulty memory cells were found.
  • Green if the chip is 32 KiB of genuine FRAM.

The function of the button can be reprogrammed in software.ino, if you'd like to check for other traits.

How to program or analyze a chip

Plug the F-Ramune Arduino into your PC, and put the chip you want to test in the socket. Using the command-line program framune.py (found in the software directory; requires Python 3) , you can read from, write to, and analyze the properties of the chip. Run framune.py --help for details.

Cool!

F-Ramune is just one part of a larger project, and it's fairly niche, so my instructions here are more terse than they usually are. But fear not! If you have any questions, there are any issues, or you just want to talk, you can contact me in the following ways:

For a quick response, writing to me on Twitter is your best bet. If you built F-Ramune, especially, I would love to hear about it!

Enjoy! ☆

Parts

27
QtyValueFootprintReferences
80.1uFf-ramune:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC1, C2, C3, C4, C5, C6, C7, C8
310kΩf-ramune:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR3, R5, R6
2330Ωf-ramune:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR1, R2
274HC595f-ramune:SOIC-16_3.9x9.9mm_P1.27mmU1, U2
1100Ωf-ramune:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR4
116Mhzf-ramune:Crystal_SMD_HC49-SD_HandSolderingY1
1ATmega328P-AUf-ramune:TQFP-32_7x7mm_P0.8mm_HandSolderU4
1FRAM Socket (DIP-28)f-ramune:ZIF_Socket_DIP-28_With_AlternativesU3
1Greenf-ramune:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD2
1IRL520Nf-ramune:TO-220-3_VerticalQ1
1ISP Headerf-ramune:PinHeader_2x03_P2.54mm_VerticalJ1
1LOGOf-ramune:Logo_OpenSourceHWG***
1MCP2221Af-ramune:SOIC-14_3.9x8.7mm_P1.27mmU5
1Redf-ramune:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD1
1SW_Pushf-ramune:SW_Push_1P1T_NO_CK_KSC6xxJSW1
1USB Type-B Portf-ramune:USB_B_OST_USB-B1HSxx_HorizontalJ2

More from obskyr/f-ramune

1
  • 2 layers73.7 × 55.9 mmF ramune arduino, the printed circuit board in 3D

    F ramune arduino

    obskyr/f-ramune

    A device for testing and programming FRAM chips! Finally you can be sure that FRAM you bought from China works.

    15 parts6

Similar boards

  • 2 layers65 × 65 mmLed strip controller, the printed circuit board in 3D

    Led strip controller

    inventor02/led-strip-controller

    Pi Pico/RP2040-based 12V DC LED strip controller

    21 parts
  • 2 layers106.9 × 42.2 mmFume ex, the printed circuit board in 3D

    Fume ex

    t2ofaced/Fume-ex

    Fume extractor

    56 partsMIT
  • 2 layers49.5 × 49.5 mmAtmega gpib, the printed circuit board in 3D

    Atmega gpib

    cellularmitosis/atmega-gpib

    An ATmega-based GPIB-to-USB adapter board.

    24 parts16MIT
  • 2 layers74.9 × 89.2 mmPictas, the printed circuit board in 3D

    Pictas

    bigbass1997/PICTAS

    Low-cost replay device for playing back Tool Assisted Speedruns on real hardware

    37 parts9
  • 2 layers44.1 × 82.7 mmRemote64-controller, the printed circuit board in 3D

    Remote64-controller

    bigbass1997/remote64

    Provides a method for N64 homebrew developers to test their roms on remote hardware

    20 parts4
  • 2 layers39.4 × 20.3 mmPsense, the printed circuit board in 3D

    Psense

    noahp/psense

    🔌 Basic USB interfaced power sensor

    25 parts3
  • 4 layers100 × 100 mmSimple010-16, the printed circuit board in 3D

    Simple010-16

    harrowm/Simple010

    68010 SBC using a ATF1608 CPLD based on teh rosco_m68k SBC

    75 parts1MIT

Questions

How big is the F ramune avr PCB?

It measures 63.5 × 45.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the F ramune avr use?

27 parts, built around the ATMEGA328P-AU, MCP2221A-I/P, 74HC595 and IRL520NPBF. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the F ramune avr KiCad files?

From the obskyr/f-ramune repository on GitHub, at the commit this page was made from: the board is hardware/pcb_avr/f-ramune_avr.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the F ramune avr design in my own project?

Its repository states no licence, so its author keeps all rights: ask obskyr before reusing the design.