AnsweredAssumed Answered

LPC54018 aws examples fail to initialize WIFI  when launched with MCUxpresso 10.1.1

Question asked by Quilez on Mar 21, 2018
Latest reply on May 9, 2018 by Brendon Slade

When launching aws examples for the IOT module with the MCUxpresso 10.1.1 debug , I keep blocked in the wifi initialization as follows:

 

0 0 [Tmr Svc] Starting key provisioning...
1 4 [Tmr Svc] Write root certificate...
2 7 [Tmr Svc] Write device private key...
3 27 [Tmr Svc] Write device certificate...
4 45 [Tmr Svc] Key provisioning done...
5 51 [Tmr Svc] Starting WiFi...

 

because WIFI_On() always fails so code is blocked in the following assert:

 

result = WIFI_On();
assert(eWiFiSuccess == result); 

 

Nevertheless, if not using MCUXpresso, and I unplug the usb iotmodule and re-plug and press reset button the wifi initalization is OK:

 

0 0 [Tmr Svc] Starting key provisioning...
1 0 [Tmr Svc] Write root certificate...
2 1 [Tmr Svc] Write device private key...
3 12 [Tmr Svc] Write device certificate...
4 21 [Tmr Svc] Key provisioning done...
5 23 [Tmr Svc] Starting WiFi...
6 1652 [Tmr Svc] WiFi module initialized.

 

I am using MacOS High Sierra 

 

Thank you in advance for your support,

Roberto

Outcomes