Updating software - Breezedude/breezedudeWindSensor GitHub Wiki
The firmware of the Breezedude can be updated by drag&drop of uf2 files.
โ ๏ธ Do not blindly upgrade your Breezedudes firmware if its properly working.
๐งช Test coverage & plan
โ The test coverage does only include current hardware versions.
โ Older hardware or deviations might work as well, but are not under test coverage. Update at your own risk and create a backup before. Check for compatibility first.
โ Before releasing a new firmware the following tests are performed:
- different sensors:
- WS85 UART
- WS80 (quick check)
- DAVIS 6410 (quick check)
- avg. power consumption: < 1.25mA
- 1 week long term stability test (WS85 UART, outdoor): monitor for continuous operation & battery drain
- undervoltage test: power save mode & cutoff at low battery
- USB MSC functionality (settings file)
- UART debugging messages
๐ซ No/limited test coverage for:
- USB debug mode
- I2C display
- alternative barometric pressure sensors
- alternative LoRa radios
- special functions (CPU freq. switching, debug modes)
๐พ Backup & Restore
You can create a backup of your device (including settings file) by copying the current.uf2 file from BREEZEBOOT. To restore just drag & drop it on the device again (see updating).
โ๏ธ Updating the firmware
- Connect the Breezedude to your computer via USB
- Press reset button twice. The blue LED should fade slowly and a USB mass storage device "BREEZEBOOT" should be detected on your computer
- get the latest .uf2 firmware file in release section and copy it on the root of the Breezedude flash drive
- the Breezedude will restart automatically and connect as a mass storage device containing the settings file
๐ฒ Updating the bootloader
A bootloader update is only required, when you are asked to do so.
- Connect the Breezedude to your computer via USB
- Press reset button twice. The blue LED should fade slowly and a USB mass storage device "BREEZEBOOT" should be detected on your computer
- copy the .uf2 bootloader update file on the root of the Breezedude flash drive
- the Breezedude will restart automatically.
- Check bootloader version in INFO_UF2.TXT
๐งฐ WS80/85/90 firmware update
The WS80/WS85/WS90 firmware should be updated according to the manual and tools provided by ecowitt.
For WS85 you can also use the WebUpdater
For anyone would like to play adround with J-Link programmer, this are the SWD pins on WS85:
- SWDIO: T17
- SWDCLK: T18
I used a speed of 100, otherwise got errors. Maks sure to not completely erase the flash, as the bootloader is not included in the FW update files. If you did by accident, I can provide a flash readback.
โ ๏ธ Check firmware compatibility notes in Breezedude compatible sensor section before upgrading your firmware.
โ ๏ธ If you have a early development board before V2.2 (with heater support) stay with firmware V0.6. After V0.6 this board is no longer supported. Contact me for hardware upgrade