WiFi Hangs when attempting to start WiFi (Adafruit M4 Express Airlift Lite board) #2
Description
Can anybody give me a pointer please :-)
Using out of the box example (say the Connect_WiFiNINA example in the MySQL_MariaDB_Generic folder) the code stops dead whenever WiFI.xxxxxxx is attempted
So in the case of this example, the code compiles, prints the first output line to the Serial Monitor then hangs for ever at the line
if (WiFi.status() == WL_NO_MODULE)
In the monitor window I get :
Starting Connect on SAMD51 ADAFRUIT_METRO_M4_AIRLIFT_LITE
I installed the MySQL_MariaDB_Generic library from the Arduino IDE Library manager
I upgraded the firmware on the Adafruit M4 Express Airlift Lite board to be latest 1.7.1 firmware
I have deleted the Arduino IDE
Deleted the sketches\library\MySQL_MariaDB_Generic folder
Reinstalled the 1.8.13 version of the IDE
Reinstalled the Adafruit drivers and boards
And every time I try to compile and run one of the MySQL examples it hangs on any attempt to run the WiFi code.
Using the same board, when I flip over to one of the standard WiFiNINA example sketches they are able to run and connect to my WiFi network so I know the board and WiFi network is good.
Arduino IDE: 18.13
Board: Adafruit M4 Express Airlift Lite
Sketch ibraries\MySQL_MariaDB_Generic\examples\WiFiNINA\Connect_WiFiNINA\ Connect_WiFiNINA.ino (only changed the SSID and Wifi Password
WiFiNINA Firmware : 1.7.1
Serial monitor output :
21:56:40.669 ->
21:56:40.669 -> Starting Connect on SAMD51 ADAFRUIT_METRO_M4_AIRLIFT_LITE
Code snip with the extra Serial.println line is below:
void setup()
{
Serial.begin(115200);
while (!Serial); // wait for serial port to connect
Serial.println("\nStarting Connect on " + String(BOARD_NAME));
// check for the WiFi module:
if (WiFi.status() == WL_NO_MODULE)
{
Serial.println("Communication with WiFi module failed!");
// don't continue
while (true);
}
Serial.println("Passed WiFi.status....");
Can anybody give me any pointers at all?
Thanks so much in advance!