-
Notifications
You must be signed in to change notification settings - Fork 52
Beta 89 does not connect board to IO service and restarts board every minute #628
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
Comments
@Timeline8 Are you able to obtain the output from the serial monitor when this occurs? What does the boot text file on the WIPPER drive say? |
I will try to obtain both those this evening when I am back at home. Stay tuned. |
Interesting. Says it can't find WiFi network. Boot text as follows: and serial output is |
Another issue: https://forums.adafruit.com/viewtopic.php?t=213422 |
I've done a bit of preliminary investigation. The root cause of the bug is not directly related to WipperSnapper, but is caused by the board support package (BSP) we use for ESP32 devices. Specifically, the latest release of the arduino-esp32 BSP (v3.1.0-RC1) has introduced a bug that breaks WiFi scanning functionality. ESP32-x boards running WipperSnapper Beta 89 use this BSP version. In WipperSnapper, we perform a scan for the WiFi network specified in secrets.json. If the network is not found - the device reboots. As a result, WipperSnapper devices are repeatedly detaching and reattaching because they are unable to successfully find the WiFi Access Point (AP) due to the broken WiFi scanning in the BSP. Related issues: While a patch (espressif/arduino-esp32#10282) has been proposed to address this issue, espressif releases a new version of the BSP on their schedule and we do not have influence over when they release. Today, I'll look at rebuilding WipperSnapper on a more stable BSP and try to release Beta 90, fixing this WiFi scanning issue. |
This is why we leave it to you wicked sm'aht programming types to figure this stuff out for us. ;) I am confident you will have a solution soon and I will be happy to give it a test. I am in no hurry personally since I use the IO service through the CircuitPython library, but I am sure there are people who want to give wippersnapper a try and they are confused when they can not get it to work. Good luck with the rebuild. |
Thanks for providing me with enough information to help figure it out. I am in the middle of WipperSnapper 1.0.0 and noticed this happening yesterday but chalked it up to the non-beta version until I saw others were having the same issue. |
You can just allocate the struct and completely wipe it yourself before using it. |
@TD-er Interesting, I did not realize that. I'll try this solution out locally. Thanks! |
Problem is the newly introduced channel bitmap struct is not properly initialized. So just to be sure you're not missing anything, it is best to completely memzero all of the struct. |
@Timeline8 I've released Beta 90, please give it a try! @TD-er Thank you for your help and the clarifications on what exactly is happening. I will work on our build toolchain so we can quickly patch arduino-esp32 bsp and move without relying on releases. |
Yep, I can confirm that now my S3 Reverse TFT Feather running beta 90 works. I power cycled the board and still see the drive and I was able to hook right up to IO share, pressed buttons, played with the NeoPixel, ran my data rate over the 30 of 30 for my free account... OOPS... hope none of my boards sending data to their feeds don't crash. Now where do I send my suggestions for improving the IO service web page as I noticed that it is kind of annoying to add a board when it is already detected and you don't need the step by step instructions. I assume this is a website thing? Nice job, Brent. |
Awesome, glad it's working for you!
Go to https://io.adafruit.com/support -> Contact Support -> "I have a suggestion for Adafruit IO" |
Thanks, I just put in my two cents worth of a suggestion. |
Describe the bug
Beta 89 was released to address an issue with the WIPPER board not being shown. However Beta 89 does not work. Boards loaded with 89 do not connect to the IO service with the Secrets files properly populated and while the WIPPER drive does show up now, boards continuously disconnect and reconnect to the computer about once a minute.
Arduino board
I found this to be true on both a Qt Py S3 and a Feather ESP32-S3 Reverse TFT.
In addition this has now been reported two more times by other users on the Adafruit forums...
https://forums.adafruit.com/viewtopic.php?t=213405 (Qt Py S2)
https://forums.adafruit.com/viewtopic.php?p=1028596 (Funhouse)
To Reproduce
See previous discussion on issue #591
Expected behavior
I expect the board to not reboot over and over and to be recognized by the IO service.
Which components are connected to your device
Nothing else.
Desktop (please complete the following information):
Mac OS 14.6.1 (23G93)
Chrome Version 128.0.6613.121 (Official Build) (x86_64)
The text was updated successfully, but these errors were encountered: