Thanks, Samuel, good suggestion, and it was my first approach too.
Some context on why I went this far: the board runs an obsolete elevator controller, and the only alternative was a full modernization, which would have meant about three months without an elevator in a seven-story building. So getting this board working was really the only option.
Unfortunately the security fuse is set on all three PALs. The programmer reports “Read successful” but returns all 1s (checksum 0x0892, i.e. 2194 bits, the full map size), bit-for-bit identical to a blank ATF16V8BQL. So a locked chip and an empty one are indistinguishable, and no programmer setting gets past that.
What still works is the logic itself, so I recovered it by an exhaustive input sweep on the original chips. Since the macrocell mode is also in the locked fuse map, it had to be determined from the board: pin 1 on U6 is driven by the Z180 PHI clock, so U6 is registered (pin 11 is /OE, and the registers only respond when clocked), while U5 and U7 are purely combinational. Bidirectional I/Os had to be identified first and treated as outputs during the sweep.
The board now runs with ATF16V8 replacements. U5 and U7 are fully verified; for U6 the guarantee only covers the transitions actually exercised, so I’m still testing reset and power-loss behaviour.
For reference, here is everything that was replaced on the board, since the overvoltage damaged more than the PALs:
- U1, CPU: Z180 → Z8S18020VSC (PLCC-68). Data line D4 was shorted to ground (~10 Ω), so the CPU was reading corrupted opcodes. As a side benefit, the original part was rated for 8 MHz but running at 9.216 MHz; the Z8S180 is rated for 20 MHz. Its new CMR/CCR registers come out of reset in Z180-compatible mode and the firmware never touches them, so it is a drop-in replacement.
- U2, PIO: Z84C2008 → Z84C2010VEC (PLCC-44). D4 showed ~200 kΩ leakage (megohms on all other lines), so not a hard failure, but the die was damaged. Same silicon, just a higher speed grade, which also removes the overclock.
- U5–U7, PALs: PALCE16V8Q → ATF16V8BQL, logic recovered by input sweep as described above.
- U8, EPROM: TMS 27C256 with a degraded D3 output; consecutive reads differed in almost 500 bytes. With a pull-up on D3, four reads matched byte for byte, and that image was written to a new 27C256, with the original kept as an archive copy.
Takeaway for anyone with a board after a supply overvoltage: check every chip on the data bus for leakage, not just the ones that obviously failed. A part that still works can be the one corrupting the bus.
If anyone with a dead BL1000 / SBC220 needs the pinouts and equations, feel free to send me a private message.
Best regards,
Mikhail