Tools
Some utilities to help you managing your hardware. Some are self-written by the authors, some are linked to the web.
An UNIBUS signal adapter
- Details
- Written by: Administrator
- Category: Tools
( This is older work, and has been superseded by UniProbe. )
Problem: How to access UNIBUS signals?
Often when you debug your PDP-11, you wish you could measure the signal lines of the UNIBUS. These signals appear in every slot of the backplane, but are usually buried deep inside the card cage:
Attaching your signal probes to the wire-wrap pins on the backplane's backside seems possible, but is impratical: finding the right pins can take hours!
So you have to make an adapter for routing the signals out of the machine. Here's how you can build one:
Solution: Building an UNIBUS signal adapter!
In PDP-11's many backplane types are used, general purpose ones and such for special controller or memory assemblies. On almost all of these backplane types the UNIBUS signals are concentrated to two standard FlipChip sockets at both ends of the backplane. The UNIBUS has 56 data signals and some GND and Vcc, see the pdp11bus handbook (1979)" for reference. The standard UNIBUS slots are used to plug in bus terminator cards, or bus cables to connect backplanes in a chain.
Requirement 1: your adapter should use these standard slots, but without blocking it for further use by the system.
Another problem is that the boards are packed very tight together. The board-to board distance is only 10 mm, there is no vertical space for test points on the boards.
Requirement 2: every board you plug into the PDP-11 card cage may be just 10 mm high. You need to route the testpoints outside the case.
A design to meet these requirements has to look like this:
There are three separate components (the small terminator is not part of the design):
- A two-unit width modified extender board (lets call it "MEB") to get the signals out of the machine. You still can attach terminators or bus cables to the original slot (in the picture a 11/05 terminator is plugged in).
- A bread board to sort out the cables, so you can attach a logic analyzer or an oscilloscope. Lets call it the "signal adapter board", or "SAB".
- Two normal 40 wire flat cable to connect SAB and MEB. This even gives you the option to plug other boards than the SAB to the MEB. The cables should be not too long , I think 30cm are enough.
The modified extender board "MEB"
In total the two FlipChip sockets of a standard UNBUS slot have 2x2x18 pins, you need to route 72 signals. I reworked a commercial DEC extender board from Douglas Electronics.
These are the modifications:
- Two flat cable were crimped to two male 2x20 connectors. We need just 2x36 pins, put 40 wire cable is a standard,
- The two connectors were hot-glued to the board.
- Holes for 36 wires were drilled through the board (1.5 mm diameter).
- Half the wires were soldered on the connector side, the other to the backside.
- Paper labels with UNIBUS signals names were taped onto all four connector rows.
In result, the MEB remains slim enough to fit into the card cage:
The MEB can be used as regular extender board again when the flat cables are disconnected.
The signal adapter board "SAB"
The signal adapter board contains test points for the UNIBUS signals. They are nicely labeled and arranged into "Data Transfer Section", "Priority Arbitration Section" and "Initialization Section" signals. Every signals gets two pins, so you can attached both a logic analyzer probe and an oscilloscope.
There's only a lot of wire-wrapping on the backside.
Later I added LEDs for the control signals, and decoded A17-A13 into a single "IOpage" signal. This saves logic analyzer probes. The LED drivers are CMOS type with very high impedance, but the IOpage decoder adds one 74LS TTL load to the address lines, I'm not too happy with that. However, all driver chips can be plugged out of their sockets, making the board totally passive.
See SACK lighting, because it's being asserted? Yes, this photo was made with an open GRANT chain!
The only hard thing was to get all the wires sorted. Find my net list document in the attachement.
QBUS?
You can also make a SAB with QBUS test points and plug it to the MEB.
I didn't made one yet because
- I like the big old UNIBUS machines more.
- QBUS periphery seems much more reliable than UNIBUS boards. Maybe this is because they're usually younger.
Working with the adapter
Read on here about working with the adapter on my 11/05!
unibus_signals.txt -- UNIBUS signals, flip-chip connectors and signal adapter wires
Hints on testing a dead PDP-11
- Details
- Written by: Administrator
- Category: Tools
The web page "Hints on Testing a Dead PDP-11" lists many common reasons for PDP-11 failures, and how to fix them.
Premium content, thanks for it!
Subcategories
PDP11GUI
PDP11GUI is an integrated development environment (IDE) for PDP-11’s, running under MS Windows.
You can write programms in assembler and load them onto the PDP-11, run programs or single step them, disassemble code, load, dump and display memory and inspect registers.
You can use it in conjunction with SimH to learn about PDP-11’s, or you can attach it to a real PDP-11 as an handy hardware investigation and diagnostic tool.
First I’ve written PDP11GUI for some diagnostic tasks on my 11/44, then it developed its own momentum and kept me busy for nearly a year. And it’s still growing.
PDP11GUI is distributed as a self-installer at GitGub .
Before installation, backup all files you eventually modified!
Then proceed through installation instructions and the tutorial.
SimH with telnet console access
A modification of SimH to access it's command prompt over telnet.
MACRO11 cross assembler
PDP-11 Diagnostic Database
DEC made diagnostic procedures for all of their hardware, here we concentrate on the PDP-11 universe.
Many of these diagnostics are on the web today, but widely scattered around.
They have several designations, come on several media, are made for different devices, run under several supervisor monitors and are separated from their documentiation.
So here is a try to pull all pieces together and order them into one system:
The PDP-11 Diagnostics Database
TU58FS - file sharing with a DECtape II emulator
This is a tool to share files between a DEC PDP-11 and a modern computer.
The software emulates an TU58 DECtape II, which is controlled by the PDP over serial RS232 line.
The "tape content" appears as plain files in a shared directory, and can be accessed on both sides. So you can easily exchange files between PDP-11 and your host, just by copying to and from the shared directory, even per drag'n drop.
XXDP and RT-11 filesystem are implemented.
Requirements on PDP-11 side are minimal: only a 2nd serial port is needed. Not even TU58 "DD" Boot ROMs are necessary, as tu58fs contains an option to download a boot loader over ODT and M9312 console.
There is full support for "oversized" TU58 tapes: a TU58 tape image can hold up to 32MB, breaking the 256KB barrier.
This allows to run the full XXDP diagnostic file set over a single RS232 connection. No need to create special XXDP cartridges, or to wear your RL02 drive while reparing & testing.
Or you can run a full RT-11 distribution to a host directory, modify sources with your host editor and compile on your PDP-11 simultaneously.
UniProbe - an UNIBUS signal adapter
When repairing DEC PDP-11s there's always the need to see whats happening on the main system bus. On older 11s this is the UNIBUS.
After several try-and-error cycles, I think I now have the perfect signal adapter for UNIBUS ... calling it "UniProbe". In KiCAD 3D rendering it looks like this:
UniProbe has these features:
- can be built to plug into Standard UNIBUS or Modified UNIBUS slots.
- can be built to be a PDP-11/34 M9302 or a simple M930 terminator.
- LEDs for all 56 UNIBUS signals on the card edge.
- Logic analyzer probe plugs and a patch board area for measuring the signals.
Read on!
QProbe - a QBUS signal adapter
When repairing DEC PDP-11s there's always the need to see whats happening on the main system bus. On newer 11s this is the QBUS.
So after UniProbe, I also designed a "QProbe".
The card has these features:
-
it acts optionally as bus terminator via changeable resistor packs.
- it visualizes the QBUS signals.
- Two display modes:
a) ADDR and DATA are demultiplexed, INTR and DMA pulses are elongated to be visible.
b) "passthrough": LEDs just show state of bus lines. - Pin headers provide access to signals via logic analyzer (LA) or multimeter.
- Patch field to connect LA probes to QBUS signals in a clean way. LA ports with changeable impedance-matching resistor packs.
- LED drivers and demultiplexer logic realized with two EPM240T100 CPLDs. These can be programmed with own logic via an onboard JTAG header and Intel QUARTUS tool.
Read on!
TTY2PI - Adapter for ASR-33 Teletype
The "ASR-33 Teletype" is surely an eye catcher, but difficult to manage because of its 20mA interface.
"TTY2PI" is a project to access the ASR-33 over RS232 port, and/or connect it to a Raspberry Pi Zero W, which forwards data flow over WLAN or other ports.
uTracer11 - a GUI for micro stepping a PDP-11
„uTracer11“ (read: "micro-tracer") is a signal probe that is plugged into older UNIBUS PDP-11s.
The CPU internal state is visualized on a host PC.
It is primarily used for micro-tracing the CPU, as a function demo or repair tool.