velxio/frontend/src/simulation
David Montero Crespo bb46d51a3c fix(rp2040): keep the SPICE input path off the CYW43 pins
Every Pico W WiFi example in the gallery hangs at `while not
wlan.isconnected()`, with `wlan.status()` stuck at 1 (CONNECTING) and
`wlan.active()` reading True.

The CYW43439 sits on GP23/24/25/29, inside the module — there is no canvas net
for those pins. attachPioPeripheral() drives WL_HOST_WAKE (GPIO24) with
setInputValue() straight from the chip's hostWakeLevel(). When RP2040 gained
spice-driven digital inputs, the GPIO listener began seeding a pull level onto
every input pin, GPIO24 included: the CYW43 driver configures that pad as an
input, the seed landed on top of host-wake, the host stopped polling the chip,
and no association event was ever delivered.

The fault is invisible from the CYW43 side — its own harness drives a raw
rp2040js with its own FIFO/PIO plumbing and passes — which is why this looked
like a WiFi bug rather than a GPIO one.

Diagnosed by patching the sketch in the editor to print wlan.status() each
iteration: "WAIT 1 status 1 active True" repeating forever, i.e. the join was
accepted and the link never came up.
2026-08-17 22:55:45 +02:00
..
customChips feat(chipbus): Galaksija keyboard - type BASIC over the bus 2026-06-05 14:37:42 -03:00
digital
…
displays fix(epaper): persist the window union across refreshes (fix partial-refresh tears) 2026-08-06 16:53:00 +02:00
parts fix(ntc): the temperature sensor read wrong on 3.3V boards, and three examples decoded backwards 2026-08-03 07:33:20 +02:00
spice fix(examples): night-light LDR shorted AO to VCC — "1M" is milliohms in SPICE 2026-08-17 03:39:47 +02:00
verify fix(spice): per-voltage supply rails — VIN/5V no longer clamped to the 3.3V logic rail 2026-08-15 08:29:39 +02:00
AVRSimulator.ts spice: seed INPUT_PULLUP pins to their resting level on pull enable 2026-07-31 20:51:42 +02:00
Esp32Bridge.ts fix(gateway): keep in-browser WiFi boards reachable through the IoT gateway 2026-08-14 19:45:39 +02:00
Esp32BridgeFactory.ts
…
Esp32C3Simulator.ts
…
Esp32MicroPythonLoader.ts feat(flash): MicroPython web-flash seam (firmware install + raw-REPL upload) 2026-08-11 22:55:47 +02:00
HD44780Decoder.ts
…
I2CBusManager.ts
…
Interconnect.ts fix(uart): el enganche de serie sobrevive a recrear el simulador 2026-07-29 20:55:05 +02:00
LogicFamilies.ts
…
MicroPythonLoader.ts
…
PinManager.ts fix(compile): user_libs_all gets the -Werror relaxations too 2026-08-12 14:38:49 +02:00
PinResolver.ts
…
PioPeripheral.ts
…
RP2040Simulator.ts fix(rp2040): keep the SPICE input path off the CYW43 pins 2026-08-17 22:55:45 +02:00
RaspberryPi3Bridge.ts feat(pi): salida de pantalla para las Pi + arreglo del guard de connect 2026-07-30 01:09:04 +02:00
RiscVCore.ts
…
RiscVSimulator.ts
…
SensorUpdateRegistry.ts
…
SignalRouter.ts
…
SpiBus.ts
…
Stm32Bridge.ts
…
UsiI2cBridge.ts fix(sim): drive the slave ACK in the USI I2C bridge (blank SSD1306 on ATtiny85) 2026-08-11 05:19:31 +02:00
esp32-signals.ts
…
piSlaveScanner.ts fix(pi): perifericos completos en la familia Pi — entradas, buses y pines 2026-07-29 17:05:39 +02:00
rp2040-bootrom.ts
…
sensorControlConfig.ts Merge remote-tracking branch 'origin/master' into v3.2-worktree 2026-08-01 04:23:55 +02:00