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 |
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 |
The board is off the public site although the Pi is up |
A |
Recovery without a file write is fpgas.online-tt issue #21 |
|
The firmware the boards shipped with loaded |
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 |
Deinit and recreate the PWM object, as the code below shows |
The check fails with |
A DIP switch 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