An Intel 8085 Microprocessor Trainer

The Intel 8085 microprocessor was introduced 40 years back, and along with its contemporaries — the Z80 and the 6502 — is pretty much a dinosaur in terms of microprocessor history. But that doesn’t stop it from still being included in the syllabus for computer engineering students in many parts of the world. The reason why a 40 year old microprocessor is still covered in computer architecture text books instead of computer history is a bit convoluted. But there’s a whole industry that thrives on the requirements of college laboratories and students requiring “8085 Microprocessor Training Kits”. [TisteAndii] just finished college in Nigeria, where these kits are not locally built and need to be imported, usually costing well over a 100 dollars.

Which is why his final year project was a low cost Intel 8085 Microprocessor Trainer. It’s a minimalist design with some basic read/write memory, program execution and register inspection, with no provision for single stepping or interrupts yet. The monitor program isn’t loaded in an EEPROM. Instead, a PIC18 is used and connected to the 8085 address, data and control pins. This makes it easier to write a monitor program in C instead of assembly. And allows use of a 1.8″ LCD with SPI interface instead of the more usual 7-segment displays used for these kind of kits. [TisteAndii] built a 6×4 keyboard for input, but couldn’t solve debounce issues and finally settled on a 5×4 membrane keypad.

Being a rookie, he ended up with a major flaw in his board layout — he missed connecting the SRAM and the PPI devices to the data bus. A bunch of jumper links seemed to solve the issue, but it wasn’t perfect. This, and a few other problems gave him a lot of grief, but towards the end, it all worked, almost. Most importantly, his BoM cost of about $35 makes it significantly cheaper compared to the commercial units available in Nigeria.

While some hackers may consider this a trivial project, it solves a local problem and we hope the next iteration of the design improves the kit and makes it more accessible.

