Hello
I own an OPTA Wifi board that seems to have an issue, not sure if it is software or hardware.
When i call wifi.begin(), the mbed OS crashes (red led blinking 4 times slowly and then fastly).
I have found that writing to the serial port just before invoking wifi.begin seems to avoid the issue, and so this is making the opta examples with WiFi working.
For example, the WiFiSSLClient example from the IDE is working correctly, but if I add a :
delay (1000);
just before wifi.begin, mbed OS is crashing.
I though that there was a powering issue, but the same is occuring when I plug the OPTA in a strong USB power supply.
I tried to play the memory partitionning and WiFi firmware update sketches with no success.
Do somebody ran in the same problem. Is this a known issue? is there a workaround?
I'm using Arduino IDE 2.3.4. Reported Wifi Firmware is 1.94.0
This basic code is crashing the OPTA if place on the setup function, unless I remove the delay (1000); line :
while (status != WL_CONNECTED)
{
Serial.println(ssid); //if not immediately before wifi.begin, mbed will crash
delay(1000);
status = WiFi.begin(ssid, pass);
}
Thanks for reading ![]()
Edit :
-> I double checked for power supplies issues, same issue is present when powering from the USB port of my computer, an independant USB power supply or a 24V industrial power supply.
-> nothing else is connected to OPTA
-> if an intentionnaly wrong SSID is used, the OPTA is NOTcrashing. If an intentionnaly wrong PSK is used with a good SSID, the OPTA IS crashing. So I guess it is crashing only when it tries to transmit something