pitaya-go icon indicating copy to clipboard operation
pitaya-go copied to clipboard

WINC1500 firmware update

Open verjus opened this issue 3 years ago • 2 comments

It appears that Microchip has recently released a new firmware update (19.7.3):

19.7.3 Release Notes

Firmware FW_19_7_3

Could you please advise if it's safe to update? Also, I don't have access to a windows machine, is it possible to use the serial_bridge_usb_pitaya_go_vx.x.x.hex with a Linux machine?

Thanks!

verjus avatar Jun 06 '21 23:06 verjus

@verjus We are testing v19.7.3 and will post a tutorial if it's ready. Currently the used update tool is under windows machine, but a python script will be available soon. Just follow this issue and I will notify you. Thanks.

caizelin avatar Jun 07 '21 05:06 caizelin

Answering my own questions.... May be useful to others.

I was able to update the firmware on Linux using the following steps:

  1. nrfjprog -f nrf52 --program serial_bridge_usb_pitaya_go_v1.0.0_mbr.hex --sectorerase
  2. nrfjprog -f nrf52 --reset
  3. Find the serial port using dmesg (e.g. ttyACM2: USB ACM device)
  4. git clone https://github.com/Microchip-MPLAB-Harmony/wireless_wifi.git
  5. cd wireless_wifi/utilities/wifi/winc/tools/
  6. chmod +x winc_programmer_uart
  7. chmod +x image_tool
  8. cd ../../../
  9. ln -s wifi/winc/tools/ .
  10. cd wifi/winc/
  11. ./winc_flash_tool.sh -p /dev/ttyACM2 -d WINC1500 -v 19.7.6 -e -x -i prog -w
  12. Done!

This seems to work for me, but proceed at your own risks. I take no responsibility for bricked devices!

Full instructions can be found here

verjus avatar Sep 11 '22 22:09 verjus