Author Topic: reading an old EPROM with an UNO?  (Read 5158 times)

0 Members and 1 Guest are viewing this topic.

Offline dentakuTopic starter

  • Frequent Contributor
  • **
  • Posts: 881
  • Country: ca
reading an old EPROM with an UNO?
« on: May 02, 2016, 01:26:18 am »
I was looking at the EPROM from an old Mitsubishi F-20MS Programmable Controller which is a 24pin MB8516 (NTE Equivalent NTE2716). I have no use for it but just for educational purposes I wondered about how you can dump the data from one of these chips without a special reader.
I was looking at this article http://www.nycresistor.com/2012/07/07/stick-a-straw-in-its-brain-and-suck-how-to-read-a-rom/ and see how using a plain old Arduino UNO you would run out of IOs considering this chip has 11 address pins and 8 data pins.

If you simply wanted to dump everything from a chip like this, couldn't you just connect something like a 4020B or 4040B counter to the address pins and save lots of pins on the Arduino? I'm assuming if you actually wanted to read just certain addresses you could use shift registers instead to save pins on the UNO.

I guess I could also go as far as then using a 74165 PISO shift register to read the 8 data pins if I wanted but an UNO has more than 8 digital IO pins anyway.
 

Offline helius

  • Super Contributor
  • ***
  • Posts: 3642
  • Country: us
Re: reading an old EPROM with an UNO?
« Reply #1 on: May 02, 2016, 01:36:11 am »
There are many EPROM programmers that can read a device like that.
The chips that are really difficult to read/program are the bipolar proms like 82Sxxx and first-generation eproms like intel 2704. They need both positive and negative 12V rails, which are not found in that many modern programmers.
 

Offline Ian.M

  • Super Contributor
  • ***
  • Posts: 12860
Re: reading an old EPROM with an UNO?
« Reply #2 on: May 02, 2016, 01:47:27 am »
The easy way to interface byte wide memory to a microcontroller is to use two 74HC373 octal latch chips to latch the address off an 8 bit data bus.  You need two additional MCU pins to control the latches.  You simply output the two address bytes on the data bus from your MCU port, and latch each of them in turn.  Finally you put the MCU port in input mode, enable the EPROM and read back the latched location.    You therefore need 11 I/O pins, one for each latch + the EPROM OE and eight for the data bus. 
 

Offline SL4P

  • Super Contributor
  • ***
  • Posts: 2318
  • Country: au
  • There's more value if you figure it out yourself!
Re: reading an old EPROM with an UNO?
« Reply #3 on: May 02, 2016, 02:03:54 am »
Yes. you could do it with the address counters - then wait a moment for it all to settle, then read the data byte. 

This solution is sequential only, but for your EPROM exploration - is good enough.
(Note only one 'E' !)

Using address latches etc, is really only needed of you need to access the memory locations randomly (as used during program operation).

The voltages needed for your particular chip need to be determined from the datasheet - it may be 5V only (for read operations), or a mix of 5 & 12V for other operations, or older chips.
Don't ask a question if you aren't willing to listen to the answer.
 

Offline dentakuTopic starter

  • Frequent Contributor
  • **
  • Posts: 881
  • Country: ca
Re: reading an old EPROM with an UNO?
« Reply #4 on: May 02, 2016, 09:57:41 pm »
Yes. you could do it with the address counters - then wait a moment for it all to settle, then read the data byte. 

This solution is sequential only, but for your EPROM exploration - is good enough.
(Note only one 'E' !)

Using address latches etc, is really only needed of you need to access the memory locations randomly (as used during program operation).

The voltages needed for your particular chip need to be determined from the datasheet - it may be 5V only (for read operations), or a mix of 5 & 12V for other operations, or older chips.

Luckily it seems to be a 5V part if I'm reading the datasheet correctly (VCC, VPPL Typ. 5.0V). Programming seems to require 25V (VPPH Typ. 25V) but I'm not looking to program it.
http://www.nteinc.com/specs/2700to2799/pdf/nte2716.pdf which seems to be the same as my MB8516.
 

Offline retrolefty

  • Super Contributor
  • ***
  • Posts: 1648
  • Country: us
  • measurement changes behavior
Re: reading an old EPROM with an UNO?
« Reply #5 on: May 03, 2016, 12:05:09 am »
With Asian mega2560 boards available for under $10 I would use a no (or very little) external parts required approach.

 

Offline dentakuTopic starter

  • Frequent Contributor
  • **
  • Posts: 881
  • Country: ca
Re: reading an old EPROM with an UNO?
« Reply #6 on: May 03, 2016, 11:01:50 pm »
With Asian mega2560 boards available for under $10 I would use a no (or very little) external parts required approach.

Yup, I've kind of wanted one for a while now because it could come in handy.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf