Jump to content

Acorn 6502 Second Processor Tube Connection Repair

From RetroTechCollection
Acorn 6502 Second Processor circuit board
The 6502 Second Processor main board, with the Tube ribbon cable at the right and the Ferranti Tube ULA beside it (photo: Chris Whytehead, CC BY-SA 3.0)

The Acorn 6502 Second Processor talks to the BBC Micro through a 40-way ribbon cable, plugged into the socket marked Tube under the BBC Micro, and through the Tube ULA (IC1), a custom chip on the second processor board that passes data between the two machines.[1][2] Tarnished connector contacts, a worn cable and a failing Tube ULA all give the same kinds of fault: the second processor is not recognised, the screen stops with a flashing cursor, or the start-up message comes out corrupted.[1][3][4] The repair is to rule out the host set-up, test the data lines from BASIC, clean or replace the connection, check the Tube ULA's supplies and, last, replace the ULA.

Symptoms

[edit | edit source]
  • The BBC Micro shows its own "BBC Computer 32K" message although the second processor is switched on. Acorn names a missing DNFS ROM, no power to the second processor, a faulty ribbon cable or a failed Tube ULA.[1]
  • A blank screen with the cursor flashing at the top left. Acorn says most faults show this way.[1]
  • The unit works with one BBC Micro but not another. In the stardot thread "6502 Second Processor not seen", one of an owner's two Model Bs would not work with the second processor although the Master 128 did; the cause was dirty contacts on two data lines of the Tube connector.[3]
  • The start-up message is corrupted, appears in the wrong place or is mixed into other text, and the machine is unstable. triaxcaribdis reported this on a unit that failed at about nine power-ups in ten but ran for hours once it had started.[4]

If the second processor itself has no supply, start with Acorn 6502 Second Processor Power Supply Repair.

Safety

[edit | edit source]

Unplug the second processor from the mains, and switch the BBC Micro off, before unplugging or plugging in the Tube cable or removing the lid. The mains switch, rear fuse holder and transformer inside the case carry mains voltage.[1] The ICs are static-sensitive: use an earthed wrist strap when lifting IC1 to IC3.[4]

Tools and parts

[edit | edit source]
  • A multimeter.[1]
  • Contact cleaner, and a small flat-bladed tool for the pins of the BBC Micro's Tube connector.[3]
  • A replacement 40-way ribbon cable assembly (Acorn part 201,146 for the 6502 unit), or 40-way grey ribbon with a 40-way IDC cable socket and strain relief, as listed for the Z80 Second Processor (Acorn parts 870,040, 800,017 and 800,027).[1][5] On the main board the cable joins a two-part connector, PL1 (Acorn part 800,037, bottom half on the board, top half on the cable).[1] See Ribbon and Flex Cable Repair and Connector Pin Replacement and Crimping.
  • A known-good Tube ULA, or a modern replacement. Forum members mention replacement Tube ULAs made by John Kortink and by hoglet.[4]
  • The DNFS ROM, or another filing system ROM that contains the Tube host code.[1][3]

Procedure

[edit | edit source]

Rule out the host set-up

[edit | edit source]
  1. Check that the BBC Micro has the DNFS ROM in a sideways ROM socket. Without it, or another ROM with the Tube host code, the second processor is not recognised. Watford Electronics' DDFS 1.54T has the Tube code.[1][3]
  2. On a BBC Master, select the external Tube with *CONFIGURE EXTUBE (*CO.EXTUBE).[3]
  3. Switch the second processor on first and then the BBC Micro, or press CTRL BREAK after switching on. A working unit shows "Acorn TUBE 6502 64K".[2]

Test the data lines from BASIC

[edit | edit source]

hoglet gave two short BASIC programs on stardot that show whether data is crossing the connection. Run them on the BBC Micro with the second processor switched on.[3]

  1. Run the register dump:
    10 FOR A=&FEE0 TO &FEEF
    20 PRINT ~A,~?A
    30 NEXT
    This lists the 16 host-side Tube addresses and their contents.[3]
  2. Run the reset test, which resets the second processor and prints its start-up message as it arrives through the Tube:
    10 ?&FEE0=&A0
    20 ?&FEE0=&20
    30 REPEAT
    40 A=?&FEE1
    45 IF A>0 AND A<32 A=46
    50 VDU A
    60 UNTIL A=0
    It should print ".Acorn TUBE 6502 64K".[3]
  3. Compare the characters received with the ones expected. hoglet worked through a corrupted message letter by letter and found that D0 always read as 0 and D4 was sometimes right and sometimes wrong. If D0 is open circuit, he expected the message to read ".@bnrn TTBD 6402 64J".[3]
  4. Find the faulty lines on the Tube connector. In Acorn's pinout, data lines D0 to D7 are on pins 12, 14, 16, 18, 20, 22, 24 and 26, the odd pins from 1 to 29 are 0 V and pins 31 to 39 carry +5 V.[1]

Clean the Tube connector

[edit | edit source]
  1. With both machines off, plug the cable into the BBC Micro's Tube socket and pull it out a dozen times or more to scrape the contacts. hoglet suggested this as the first step for a tarnished connector.[3]
  2. If that does not cure it, clean the pins of the BBC Micro's Tube connector. Elminster cured one machine by scraping the pins with a flat-bladed screwdriver. DigitalDunc cured his by giving the pins of the two faulty lines a thorough clean, noting that they are hard to reach at the back of the connector.[3]
  3. Run the reset test again. DigitalDunc then got the correct start-up message and confirmed several days later that the unit was working.[3]

Replace the ribbon cable

[edit | edit source]
Acorn 6502 Second Processor IDC transition connector with IDE cable (Retro Kit)
A previous owner's repair: an untrimmed 40-way IDE cable on an IDC transition connector at PL1 (photo: Retro Kit)
  1. If the fault follows the second processor from one BBC Micro to another, or the cable is damaged, replace the cable. Elminster reported that a better cable cured a unit that worked on some machines and not others.[3]
  2. Open the unit: undo the two screws at the top of the back panel and the one underneath, nearest the front, and lift off the lid.[1]
  3. Inspect the cable joint at PL1. On the unit restored by Retro Kit, a previous owner had fitted a 40-way IDE cable on an IDC transition connector, left the cable untrimmed and left heavy flux on the board.[6]
  4. Remove the old cable and fit the new one at PL1, keeping the same pin 1 orientation (Through-Hole Desoldering, Through-Hole Soldering). Retro Kit fitted a new IDC transition connector and ribbon cable.[6]
  5. Clean off any flux and trim the cable neatly to length before refitting the board.[6]
Acorn 6502 Second Processor Tube cable joints with excess flux (Retro Kit)
The solder side at PL1 after the earlier cable replacement, with heavy flux residue (photo: Retro Kit)

Check the Tube ULA supplies

[edit | edit source]
Acorn 6502 Second Processor Tube connector and Tube ULA supply (circuit diagram 108,000)
The Tube ULA (IC1) on the circuit diagram, with R1 feeding pin 3 and the host supply to pin 4 through LK3

The Tube ULA is powered from both machines, and the second processor will not work if either supply fails.[1]

  1. Switch the second processor off and the BBC Micro on. IC1 pin 4 should be at 5 V against pins 1 and 5. If it is not, check the ribbon cable and connectors.[1]
  2. Switch the BBC Micro off and the second processor on. IC1 pin 2 should be at 5 V against pins 1 and 5.[1]
  3. Pin 3 is fed through R1 (12 ohm, 1 W). The service manual asks for 5 V there, but hoglet measured 4.95 V and 3.15 V at the two ends of the resistor on a working unit, and 1024MAK explained that the pin supplies a regulator inside the ULA. About 3 V on pin 3 is normal.[1][7][4]

Reseat and replace the Tube ULA

[edit | edit source]
  1. Only IC1 (the Tube ULA), IC2 (the 6502) and IC3 (the boot ROM) are socketed.[1] With the unit unplugged, lift each one, clean its pins and push it back firmly, as BigEd suggested (IC Removal and Socketing).[4]
  2. Retest. If the supplies to IC1 are good and the unit still fails, Acorn's instruction is to fit a known-good Tube ULA.[1]
  3. On stardot, pstnotpd cured a unit with a similar fault by replacing the Tube ULA, and ctorwy31 found by substitution that the Ferranti Tube ULA was to blame on his internal 6502 co-processor for the BBC Master, which had never worked properly.[4]

Testing

[edit | edit source]
  1. Switch on and press CTRL BREAK several times. The start-up message "Acorn TUBE 6502 64K" should appear in the right place every time.[2][4]
  2. Run hoglet's reset test and check that the message comes through uncorrupted.[3]
  3. Run a demanding Tube program for a long session. DigitalDunc planned a few hours of the Tube version of Elite to shake out any remaining fault.[3]
  4. Switch both machines off and on several times. The fault on triaxcaribdis's unit appeared only at power-up.[4]

Revision notes

[edit | edit source]

The pin numbers above for IC1 and the parts list references are for main board 108,000 issue 4.[7] On that board the connector PL1 is numbered differently from the Tube pinout in the service manual: the host data lines HD7 to HD0 go to PL1 pins 15 to 29.[7][1] Use the cable's pin 1 marking, not the pin numbers, when fitting a new cable.

[edit | edit source]

References

[edit | edit source]
  1. ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 Acorn Computers, 6502 Second Processor Service Manual, part no. 0408,003, issue 1, May 1984, hosted on this wiki as File:Acorn 6502 Second Processor Service Manual.pdf. DNFS ROM and Tube connection, section 2, p. 2; disassembly, 4, p. 5; Tube connector pinout, 5.5, p. 8; the Tube, 6, p. 9; socketed ICs, 7.1, and total failure, 7.3, p. 15; Tube supplies, 7.3.1 and 7.5.5, pp. 17 and 21; parts lists (PL1 connector 800,037, ribbon cable assembly 201,146), pp. 37–38.
  2. ↑ 2.0 2.1 2.2 Acorn Computers, The 6502 Second Processor User Guide, part no. 408000, issue 2, March 1984, hosted on this wiki as File:Acorn 6502 Second Processor User Guide.pdf. Installation, pp. 7–8; starting up, p. 9.
  3. ↑ 3.00 3.01 3.02 3.03 3.04 3.05 3.06 3.07 3.08 3.09 3.10 3.11 3.12 3.13 3.14 3.15 "6502 Second Processor not seen", stardot.org.uk forum thread, May 2018. DigitalDunc's unit worked on a Master 128 and one Model B but not another; cmorley on *CO.EXTUBE; hoglet on the Tube code in DDFS 1.54T, plugging and unplugging a tarnished connector, the register dump and reset test programs, and the diagnosis of D0 and D4; Elminster on a better cable and on scraping the contacts with a screwdriver; DigitalDunc's cleaning cure and confirmation on 18 May 2018.
  4. ↑ 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 "6502 second processor issues", stardot.org.uk forum thread, May 2025. triaxcaribdis's unit failing at power-up with corrupted start-up messages after the cable had been replaced; BigEd on reseating socketed chips and static; pstnotpd and ctorwy31 on replacing the Ferranti Tube ULA, and the replacements by John Kortink and hoglet; hoglet's 4.95 V and 3.15 V measurement across the dropping resistor; 1024MAK on the internal regulator fed from pin 3.
  5. ↑ Acorn Computers, Z80 Second Processor Service Manual, part no. 0409,015, issue 2, August 1984, hosted on this wiki as File:Acorn Z80 Second Processor Service Manual.pdf. General assembly parts list: 40-way grey ribbon cable 260 mm (870,040), strain relief (800,027), cable socket (800,017), p. 49.
  6. ↑ 6.0 6.1 6.2 Retro Kit, "Acorn 6502 Second Processor" (retrieved 2026-10-25). A unit bought dirty and needing soldering; the cable previously replaced with a 40-way IDE cable on an IDC transition connector, untrimmed and with excess flux; replaced with a new transition connector and ribbon cable, neatly trimmed.
  7. ↑ 7.0 7.1 7.2 Acorn Computers, circuit diagram 6502 2nd. Processor, drawing A1/108,000/C, issue 4. Connector PL1, Tube ULA IC1, R1 and links. Scan from 8BS; also hosted on this wiki as File:Acorn 6502 Second Processor circuit diagram (108,000 issue 4, left half).png.