adafruit / circuitpython

CircuitPython - a Python implementation for teaching coding with microcontrollers
https://circuitpython.org
Other
4.12k stars 1.22k forks source link

FunHouse flashes Yellow lights then nothing, won't boot after installing circuitpython v9.1.1 #9486

Closed tyeth closed 3 months ago

tyeth commented 3 months ago

CircuitPython version

circuitpython v9.1.1 (en_GB UF2) and adafruit-circuitpython-adafruit_funhouse-en_GB-20240806-main-PR9479-7f92099.uf2

Code/REPL

none

Behavior

it gives me Yellow flashing dotstars at circuitpython boot then nothing. No circuitpython drive shows up and nothing on display.

Description

No response

Additional information

I've tried two funhouses, both erased first then bootloader 0.18.2 then UF2 of 9.1.1 en_GB

TodBot in discord reported seeing the same yesterday, and found it works with v9.0.5 - They are betting that this change could be related https://github.com/adafruit/circuitpython/commit/2ddae3d96c56b94bc15ac0673fc4023720e37370 although I can't see how the rev-tft feather could not be affected while the funhouse is unless the problem is in the board specific library (pyportal-like library)

todbot commented 3 months ago

From marching through the UF2s on S3,

And by "not work" I mean the board doesn't even come up: doesn't show up as a USB device. So probably not just the display change from 2ddae3d. I'm looking now through the changes between 9.1.0-beta0 and 9.1.0-beta1 but wooo that's a lot of files

dhalbert commented 3 months ago

I'd start by seeing if there are any board-specific changes.

todbot commented 3 months ago

There did not appear to be any board-specific changes between 9.1.0-beta0 & beta1

tannewt commented 3 months ago

Did you both load CircuitPython via esptool? Or the uf2s from circuitpython.org/downloads?

todbot commented 3 months ago

Did you both load CircuitPython via esptool? Or the uf2s from circuitpython.org/downloads?

I was using the UF2s, after I upgraded the TinyUF2 bootloader to latest (18.2 at the time)

tyeth commented 3 months ago

UF2s here too.

tannewt commented 3 months ago

@tyeth Are you on 18.2 as well?

tyeth commented 3 months ago

Yeah looks like it is 0.18.2

tannewt commented 3 months ago

@todbot and @tyeth do you have wifi credentials in settings.toml? Dan repro'd this using a manual import wifi after USB comes up instead of settings.toml.

I've spent all day debugging this with little progress. The USB interrupt fires, enqueues the event but the tinyusb task never runs to pull from the queue. This happens after esp_wifi_start() is called.

todbot commented 3 months ago

@todbot and @tyeth do you have wifi credentials in settings.toml?

In my test two weeks ago, I did not have a settings.toml file. Nor did I test WiFi, just if the board came up on USB. I just now created a settings.toml on the FunHouse with that firmware, giving a proper CIRCUITPY_WIFI_SSID &CIRCUITPY_WIFI_PASSWORD and the device appeared to immediately reset and disappear off USB. The FunHouse display does come up and says "Wi-Fi: No IP | Done" but is otherwise a brick.