Tiny Tapeout FPGA demo board faults

Your demo board hangs at boot, shows no clock, or does not answer, and you want the likely cause.

What the firmware does is on The firmware on a Tiny Tapeout FPGA demo board. What happens on the Raspberry Pi side is on Tiny Tapeout FPGA demo board faults on the Raspberry Pi.

What you see is the symptom, Likely cause the reason, and Fix what to do.

What you see

Likely cause

Fix

The board never comes up

The stock main.py calls DemoBoard(), which probes I2C and can hang permanently. The ttdbv3 firmware the boards shipped with did this

Ask the site operator, then PoE-cycle the board’s switch port: that resets it. If the RP2350 stays unresponsive, ask the site operator, then power-cycle its USB port with uhubctl. SDK 3.1.0 boots cleanly, and the board reports board present

The board is off the public site although the Pi is up

A main.py that does nothing: the site and the daemon’s design list depend on the SDK booting into DemoBoard()

Recovery without a file write is fpgas.online-tt issue #21

pin_indices() returns wrong pin numbers

The firmware the boards shipped with loaded GPIOMapTT04, and the TTDBv3 hardware uses different GPIO assignments

All host scripts hardcode the correct GPIO pins (SPI: SCK=6, MOSI=3, SS=5, CRESET=1; UART: TX=GPIO20, RX=GPIO37)

The clock output on GPIO16 is stuck high instead of oscillating

The first PWM() call on GPIO16 of the RP2350 produces a stuck-HIGH output

Deinit and recreate the PWM object, as the code below shows

The check fails with dip-switches fail: switch N is on

A DIP switch on ui_in is on

Set all DIP switches off and run the check again: The DIP switches

RP2350 PWM first-call bug

The first PWM() call on GPIO16 produces a stuck-HIGH output instead of oscillation. Two places carry the workaround: openFPGALoader’s tt_fpga load, after every load (fpgas.online-fpga-tools patch 0033: “the first setup of an RP2350 PWM slice may not take”), and the UART bridge of tt_test_wrapper.py (“RP2350 PWM initialization bug”). The workaround deinits and recreates the PWM object:

clk = PWM(Pin(16))
clk.deinit()
utime.sleep_ms(1)
clk = PWM(Pin(16))  # Second call oscillates correctly