Skip to content

v0.2.3 Firmware Release for Duo

Compare
Choose a tag to compare
@XuGuohui XuGuohui released this 11 Mar 06:35
· 1897 commits to duo since this release

2nd mass production firmware since 2016/04/20

Updating System Firmware

The OTA method (supported since v0.2.0 )

For devices already online and connected to the cloud, the system firmware can be updated OTA using these commands:

If your device is online, you can attempt to OTA (Over The Air) update these system parts as well with the particle-cli:

Note: You must download system binaries to a local directory on your machine for this to work.

particle flash YOUR_DEVICE_NAME duo-system-part1-v0.2.3.bin
particle flash YOUR_DEVICE_NAME duo-system-part2-v0.2.3.bin

The local DFU-UTIL method

  • Put your device in DFU mode (flashing yellow LED)
  • open a terminal window, change to the directory where you downloaded the files below, and run these commands:

dfu-util -d 2b04:d058 -a 2 -s 0x140000 -D duo-fac-tinker-v0.2.3.bin
dfu-util -d 2b04:d058 -a 0 -s 0x8020000 -D duo-system-part1-v0.2.3.bin
dfu-util -d 2b04:d058 -a 0 -s 0x8040000:leave -D duo-system-part2-v0.2.3.bin

FEATURES

  • Support updating system-part1, system-part2 and factory reset firmware via local TCP/IP during the same connection
  • Add JSON command to invalid user part
  • BLE central can now connect to peripherals and perform read, write and receive notification

ENHANCEMENTS

  • Remove the crc32 calculation function when uploading sketch via avrdude, since the crc32 is appended to the compiled binary on the Arduino IDE side
  • Add a ring buffer for staging the data to be notified to GATT client
  • Add a thread to dealing with BLE events, instead of by invoking ble.loop() in the sketch
  • Update BTStack library

BUGFIXES

  • BLE RSSI display incorrectly
  • If change the password for a stored WiFi credential using BLE provision, it makes no effect

Any other features, enhancements and bug fixes, please refer to the change-log of upstream