eeprom programmer

 Wanted to be able to program 28C64s and 28C256s because they looked easy and cheapish for up and coming boards, eg 1802, 6502.

Was learning Vim at the time and was quite slow at getting code into Arduino IDE via Vim edit page. Also got preoccupied with tweaks and tips. Today, finally got Uno system to program clunky breadboards to read in 5 bytes and program them and verify via terminal. Here's the pic:

(NB, numbers seem to be one off. Was expecting 65,66,67... but got 66,67,..Will sort it out.


Here's the breadboard lashup:


The schematic isn't all in one place, so that will be the next job.

The main idea is to use the I2C bus of the Arduino to drive the two MCP23008s which have 8 I/O pins each. These, in turn, connect to the 28C64's I/O, and to the 4040 which generates 12 address lines and the control lines: CE*,OE* and WE*. The 28C64 was used because there were some already ordered from AliExpress and the MCP23008s were used because they were available at the local Jaycar store.

The Uno program used is: C:\Users\Dell\Documents\Arduino\Working2023_01\vimMCP93\vimMCP93.ino

https://pastebin.com/k6LVxJ1b

To Do: Fix one-off error above. (NB. Put in sprinf() into next version (...94) and it now seems to work OK. Not sure what problem was but it's reporting faithfully. See pic below:) 



To do continued:

    1. schematic made
    2. schematic into EasyEda
    3. Some boards made and retested
    4. Works for 28c256?
    5. Send reliable binary file from output of 1802asm via PySerial.
Final version: C:\Users\Dell\Documents\Arduino\Working2023_01\vimMCP95\vimMCP95.ino
below:


Next: work on schematic and pcb layout to send to China. While waiting for that do some more Python to Uno byte-buffer sending.

Comments

Popular posts from this blog

Spud sensor update 3 August 2022

WEMOs mini going