Intel 8048 - Reading the ROM for Duplication

groinksan

13 Jul 2018, 08:08

Aloha!

I have a keyboard that uses the Intel 8048 as the keyboard encoder. There are no ROMs, PROMs or the like on the keyboard's PCB, so I have to assume that the 8048's 1K x 8 internal ROM contains the code for the encoder.

I want to duplicate this keyboard using new hardware. As part of the process, I need to read the 8048's ROM. I've never fiddled with this CPU before. I do have EPROM programmers like the TL866CS and SP300. Can I use one of these to read the 8048? Or, what reader will allow me to do this?

groinksan

13 Jul 2018, 08:34

One thing I forgot to mention... I just need to read the 8048. I don't need a write solution. I intend to use an external EPROM when re-designing my keyboard design, and will program the code into it.

Arakula

13 Jul 2018, 14:44

EPROM programmers normally have a device compatibility list. Have you checked?

groinksan

13 Jul 2018, 17:38

Checked both of mine - 8048 not listed in either of them. Are there other part #s for the 8048?

Engicoder

13 Jul 2018, 18:16

It might be listed under MCS-48 which is the family of microcontrollers or 8748 which is the programmable version of the 8048.

User avatar
JP!

13 Jul 2018, 19:12

Perhaps something like this one: https://www.ebay.com/itm/EPROM-Programm ... 1438.l2649

You would need a system with a parallel port though.

User avatar
OleVoip

13 Jul 2018, 20:35

The 8048 wasn't programmable; hence, it doesn't show up in compatibility lists. The ROM bits were hardwired - created by photolithography along with the other transistors on the chip.
However, the 8048 can be read. This project describes how this can be done with very little hardware (+5V plus +12V power supply, 4 MHz quarz, two 22nF, pull-up resistors). The algorithm is quite simple: pull /RESET to 0V, put the address on data bus (lower 8 bits) and port 2 (upper bits), release /RESET to +5V, which latches the address, then read the ROM byte for that address from the data bus (cf. MSC-48 User's Manual, page 2-19).
I'd suggest doing this with a teensy++, since then you can spare the inverter circuit and use its 8-bit ports for an easy interface to the 8048. (For that reason, I'm using the Teensy++ as an 8048 replacement.)

groinksan

13 Jul 2018, 20:40

The Willem device looks like a winner! I'm running Windows 10 64-bit with a laptop that has a docking station/parallel printer port. I also have a Windows XP laptop with parallel port, so at worst I have the XP computer.

As for the MCS-48, neither of my programmers list that part.

The read-only project - I'll read through that, yes, I only need to read the ROM inside. The 8048 has an EA pin I can use force it to use an external EPROM.

Post Reply

Return to “Keyboards”