VOGONS


First post, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie

My company (DDS) once offer a fairly powerful single-board embedded controller called BD52 (Bob&Daves 8052) - This had pretty good in-circuit emulation and in-circuit simulation capabilities with decent external interfaces.

Sadly I've used or given away the last of my stock, so I've decided to hand-build some new 8031/8032 boards, and just wanted to mention this and see if anyone else is interested in building and using some classic embedded hardware:

8031/8032 CPU, 32k EPROM, 32k RAM

ROM and RAM are mapped into single 64k address space (meaning you can download code and run if from RAM, and that code can access functions and data from ROM)

My ROM has about 13k of code in it, leaving about 18k for any stuff you might want to add "permanent". My ROM contains:

- In-Circuit emulation/simulation kernel compatible with my EMILY52 simulator MONICA52 in-circuit debugger (both free now)

- MinMon31 - a tiny "monitor", thats lets you download/upload, dump/edit memory, examing/write 8031 SFRs. Also needs only ROM, and serial port to function, so really helpful in bringing up the system for the first time.

- Full edition of my MON51 debug monitor, all of the above, plus breakpoints, single-step, disassembly and lots more.

- CFLEA virtual machine... This lets you use C code on a virtual CPU designed to be a very efficient target for my Micro-C compiler (also free now)

- I also adjusted, built and threw in an edition of the TinyBasic 8051 from: www.pjrc.com/tech/8051/contrib/tb51/index.html

The startup code normally launches MiniMon31 (where it is easy to launch any of the others), but does have an ability to use a 5-byte signature in the very top of RAM (FFFB-FFFF) to auto-launch any of them, or user code that has been downloaded. (I like to use NVRAM like the Dallas chips to make downloaded applications semi permanent and easy/fast to change)

This will be a very good little general controller, as well as a good way to experience and learn about a classic microcontroller system!

---

The 8031 is a ROMless version of the 8051 which is a single-chip microcontroller. So... one of these systems is dead easy to build - total of 5 ICs (plus anything you want to add as interfaces)

Most of the software mentioned above already has good documentation (they were products my company sold)... but if there is interest, I'll document exactly how the board goes together, how everything works and should be used with it, and notes on the software specific to this board.

FWIW, you can "play" with it and try out the software in it's ROM without having to actually build anything - It all runs under my EMILY52 simulator (and in fact this is mainly how I'm testing all the stuff)

https://dunfield.themindfactory.com ; "Daves Old Computers" ; SW dev addict best known:
ImageDisk: rd/wr ANY floppy PChw can ; Micro-C: compiler for DOS+ManySmallCPU ; DDLINK: simple/small filetransfer(w/o netSW)via Lan/Lpt/Com

Reply 1 of 1, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie

Just in case anyone in interested:

I've been making a "buttload"** of dedicated 8051 based embedded controllers, and have added a fair bit of features/capabilities to the ROM mentioned above.

I also discovered that the only version of TinyBASIC I could find has been modified such that it REQUIRES an 8052 CPU (puts the stack in 8052s expanded internal RAM). Turns out it had been modified to exist with something called PAULMON2 which is probably 8052 based, and as it was modified it must have been simpler to just put some stuff high... There was LOTs of unused space in the 8051 internal RAM area and I've modified it to exist entirely therein - so it runs fine on an 8051 again (yeah, my BD52 was made/sold with 8052s ... but I have many tubes of
8051s in my "stash")

I also made some other minor enhancements to TinyBASIC (such changing the '>' prompt to '$' when operating in HEX mode.

--

Some examples of the kind of things I've been making:

Sensor pad for a web based remote camera, which lets me "push" buttons, control X10 powerline modules (though a X10-CM11 interface), and power things on/off "solid state relays". This let me do things like turns lights on/off, run a pump to empty my basement dehumidifiers and start/stop my server (which has AnyDesk remote access capability) - all while I am travelling and nowhere near "on site".

A simple "EPROM emulator" - has a "module" containing an SRAM with 3 jumpers to make it appear as an 8K,16Kor32K RAM - or 8k,16kor32k EPROM. This in powered on a "flying lead" so I can move it between the programmer and a target system so I can test ROM code without waiting to erase/burn.

Some dedicated Amateur Radio control setups.

Infrared remote code sender which lets me automate control of most consumer audio and video equipment.

A few Quick&Dirty pieces of test gear that I needed "in the moment".

--

** Recently found about a dozen bare boards for my 8032 based BD52 single board computer I used to sell. The BD52 supported 64k ROM + 64k RAM and had jumpers to configure it to a bunch of useful combination of CODE, DATA and CODE+DATA memory. This used a PAL and not having a PAL programmer, I'd been basically ignored these boards. Turns out, just by "grafting" a single 74LS00 into the PAL connections, I can make a very useful config of 32kROM+32kRAM both CODE+DATA!

This makes it easier to create custiom 8031 systems .. I just need to plop on an 8031cpu, LS373latch, 27256rom, 62256ram as well as the LS00(logic) - Yeah, I know there are simpler "modern" single-chip equivelents .. but I got *TUBES* of these in my basement already!

This board also has a place for a X2416 2K EEPROM, so I will likely add support for writing/loading that (if it is found) to the ROM ... this will allow an auto-run application (up to 2k - which is plenty for much of what you want to do on an 8051 - and CFLEA makes it even more).

--

If anyone else wants to make little/powerful controllers like this (with only 5 chips - not terribly hard even without the BD52 boards) - let me know and I can share what I've got working and we can compare notes as we go etc...

https://dunfield.themindfactory.com ; "Daves Old Computers" ; SW dev addict best known:
ImageDisk: rd/wr ANY floppy PChw can ; Micro-C: compiler for DOS+ManySmallCPU ; DDLINK: simple/small filetransfer(w/o netSW)via Lan/Lpt/Com