Coder Social home page Coder Social logo

emuprom's Introduction

emuprom

DIY ATmega8 based 27C256 EPROM emulator. Human accessible UART interface (19200N1, CH340 on USB C).

Revision D has been verified and it is working as intended (working both with TL866 EPROM programer and FellaPC computer).

Target connection

Via ribbon cable with DIP-28 adapter. Uses 40 pin IDC connector, but only 28 pins are used. Target power state detection is supported (external bus is resistant to the target high-z bus state).

Crude cable schematic, top view (should be enough to be able to make this cable):

Sanity check - EPROM GND (pin #14) should be on the one before last wire (bottom of the picture).

UART interface

Available via USB C UART port, 19200 baud, no parity, 1 stop bit. Interface is human friendly, but also easy to script. Available commands:

  • ? - help
  • ! - claim bus, memory edit, assert /RST
  • . - release bus, deassert /RST
  • @ - set address mode
  • # - set data mode
  • = - dump 256 bytes @addres
  • t - memory test
  • + - echo on
  • - echo off
  • m - calculate md5 sum
  • s - clear memory (all 0xff)
  • r - reset target (pulse /RST)

Example sequence with comments:

  • - echo disable,
  • ! - claims the bus,
  • @0000 - sets address to zero,
  • # - selects data mode,
  • 0102030405060708 - 8 bytes are written at address 0,
  • . - release the bus and start the target,
  • + - enable echo.

Or all at once: -!@0000#0102030405060708.+

Uploading FW

avr-gcc, avr-libc and avrdude are needed.

  • make (build FW),
  • make fuse (set fuses to set internal RC @8MHz),
  • make install (upload FW).

Pictures

This is a picture of revision D. Note the recommended heat shrink sleeve, to prevent accidental short circuits.

emuprom's People

Contributors

agkaminski avatar

Stargazers

ALEXANDER SIDORENKO avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.