-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Randomly no image when powering on GBS-C #480
Comments
Plugged in the GBS-C power 10+ seconds after Wii, and get no image. The Arduino serial monitor woke up after plugging in power, but I see no activity on the USB serial port, no I'll have to figure out where in the boot process this stalled. I don't know if the Arduino serial monitor would've woken up like it did, if If the ESP8266 is hung, I'm not sure why the hardware watchdog timer wouldn't reset it to a known good state. Either it's stuck in an infinite loop or softlocked state which feeds the watchdog to prevent a reset, or it failed to startup altogether (possibly due to a low-voltage brownout start?) and software debugging is futile. I may or may not have gotten this issue prior to installing my cooling fan, I don't remember and it's hard to rule out intermittent issues (eg. unplugging the fan and rebooting dozens of times). |
my primary suspicion is that the esp failed to power up altogether. unfortunately I have less information than I like, since early prints are lost during even successful boots. i edited my code to flash the led 5 times on setup(). Next time I encounter a black screen, if the LED flashes the ESP dies after setup() starts. If it never flashes, there's a hardware problem or a crash in the code that runs before setup() (either ESP SDK code or a static variable's constructor, ugh). |
Haven't gotten any image loss in a month or so. I'm suspecting a brownout event where the GBS draws too much power for the 5V charger (or the GBS/ESP's step-down regulators) on startup, and sleeping for 500ms (or more? IDK, I could probe the voltage lines with a scope) might be enough to prevent it from ever happening. It could also be caused by a long USB cable plugged into the ESP (with the ESP's USB 5V trace cut) with a large ferrite bead around it, causing power transmission line ripple? I doubt it's affecting power considering the ESP's 5V line is cut, but |
Did some quick scope testing:
I'd sleep 500ms on power-up before doing any sort of intensive work on the ESP or talking to hardware. |
In custom passthrough mode (and IIRC fixed passthrough), connected to a Wii over component, randomly when I power on the GBS and ESP, the GBS-C will fail to initialize and display an image. When I connected to the ESP over serial after the fact, it did not respond to serial commands. I do not know what went wrong during the boot process, as I did not have a USB serial console connected.
I'll have to get a boot log capture before debugging further. I tried plugging in the GBS at various points during Wii startup, but could not replicate the issue.
The text was updated successfully, but these errors were encountered: