makerdiary / pitaya-go

An Open-Source IoT Development Platform with Multiprotocol Wireless Connectivity
https://wiki.makerdiary.com/pitaya-go/
MIT License
67 stars 9 forks source link

WINC1500 firmware update #9

Open verjus opened 3 years ago

verjus commented 3 years ago

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!

caizelin commented 3 years ago

@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.

verjus commented 1 year ago

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