37 thoughts on “An Intel 8085 Microprocessor Trainer

  1. I’m not at all surprised that half the traces were missing because he is working from a graphical net list instead of a schematic.

    What’s being taught today. I see these graphical net lists being called schematics all the time now.

    Anyway excellent project. I went to see the “schematic” only to find a graphical net list that gives me no visualisation of the circuit.

    1. And even the layout itself has “slight deficits”. Right angles, very small power traces, unnecessary long traces…. And yes, the schematic would be nicer with busses. 3/10 for the effort.

      1. Ratsnest was pretty daunting for me. Got desperate enough that I used the auto-router for practically all the routing. I’d have probably noticed the omitted chips if I’d done the routing myself. Yes, buses would have been neater. I actually started with them but I decided the effort wasn’t worth it especially when I had more urgent stuff to worry about, like actually getting the thing to work. Of all the things I wish I’d had enough of, time tops the list easily.

    2. Well, based on what I was taught that graphical netlist IS a schematic, just a really bad one. I really hate the over use of ports like that, but I can’t argue against the efficiency. 5 minutes to slap those port labels on there, versus 2 hours drawing out all the individual lines.

        1. I wasn’t sure if Eagle had busses.

          I use Altium, and I try to avoid busses when I can because of the requirements on net naming, and how they clash with company standards.

    3. Thanks. The graphical netlist you’re referring to is the .sch file, right? I thought I’d uploaded everything relevant; even with a PNG of the schematic. What sort of schematic is expected?

      1. I was referring to schem.png

        The question I was really asking is “What sort of schematic is expected now days?”

        I am older and I am used to full schematic diagrams that are even useful for repair/servicing. Now it seems that we are in such a “throw away” society that repair is no longer considered.

        1. I used Eagle for the project and I uploaded the .sch and .brd files. I uploaded the PNG so anyone can get an idea of the circuit diagram without needing Eagle. Unless there’s some other file that would provide a more complete description of the schematic? You referring to a SPICE netlist?

          1. @SebiR Yeah, I replied earlier about that. I’m a bit confused about his reference to a “graphical netlist” and how it’s different from a schematic. If there’s any additional info I can upload to the repo to make it more complete, then I’d like to do so.

          2. The documentation and the schematic and everything are complete and great. This sort of schematic is just a bit confusing for service. You can’t see at a glance where all the connections go. You have to have the schematic in EAGLE to highlight the connections. When you print it, it becomes quite confusing ;) So, don’t worry, your project and the documentation are great :)

      1. What I don’t really like about the Z80 is the complex timing.

        Wasn’t there one of these older CPU’s that had a more modern single-cycle (instructions) clone ???

        I am making a Z80 project and I would love to though single-cycle CPU in there and see how it goes.

        80C50 – 50C85 or something like that. I think it was microchip.

        1. Huh, so am I my friend!
          A few things to keep in mind. Only the CMOS Z80’s (z84c00xx) can be static clocked.
          Not the standard NMOS z8400. Also, the z80’s have phenomenal overclocking abilities,
          you can push just about all nmos z80’s easily up to 8 Mhz or so.

          1. Yes, that caught me out when I bought some Z80’s from China they were labelled as the higher speed CMOS version numbers but were actually the slower NMOS versions.

          2. PS: you can tell the difference with one of the port instructions.

            From memory (google it if you need) the OUT (C), A will place 0xFF on half the address bus on one version and 0x00 on the other – NMOS/CMOS

        2. I found what it was – it’s the (Intel MCS-51) C8051 (FLASH) or C8031(ROMless) that is single cycle in the enhanced version that it available today but it’s Harvard Architecture.

          The 8085 is Von Newman Architecture and about 12 clocks to one instruction cycle.

          I wish there was a single-cycle 8085

  2. Is it just me or does using a PIC kind of defeat the purpose of a “trainer”? If the purpose is to learn microprocessor architecture than use the 8085 as is, with all of its warts. If the purpose is programming, than just use the PIC.

    1. I still have an Intel 8085 trainer, someone moving gave it to me about 1990. But I still have my KIM-1 6502 board from 1979.

      About 1978, Byte had an article about bootstrapping the 8085. So you didn’t need rom, you could dingle step it, and by loading the CPU’s data lines with NOP, the CPU would advance through the address range, so you could load the RAM directly. It was all neat and simple.

      I later saw a piece about getting the 68000 going the same way. And Don Lancaster’s Cheap TV Typewriter Cookbook counted on the same concept to advance the address bus to be able to get the data out of the RAM for the video.

      Michael

  3. “The reason why a 40 year old microprocessor is still covered in computer architecture text books instead of computer history is a bit convoluted.”

    Oh come on! That’s how you leave it? You could have said something like “Believe it or not, this 40 year old microprocessor is still the basis of many computer architecture courses.” That would have been just fine. “history is a bit convoluted” that just invites curiosity and leaves us hanging with no satisfaction. I’d say it was an invitation to research the matter ourselves but what search terms would one even use for that?

    1. I must have gotten rid of my 8085 (and 68k) books a while back as they are not where I expected them to be. So I’m going by memory but IIRC the reason the 8085 is used is its the simplest of the 8080 lineage. The 8080 had more registers and required more support circuitry. The 8088 was more complex to program due to the bank switching. The 8085 can run without any support circuitry and has fewer registers and no bank switching.

  4. As a computer engineering student…I think this is a fantastic project. 60% reduction in price and making learning tools more available for people of less means than me, here in the US? That’s such a fantastic idea!! the flak people are giving him for a less than perfect board design is totally unwarranted–for one student working without pay, what are the expectations? ridiculous how cruel y’all can be, turning projects into a commentary on this false notion of a “participation trophy” generation.
    end rant.
    FANTASTIC WORK, [TisteAndii].
    and old processors are used in architecture classes because they are simple, well documented, and cheap, all valid reasons.

    1. Thanks :D ! I’m okay with the criticism though; it’s half the reason I had it posted here after all — the uber-community of hardware hackers. Though truth is, most of the mentioned issues are stuff I already knew about but had no time/experience to correct.

  5. First of all, it’s not exactly a trivial project, and it targets a genuine need, so full marks to the project’s creator.

    I do wonder why today’s schools don’t make more use of virtualized simple processors and emulators to teach the basic processor architectures, and a hands-on project based onsomething more current like a PIC or AVR, that they’re more likely to encounter in their careers. Kind of a shame to have to cough up $100 (or even just $40) for something that has no practical use (except for bragging rights in HaD) when the course is done. Even an Arduino would get more post-course use.

    1. Because $. Schools don’t understand or even look at pen source, they have been hearing the ‘free is crap’ for so long they think they can only have software thats paid for and those cost a lot of $.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s