Skip to content

v1.5.0-rc.2 (Photon/P1/Electron/Argon/Boron/Xenon/B SoM/B5 SoM)

Pre-release
Pre-release
Compare
Choose a tag to compare
@avtolstoy avtolstoy released this 06 Mar 23:18
· 3805 commits to develop since this release

Device OS 1.5.0-rc.2 Release Candidate is out on the Web IDE for (Photon/P1/Electron/Argon/Boron/Xenon/B SoM/B5 SoM)

released on March 6th, 2020


✅ This 1.5.0-rc.2 Release Candidate will be defaulted to 1.5.0 on March 20th, 2020 unless there are regressions found that require further patches. ✏️ Testing on your applications is encouraged and appreciated, thank you! 🙇


Note: This is a Release Candidate (RC) and is not intended for production yet. We've tested this RC to the best of our ability and we want to know what you think now! Please understand that some care and attention is necessary when testing this RC, and be sure to upgrade to the final release when it's available. This RC will not be available by default. To use you must select the version dropdown from the devices drawer. Downgrading back to the current release info is at the bottom of this post.

Note: OTA or YModem transfer on Electron (sequence required)

  1. First Update to 0.5.5 (if the current version is less than that)
  2. Then update to 0.6.4 (if the current version is less than that)
  3. Then update to 0.7.0 (if the current version is less than that)
  4. Then update to 1.2.1 (if the current version is less than that)
  5. Then update to 1.5.0-rc.2

Note: DFU over USB on Electron/Photon/P1 (sequence not required)

  • You may update to 1.5.0-rc.2 directly first, flash the system firmware (attached above) in order 1,2(,3) to the device using particle flash --usb <system-part.bin>. See the next note about the bootloader if you are offline!

Note: P1/Photon Bootloader
The Cloud will automatically update the bootloader on P1/Photon devices if your device is online. If your device does not connect to the cloud and it is offline, you should flash the bootloader to the device using particle flash --serial <bootloader.bin>. This should be done after upgrading system firmware. The Electron bootloader is applied automatically from it's own system parts.

Note: Argon/Boron/Xenon/B SoM/B5 SoM
If your device is offline, the bootloader must be manually updated using particle flash --serial <bootloader.bin>. This can be done before or after upgrading system firmware.

Note: Argon/Boron/Xenon/B SoM/B5 SoM SoftDevice
If your device is offline, the SoftDevice must be manually updated using the CLI. See the instructions below.

Note: Downgrading [Electron/Photon/P1] OTA or YModem transfer:
If you need to downgrade, you must downgrade to 1.2.1, then 0.7.0, then 0.6.3(Photon/P1), 0.6.4(Electron) to ensure that the bootloader downgrades automatically. When downgrading to older versions, downgrade to 1.2.1, then 0.7.0 first, then 0.6.3(Photon/P1), 0.6.4(Electron), then to an older version such as 0.5.5.

1.5.0-rc.2

Note: If your Gen 2 Photon/P1 or Gen 3 device does not have a Cloud connection, it is recommended to update system firmware, and then the bootloader via CLI with particle flash --serial bootloader.bin (bootloaders found in Github release). Electron bootloaders are still contained in system firmware and will update automatically as needed.
Note: If your Gen 3 device does not have a Cloud connection, this release will also require manually updating the SoftDevice via CLI. The instructions are available in the release notes and the SoftDevice binaries are available in the Github release.
This release contains v501 bootloaders.

SoftDevice update

This Device OS release will automatically update the SoftDevice for devices connected to the cloud.

Prerequisites

particle-cli version 2.0.1.

Upgrading OTA

  1. Upgrade to 1.5.0-rc.2
  2. Manually flash 1.5.0-rc.2 bootloader: particle flash <deviceId> boron-bootloader@1.5.0-rc.2.bin
  3. Flash SoftDevice: particle flash <deviceId> boron-softdevice@1.5.0-rc.2.bin

Upgrading using YModem

  1. Upgrade to 1.5.0-rc.2
  2. Put the device into listening mode (blinking blue) by holding MODE button
  3. Manually flash 1.5.0-rc.2 bootloader: particle flash --serial boron-bootloader@1.5.0-rc.2.bin
  4. Flash SoftDevice: particle flash --serial boron-softdevice@1.5.0-rc.2.bin

Upgrading using DFU (--usb only works for SoftDevice, not bootloader yet)

  1. Upgrade Device OS to 1.5.0-rc.2
  2. Update the bootloader to 1.5.0-rc.2 with the OTA or YModem process above
  3. Put the device into DFU mode (blinking yellow)
  4. Flash the SoftDevice: particle flash --usb boron-softdevice@1.5.0-rc.2.bin

FEATURES

  • Introduce configurable I2C buffer #2022
  • Support for > 255 I2C buffers and transfers, configurable timeouts #2035
  • Thread-safe cloud variables #1998

ENHANCEMENTS

  • [B5 SoM] Enable hardware flow control for Quectel modem during runtime and add support for EG91-EX #2042

BUGFIXES

  • [Workbench] Workaround for failing Device OS builds on Windows #2037
  • [Gen 2] platform: fix FLASH_Update() for unaligned writes #2036
  • Fixes the issue with SPI default SS pin being not configured #2039
  • [gcc] fixes builds on osx and enables usage of the latest gcc versions #2041
  • [Gen 3] Fixes renegotiation of options and adds IPCP packet parsing #2029
  • [Gen 3] Fix parsing of large AT command responses #2017
  • String::substring() unnecessarily modifies the source buffer #2026
  • [B5 SoM] Fix CGI for Quectel modems #2019
  • [Gen 2] Fixes socket leak in UDP.begin() #2031
  • [Gen 3] Fixes Serial.read() returning -1 instead of 0 when there's no data to read #2034
  • [Gen 3] Fixes BLE UUID conversion issue #1997
  • [wiring] Fixes a regression in SPI due to thread-safety additions from #1879 #2023

INTERNAL

  • [test] unit: fixes Print tests failing #2027
  • [B5 SoM] Change the prefix of BLE broadcasting name for B5SoM #2030
  • update workbench manifest with latest buildscripts dependency #2020

System Binaries (all devices)

https://github.com/particle-iot/device-os/releases/download/v1.5.0-rc.2/particle_device-os@1.5.0-rc.2.zip


Programming and Debugging

You can view specific programming and debugging notes for this version of firmware here.

QA Report Summary for Particle Device OS

You can view results of tests run this release here.