Firmware upgrade bug from 5.1.1.16026 to 6.2.5.16868 with Notecarrier A

I’m documenting either a bug, or perhaps this is in the documentation, which I haven’t found yet.

I upgraded the firmware on a Notecarrier A (with Notecard NOTE-WBNA-500) using OTA DFU with Notehub protocal

The firmware upgrade worked except for the fact that the Notecarrier failed to see the attached BME280 sensor giving only the following output

> {"req": "card.aux"}
{
 "mode": "track",
}

To resolve this issue, I had to set the Notecarrier back to the default configuration. Only then, was the BME280 sensor read correctly.
Here is that reset with the correct responses:

> {"req": "card.restore", "delete": true}
{}

> {"req": "hub.set", "product": "com.gmail.xxxx", "mode": "periodic"}
{}

> {"req": "hub.sync"}
{}

> {"req": "hub.get"}
{"mode":"periodic","host":"a.notefile.net","product":"com.gmail.xxxx","device":"dev:xxxx69623"}

> {"req": "card.voltage", "usb": true, "alert": true, "sync": true}
{"usb":true,"alert":true,"mode":"usb","value":5.076108630173553,"calibration":0.35,"sync":true}

> {"req": "card.location.mode", "mode": "periodic", "seconds": 1800}
{"seconds":1800,"mode":"periodic"}

> {"req": "card.location.track", "start": true, "heartbeat": true, "hours": 1, "sync": true}
{"start":true,"hours":1,"heartbeat":true,"sync":true}

> {"req": "card.aux", "mode": "track"}
{"mode":"track","temperature":27.378273782463896,"pressure":99474.64740809557,"humidity":63.62531812004408}

> {"req": "card.aux"}
{"mode":"track","temperature":27.378273782463896,"pressure":99474.64740809557,"humidity":63.62531812004408}

This configuration is also documented here

Thanks @johnedstone for such a well-documented report! I am going to try and reproduce this today and will get back to you ASAP.

Thanks,
Rob

Hi @johnedstone,

Well, fortunately/unfortunately I was not able to replicate this bug. I took a WBNA Notecard, performed a factory reset on it, changed the firmware to LTS 5.1.1, and then followed the commands you issued. I upgraded firmware to LTS 6.2.5 and then issued a card.aux request and it recognized the BME 280 immediately:

> {"req": "card.aux"}
{
 "mode": "track",
 "temperature": 25.214234621723882,
 "pressure": 98802.08661858845,
 "humidity": 44.329888230843586
}
> bootloader
~ Disconnected from serial
Hint: Disconnected terminal for firmware update
~ Connected to serial
~ DeviceUID dev:868050045745425 (NOTE-WBNA-500) running firmware 6.2.5.16868
> {"req": "card.aux"}
{
 "mode": "track",
 "temperature": 25.25117800091054,
 "pressure": 98802.83204919081,
 "humidity": 44.77338853168267
}

I’m struggling to think of what else may have happened. Any power cycling of the device at any stage?

Hm?
Well

  • thanks for walking through this, “end-to-end”
  • no, no power issues during the upgrade
  • I’m actually glad you had no problem, and that it worked as expected, as this means that
    • maybe this was a “one off”, and that if I had a “fleet” of them it wouldn’t really be an issue.

We can put this “case” aside for awhile, and if no one else ever an issue, well, no problem.
Thanks again.