Device programmer test firmware

Stag PP38/39

I was contacted by an owner of a PP39 device programmer which showed no signs of life when powered on. The processor clock was running and the address and data buses were active but it did nothing. So that the area of the circuit with the problem could be narrowed down I created the initial version of PP3X test firmware for the Stag PP38 & PP39.

V1.0 transmitted a continuous stream of characters from the serial port but it would show if the processor, EPROM and address decoding were working correctly.
V1.1 added a beep when powered on and then tested the static RAM and if this failed it would loop back to the start again otherwise it would transmit characters as before.
V1.2 added code to access the keypad and display and commands to test the paged data memory and dump the contents of the EEPROM to the serial port.
V1.3 added tests for all four 8255A PPIs and reads from the relevant port continuously on failure to allow probing with an oscilloscope or logic analyser.
V1.4 improved the information displayed especially for the memory test.

As the areas of the circuit tested are limited you are free to modify this firmware to add other tests if you wish.

The purpose of this firmware was to detect a fault which was causing the standard firmware not to run. If the standard firmware is able to run and the keypad and display are useable the built in test features of that firmware can be used.

Latest release

Download the zip file containing source and binary.

pp3x_1-4.zip 22/08/17

If a 2764 EPROM is programmed with the .BIN file supplied the checksum should be DA9C

Instructions

You will require a working device programmer to program a 2764 EPROM containing the firmware from the binary file. The EPROM should replace the firmware in the base unit, any modules fitted can be removed as they are not currently needed.

If you wish to modify the PP3X firmware you will need to download a Z80 assembler, I used a version of TASM for DOS which you can download here tasm301.zip

Stag PP40/41/42

The first Stag programmer that I obtained from ebay, a PP42 with serial & parallel interfaces, had a problem with the serial port and I could not figure out what was wrong with it. Some time after I created the PP3X firmware I decided to do the same for the PP40, PP41 & PP42 programmers.

V1.0 provides the same functionality as PP3X firmware V1.4 except that option 3 dumps the contents of the static RAM to serial port 1.

As the areas of the circuit tested are limited you are free to modify this firmware to add other tests if you wish.

Latest release

Download the zip file containing source and binary.

pp4x_1-0.zip 22/08/17

If a 2764 EPROM is programmed with the .BIN file supplied the checksum should be 9573

Instructions

You will require a working device programmer to program a 2764 EPROM containing the firmware from the binary file. The EPROM should replace the firmware in the base unit, any modules fitted can be removed as they are not currently needed.

If you wish to modify the PP4X firmware you will need to download a 6809 assembler, I used a version of AS9 for DOS which you can download here as9.zip . The firmware is located at address E000 so this value should be supplied as an offset when using the Motorola srecord file that the assembler outputs to create an EPROM. Do not worry if warnings are displayed, the output is correct.

GP Industrial XP640

I am currently working on test firmware for the XP640 which will be available for download shortly.

 

home contact