• AVR Freaks

Hot!WILC1000 issues

Author
friesen
Super Member
  • Total Posts : 2056
  • Reward points : 0
  • Joined: 2008/05/08 05:23:35
  • Location: Indiana, USA
  • Status: offline
2018/10/19 06:38:26 (permalink)
0

WILC1000 issues

I am having an issue with the WILC1000 firmware version 4.3.4 from asf 3.43.
 
The issue is in station mode with certain phone hotspots in WPA PSK mode.
 
#1. If I turn off the phone hotspot, I always get an auth error.
#2. If the hotspot is re enabled, the wilc will connect, but something is wrong internally, and the module will eventually return M2M_ERR_MEM_ALLOC and will not recover without restarting the module.
#3. If an attempt is made to connect to a non existent wifi ap, the next attempt to connect to the phone hotspot will typically fail with an auth error, followed by the M2M_ERR_MEM_ALLOC  error.
#4. Some times the connection to the phone hotspot is successful, and DHCP gets an address, but then connectivity is lost, eventually failing with M2M_ERR_MEM_ALLOC
 
So my guess is something to do with the internal firmware on the wilc1000 is crashing from some aspect of the connection.
 

Erik Friesen
#1

2 Replies Related Threads

    friesen
    Super Member
    • Total Posts : 2056
    • Reward points : 0
    • Joined: 2008/05/08 05:23:35
    • Location: Indiana, USA
    • Status: offline
    Re: WILC1000 issues 2018/10/23 13:58:05 (permalink)
    0
    To the poor folks looking for tidbits about failure, here is an interim fix.
     
    Before every new connection attempt, reset the module by:
     
    cpu_start();
    wait_for_firmware_start();
    enable_interrupts();

    Erik Friesen
    #2
    friesen
    Super Member
    • Total Posts : 2056
    • Reward points : 0
    • Joined: 2008/05/08 05:23:35
    • Location: Indiana, USA
    • Status: offline
    Re: WILC1000 issues 2018/11/03 06:57:16 (permalink)
    0
    Next fix:
     
    Do not use a 10uF cap per datasheet instructions on 1.3v core, it apparently oscillates, perhaps the subsystem hiccups if there is a low esr cap on that pin.  I don't know why it is recommended, as none of the reference designs have any caps at all.

    Erik Friesen
    #3
    Jump to:
    © 2019 APG vNext Commercial Version 4.5