WINC1500 initialization error -5

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Hello All:

 

I'm testing a SAMD21 Xplained board with WINC1500 Xplained board attached at EXT1, but initialization code m2m_wifi_init(tstrWifiInitParam * param) fails with Error Code -5 (M2M_ERR_INIT).

Inside this function, the call to nm_drv_init(NULL); is the one failing and exiting with error.

 

I was able to update latest firmware, but it still failing.

 

Any help on this.

Regards;

 

Gus

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

there are many example applications available wrt to winc1500 in ASF you should have nm_drv_init(&u8WifiMode); where  u8WifiMode is  M2M_WIFI_MODE_NORMAL.

i think this would solve the issue!