Can the community guide me to a link showing how to update the Xenon’s firmware via USB.
I have an Electron whose firmware has been always updated via USB. However, in that case, when I connect the Electron to my USB, I can see that the PC recognizes it as a serial device. After that I gave the command:
particle flash --serial firmware.bin
In the case of the Xenon, after plugging it in, the computer does not see it. Is there a different driver?
There are several reasons why a Xenon won’t communicate by serial:
If you are using Windows, make sure you update the Particle CLI (current version is 1.36.0) using:
Older versions don’t have drivers compatible with mesh devices. The Mac and Linux can communicate without a driver.
A factory new Xenon does not have regular serial mode support (CDC). You need to upgrade the device first by DFU (blinking yellow) before it will have serial access.
particle flash --usb hybrid-0.8.0-rc.26-xenon.bin
This isn’t the problem you’re seeing, but in normal operating mode (breathing cyan), a mesh device will not show up a serial device unless it calls Serial.begin(). Tinker does not, so a device running Tinker doesn’t show up a serial device. It will show up in listening mode (if the first two criteria are met, above).