winc1500 WiFi Shield firmware upgrade fails

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
graham999au
 
Posts: 5
Joined: Wed Aug 04, 2021 11:24 pm

winc1500 WiFi Shield firmware upgrade fails

Post by graham999au »

I have the winc1500 WiFi Shield which reports a firmware version of 19.5.2.
CheckWifi101FirmwareVersion reports 19.6.1 is the latest update.
When I run FirmwareUpdater and then run the Updater from the IDE Tools menu and Test connection, I get a connection error that the programmer is not responding.
Is the shield updatable? What am I doing wrong?
Many thanks.

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: winc1500 WiFi Shield firmware upgrade fails

Post by mikeysklar »

What kind of controller are you running the WINC1500 shield on?

It is okay to stay at v 19.5.2.
If you're running 19.5.2 there is no need to update to 19.5.4, despite what the WiFi101 library says it should work just fine and you could brick your device by updating, it is not perfectly foolproof! Thanks :
https://learn.adafruit.com/adafruit-win ... g-firmware

User avatar
graham999au
 
Posts: 5
Joined: Wed Aug 04, 2021 11:24 pm

Re: winc1500 WiFi Shield firmware upgrade fails

Post by graham999au »

I am using an Arduino Mega2560

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: winc1500 WiFi Shield firmware upgrade fails

Post by mikeysklar »

The Mega2560 can be a difficult one to get going with the WINC1500.

I think the crux of it is the SPI pins on the Mega2560 are on pins 50-53 (SCK,MOSI,MISO,SS) also available through the ISP connector. This shield is probably expect pins 10-13 to have SPI, but they do not.

User avatar
graham999au
 
Posts: 5
Joined: Wed Aug 04, 2021 11:24 pm

Re: winc1500 WiFi Shield firmware upgrade fails

Post by graham999au »

I am using a Mega2560 rev3 which has the SPI signals on the ICSP connector. According to the documentation on the Adafruti website, the winc1500 expects these signals to be on this same connector.

https://learn.adafruit.com/adafruit-win ... no/pinouts

I think you may be referring to older Mega cards.

The shield is working, but my problem is TCP client.connect() blocks for 28 sec before timing out when looking for a connection. I was hoping the firmware update might fix this.

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: winc1500 WiFi Shield firmware upgrade fails

Post by mikeysklar »

Good points.

Are you running model B of the WINC1500? Just checking to confirm as that is required for some of the firmware updates.

I have not seen a successful update of the firmware using the Mega2560 (many have tried). We do have good reports with the Metro M4 Express and Grand Central M4.

viewtopic.php?f=31&t=149461

It looks like our Feather M0 was at one point having issues and the workaround was to update setPins in the FirmwareUpdater sketch.

https://learn.adafruit.com/adafruit-fea ... g-firmware

Are you using v0.16.1 of the WiFi library? Just wanted to confirm that was current too.

User avatar
graham999au
 
Posts: 5
Joined: Wed Aug 04, 2021 11:24 pm

Re: winc1500 WiFi Shield firmware upgrade fails

Post by graham999au »

Yes using v0.16.1. Very BANNED this shield has a major issue with client.connect() and firmware updates on Arduino Mega.
Thanks for your help.

User avatar
graham999au
 
Posts: 5
Joined: Wed Aug 04, 2021 11:24 pm

Re: winc1500 WiFi Shield firmware upgrade fails

Post by graham999au »

also forgot to say I am using the model B version of the winc1500

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”