Skip to content

Design review — control paths and I/O (sequencer logic/memory, IO, bus tester, backplane, video) — 2026-09-21

Section 2 of the 2026-09-21 control-paths and I/O review: the sequencer memory v2.1, findings 2.1-2.2. The other cards' sections ("above" and "below" in the original), the cross-card notes and the summary: hardware/reviews/control-io-2026-09-21.md.

Second pass after the mechanical one in mechanical-2026-09-21.md. Read from the KiCad netlists (reports/netlist.net, pin types from the Eagle symbols), chip values from the Eagle boards, the firmware that drives the ATmegas (embedded/bus-tester/bus-driver, embedded/sequencer-card/sequencer4) and the microcode generator (firmware/microcode/ucode-generator2). Gate pin-outs were checked against the symbol pin functions (I0/I1/O for 7400/08/32, O/I/I for 7402; 74175/74/192/244/374 pin functions as printed in the netlist).

Every finding: the trace (ref.pin -> net -> ref.pin, chip types), the failure scenario, severity (HIGH = stops the card / damages parts, MED = unreliable or latent, LOW = housekeeping), and how to confirm it on the bench. Already-known items (BACKLOG.md, video README) are not repeated except where a new detail changes them. Report only; no redesign.

Scripts used (not committed): a netlist dumper (parts + nets with pin function/type), an SV1/SV2 pin-by-pin comparator, a bus-driver-table-vs-tester-wiring check and a microcode-bit-vs-RAM-wiring check; the results of the three checks are in the "checked, no issue" lists below.


2. Sequencer memory v2.1 (hardware/cards/sequencer-memory/kicad/v2.1)

2.1 LOW — RAM control lines float whenever the ATmega is in reset or in its bootloader

-CMEMSEL (IC15 PB2 p16) -> all eight 62256 -CS p20; -CMEMRD (PB1 p15) -> -OE p22; -CMEMWR (PB0 p14) -> -WE p27; no pull-ups on any of the three. Until setup() runs (Arduino bootloader delay after power-up, or any time -MEM-CPU-RESET is pulled low by LOCAL-CPU-RESET / JP1) the pins are inputs and the RAMs see undefined -CS/-OE/-WE while the expanders (also held in reset) are inputs. Any corruption is repaired by the copy + verify that follows, so this is housekeeping; BUS-READY (PD7 p13 -> SV1 p12 -> logic IC36 p9) also floats high in that window, so -BUS-EN is asserted and the logic card puts its stale pipeline word on the bus (see 1.3). Confirm: scope IC15 p14 during power-up.

2.2 LOW — DTR auto-reset dead-ends; FTDI-VCC jumper

DTR-RESET0 solder jumper: p1 = FTDI DTR (JP3 P$1, N$33), p2 = N$8 which has no other node — nothing reaches /RESET and there is no series 100 nF. Same on the bus tester (DTR-RESET0 p2 = N$9, single node). Flashing needs the local reset button. FTDI-VCC0 (both cards) would parallel the FTDI's 5 V with the backplane rail if closed while the card is on the bus.

Checked, no issue (sequencer memory)

  • Run-mode gating in sequencer4: after the verified copy setAddressInput(), setDataInput(), uCodeRamRead(true) (-OE low), uCodeRamSelect(true) (-CS low), -WE left high, then READYLINE high. In load mode -BUS-EN is high (READY low -> IC36 p8) so IC35/IC15 on the logic card are off the CADDR lines while IC10 drives them. The firmware's own hint ("is -BUS-EN inactive?") covers the tester-asserts--BUS-EN case (BACKLOG).
  • Microcode bit map: all 64 yaccsignaldata2.h (chip,port,bit) entries land on the RAM I/O pin whose SV1/SV2 (or JP1) pin reaches the 74LS374 D input of the same-named signal on the logic card; generator byte index (chip-1)*2+port (controlLine.c:103) equals the loader's writeGPIOAB low/high byte order.
  • I2C: IC10 0x20 (address), IC14 0x21, IC13 0x22, IC11 0x23, IC12 0x24 — matches mcp[i].begin(i); on-board IC9 24AA01 at 0x57 (A0–A2 = VCC) is displaced by the adaptor (devices 6 and 7).
  • CADDR14: R5 10k pull-up, header CADDR14 to GND; jumper off = upper 16K, on = lower; the ATmega has no pin on it, so load and run address the same half.
  • EEPROM WP (IC9 p7) on JP2 (GND / VCC); STARTSWITCH R1 pull-up; UCODE mode switch to VCC/GND.
  • MCP23017 100k pull-ups left on in run mode (setDataInput) — negligible load on the RAM outputs.

Last updated 26 October 2026