Skip to content
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

Unable to connect to WiFi #367

Open
steveh opened this issue Sep 9, 2024 · 5 comments
Open

Unable to connect to WiFi #367

steveh opened this issue Sep 9, 2024 · 5 comments

Comments

@steveh
Copy link

steveh commented Sep 9, 2024

Running on a Tulip CC with unmodified tulip-firmware-TULIP4_R11.bin.

Attempting to connect to a random neighbours network (with the wrong password) returns an empty prompt after a second or two.

>>> tulip.wifi('neighbours-wifi', 'wrong-password')
>>>

Connecting to my wifi, with the right password or the wrong password, crashes the system.

>>> tulip.wifi('my-wifi', 'right-password')
E (7753) intr_alloc: No free interrupt inputs for AES interrupt (flags 0xE)
E (7754) esp-aes: Failed to allocate AES interrupt 261

abort() was called at PC 0x4210da9c on core 0


Backtrace: 0x4037599e:0x3fcddec0 0x40383f59:0x3fcddee0 0x4038b242:0x3fcddf00 0x4210da9c:0x3fcddf70 0x4210d449:0x3fcddfa0 0x42103a21:0x3fcddfc0 0x4213cf0a:0x3fcddfe0 0x42140fae:0x3fcde1f0 0x421428d0:0x3fcde210 0x4213c2c5:0x3fcde5f0 0x4212434f:0x3fcde660 0x421253de:0x3fcde6b0 0x421294df:0x3fcde6d0 0x421260dd:0x3fcde750 0x4212ceb4:0x3fcde770 0x4212d2ba:0x3fcde7c0 0x4212e181:0x3fcde810 0x4212e1fc:0x3fcde890 0x42127938:0x3fcde8e0 0x42127d8b:0x3fcde930 0x4212c77b:0x3fcde960 0x4212c79a:0x3fcde980 0x4212c310:0x3fcde9a0 0x4212c593:0x3fcde9c0 0x4216d185:0x3fcde9e0




ELF file SHA256: 74ff440f3

Rebooting...
�ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40376160
SPIWP:0xee
Octal Flash Mode Enabled
For OPI Flash, Use Default Flash Boot Mode
mode:SLOW_RD, clock div:1
load:0x3fce3810,len:0xf08
load:0x403c9700,len:0x4
load:0x403c9704,len:0xbb0
load:0x403cc700,len:0x2acc
entry 0x403c98a0
Starting MIDI on core 0
UART MIDI running on core 0
Starting USB host on core 1
Starting display on core 0
Starting touchscreen on core 0
Resetting touch i2c RST pin twice
this is the TULIP SPECIAL esp_lcd
Starting Alles on core 1
i2s started blck 8 dout 5 lrck 2
StaStarting Sequencer (timer)

err for writing to 0x5D is 0 ESP_OK
MicroPython v1.20.0-244-g2ede7c6c2 on 2024-09-07; TulipCC with ESP32S3
Type "help()" for more information.
>>>

My guess is that something about my WiFi is not implemented in TulipCC. WPA3 perhaps. I worked around it by resetting my network settings back to their automatic values. FWIW it works with an ESP8266 on ESPHome.


For reference, here's how my Unifi UDM-SE and AP was configured:

CleanShot 2024-09-09 at 21 11 30@2x

@bwhitman
Copy link
Collaborator

Hi! I checked out these errors and i'm afraid i don't know how i can help just yet. I haven't seen Failed to allocate AES interrupt reported anywhere else online and am not sure where it's coming from. We do support WPA3, I believe (it's turned on in the chip support settings). I'd love to help figure this out, so will try to investigate a bit more in the esp-idf source to see what that error can mean.

@steveh
Copy link
Author

steveh commented Sep 10, 2024

@bwhitman
Copy link
Collaborator

OK, I think the next step is to wait for #315 , and hope they've made some bug fixes to support your wifi setup .

@michael-hatz
Copy link

I ran into the same problem and played around a bit - WPA3 and WPA2/WPA3 networks don't seem to work. Trying to connect to them with a correct password will crash the device. Changed to WPA2 and it did work without problems.

@bwhitman
Copy link
Collaborator

OK, thanks for the update. Let's hope that the later ESP-IDFs fix this issue, we'll be upgrading those soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants