Sadly I am not able to connect to my own WiFi network with the exemplary sketch SimpleWebServerWiFi.ino .
What I am Receiving is an BUS error after the connection attempt: 20:51:51.821 -> Bus fault is caused by precise data access violation 20:51:51.954 -> The bus fault occurred address is 724c7856
I think it has to do with my WiFi Passphrase, which contains special chars. I already tried toi escape those with \. This has no effect.
I am also using a WPA 3 Network, but with WPA 2 compat mode. Both should be okay for the ESP32-S3:
Honestly not, as it will crash my Smarthome then.
But there should be a possibility to use ,special characters like ^~*#& and so on in the password, shouldn't it ?
I mean it is in the WPA standard.
I can try a hotspot with my mobile phone though
UPDATE:
Phone Hotspot works, seems to be passphrase related!
Hi, I did test with network settings below with special characters added and with each of the following security settings: WPA2-Personal, WPA2/WPA3-Personal and WPA3-Personal. There was no issue connecting to the IoT cloud.
I expect length has an impact, but there is more to it than passphrase only.
The TX buffer from the Renesas to the ESP32 / UNOR4 bridge is defined for 128 bytes.
If the CMD + SSID + passphrase + OTHER?? goes beyond that, it could be the root cause of the issue.
I made a special debug version of the UNOR4bridge on the ESP32. Used the WiFiWebClient-example-sketch and saw the SSID and the complete passphrase mentioned in this topic when trying to perform a connect....and NO bus error or other problems.. but of course not connecting as my network has a different SSID and passphrase. Hence my question about the sketch used.
P.s. The ESP32 WiFi can handle SSID up to 32 characters and passphrase 63 characters. (as by standard) So I don't assume that to be the issue..
I'm going to ask you to post the full verbose output from a compilation.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
Open the "ConnectWithWPA" example, just as you did before.
Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open.
Check the box next to "Show verbose output during: ☐ compilation" in the "Preferences" dialog.
Click the "OK" button.
Select Sketch > Verify/Compile from the Arduino IDE menus.
Wait for the compilation to finish.
Right click on the black "Output" panel at the bottom of the Arduino IDE window.
From the context menu, click Copy All.
Open a forum reply here by clicking the "Reply" button.
Click the <CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the compilation output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Click the "Reply" button to post the output.
In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:
Open a forum reply here by clicking the "Reply" button.
Click the "Upload" icon () on the post composer toolbar:
The "Open" dialog will open.
Select the .txt file you saved from the "Open" dialog.
Click the "Open" button.
The dialog will close.
Click the "Reply" button to publish the post.
Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.
I have now used the same sketch, same SSID and Passphrase, and standard UNOR4 bridge 030 (not a debug version) and nothing different. I even changed my network settings for test..... it just works as it should..
19:56:54.860 -> Attempting to connect to WPA SSID: TestWifi
19:57:14.105 -> You're connected to the networkSSID: TestWifi
19:57:14.138 -> BSSID: 41:8F:FB:43:D3:6A
19:57:14.138 -> signal strength (RSSI):-51
19:57:20.610 -> Encryption Type:2
19:57:20.610 ->
19:57:20.742 -> IP Address: 192.168.101.3
19:57:20.742 -> MAC address: DC:54:75:D1:4E:0C
19:57:31.196 -> SSID: TestWifi
19:57:31.229 -> BSSID: 41:8F:FB:43:D3:6A
19:57:31.229 -> signal strength (RSSI):-48
19:57:37.698 -> Encryption Type:2
....