Open nitin710 opened 2 weeks ago
Example of when it works correctly
[notice ] Device details: Port: COM10 ; Desc: USB Serial Device (COM10) ; VID: 239A ; PID: 800B
[notice ] Board Detected: Feather M0
[notice ] New COM port detected: COM10
[notice ] Feather found at: COM10
[notice ] UPDATING WINC FW: COMMAND: : data\WINC\FirmwareUploader.exe -port COM10 -firmware data\WINC\m2m_aio_3a0.bin
2024/06/19 10:33:39 Connecting to programmer
2024/06/19 10:33:39 Opened the serial port with baud rate 115200
2024/06/19 10:33:39 Sync with programmer
2024/06/19 10:33:39 Reading max payload size
2024/06/19 10:33:39 Flashing firmware from 'data\WINC\m2m_aio_3a0.bin'
2024/06/19 10:33:39 Erasing 359356 bytes from address 0x0
Flashing: 3%
Flashing: 8%ing: 4%
Flashing: 12%8%
Flashing: 16%ing: 12%
Flashing: 20%: 16%
Flashing: 24%0%
Flashing: 28%
Flashing: 32%shing: 29%
Flashing: 36%ng: 33%
Flashing: 40% 37%
When the FirmwareUploader.exe
fails, There is a programmer version mismatch. Which programmer is the console referring to?
[notice ] Device details: Port: COM9 ; Desc: USB Serial Device (COM9) ; VID: 239A ; PID: 800B
2024/06/17 16:45:24 Error: Programmer version mismatch: v
In another try, it failed once, but succeeded the second time. the console output looked like the following. Note that it says needed v10000.
[notice ] UPDATING WINC FW: COMMAND: : data\WINC\FirmwareUploader.exe -port COM11 -firmware data\WINC\m2m_aio_3a0.bin
2024/06/19 10:39:33 Connecting to programmer
2024/06/19 10:39:33 Opened the serial port with baud rate 115200
2024/06/19 10:39:33 Sync with programmer
2024/06/19 10:39:33 Error: Programmer version mismatch: v
(needed v10000)
2024/06/19 10:39:33 Waiting 1 second before retrying...
2024/06/19 10:39:34 Retrying upload (1 of 9)
2024/06/19 10:39:34 Connecting to programmer
2024/06/19 10:39:34 Opened the serial port with baud rate 115200
2024/06/19 10:39:34 Sync with programmer
2024/06/19 10:39:34 Reading max payload size
2024/06/19 10:39:34 Flashing firmware from 'data\WINC\m2m_aio_3a0.bin'
2024/06/19 10:39:34 Erasing 359356 bytes from address 0x0
Flashing: 3%
Flashing: 8%ing: 4%
Flashing: 12%8%
Flashing: 16%ing: 12%
Unable to recreate this issue reliably. The same Feather that initially showed this issue now updates WINC1500 without any issues..
Observation: It may have been because an Arduino instance was open somewhere with a Serial monitor attached to that port. It seemed like if a serial monitor was attached to that port, the WINC programmer failed.
Describe the bug EmotiBit Firmware updater is failing to update WINC FW.
Expected behavior
Additional details
To Reproduce Steps to reproduce the behavior:
Log
FirmwareInstaller-log.txt
In particular, notice