I’m trying to update the winc1500 firmware without success.
I have no problems with the old firmware which is 19.6.1.16761, only wanted to verify that the update procedure works.
I followed this tutorial by Microchip which was was recommended by @mmmtang
and the GHI Tutorial:
-WiFi
I downloaded the latest firmware from:
-https://ww1.microchip.com/downloads/en/DeviceDoc/ATWINC1500_FW_19_7_3_02NOV2020.zip
unzipped and got the file ‘m2m_ota_3a0.bin’
I installed a fileserver program hfs.exe from https://www.rejetto.com on my PC and loaded the firmware file to the fileserver.
I made a TinyCLR application:
-GitHub - RoSchmi/FezFeather_WiFi_firmware_Update
to start the firmware update with the command:
bool success = GHIElectronics.TinyCLR.Drivers.Microchip.Winc15x0.Winc15x0Interface.FirmwareUpdate("http://192.168.1.24:8000/m2m_ota_3a0.bin", ( 3 * 60 * 1000)); // 3 minutes
which was not successful.
I could not see that anything connec to the fileserver program.
However if I open a socket to the server in my test-app I could see, that the Winc1500 module can connect
var s = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
try
{
var ip = IPAddress.Parse("192.168.1.24");
s.Connect(new IPEndPoint(ip, 8000));
}
catch (Exception ex)
{
Debug.WriteLine(ex.Message);
}
With wireshark I can see that the socket connection can be established with the test code but with the FirmwareUpdate command I can see no activity at all.
What can I be doing wrong?