# Determine Electron firmware version

**URL:** <https://community.particle.io/t/determine-electron-firmware-version/26294>\
**Category:** Firmware\
**Created:** [October 4, 2016, 3:27pm UTC](https://community.particle.io/t/determine-electron-firmware-version/26294 "2016-10-04T15:27:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![joky](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@joky](https://community.particle.io/u/joky)\
**Post date:** [October 4, 2016, 3:27pm UTC](https://community.particle.io/t/determine-electron-firmware-version/26294/1 "2016-10-04T15:27:13Z")

</div>

Hi guys,

I’ve a electron somewhere out there and it had 0.5.2 during delivery.  
I tried to update using cli (`particle flash E02 system-part1-0.5.3-electron.bin`, `particle flash E02 system-part2-0.5.3-electron.bin`), but the log did only show spark/flash/status “started” but no finished or similar.

If I select the electron in the “build”-module the version shown is still 0.5.2.

Is this the (only?) reliable way to determine the current firmware?

kind regards

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [October 4, 2016, 3:29pm UTC](https://community.particle.io/t/determine-electron-firmware-version/26294/2 "2016-10-04T15:29:58Z")

</div>

`particle serial inspect` and `particle identify` are the better ways.  
In Build you might have to clear the cache to get a more reliable result.

---

<div class="post-metadata">

**Author:** ![joky](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@joky](https://community.particle.io/u/joky)\
**Post date:** [October 4, 2016, 3:38pm UTC](https://community.particle.io/t/determine-electron-firmware-version/26294/3 "2016-10-04T15:38:15Z")

</div>

> [@ScruffR](#):
>
> particle identify

okay, i should point out that _somewhere out there_ means about 200km away in my customers restricted area. `particle serial inspect` or identify is no option,..

Is there no note in the log confirming an successful flash of an electron? or any other way to determine the version (yet)?

---

<div class="post-metadata">

**Author:** ![joky](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@joky](https://community.particle.io/u/joky)\
**Post date:** [October 4, 2016, 4:12pm UTC](https://community.particle.io/t/determine-electron-firmware-version/26294/4 "2016-10-04T16:12:11Z")

</div>

hmm,… not sure if it was in the docs before 😄

[quote]System.version()  
Determine the version of system firmware available. Returns a version string of the format:  
MAJOR.MINOR.PATCH  
Such as “0.4.7”.[/quote]

```
Particle.publish("System-Version: ", System.version());

```

In addition I want to point out that after a successful upgrade it publishes an event named “spark/flash/status” with data success.

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [October 4, 2016, 6:07pm UTC](https://community.particle.io/t/determine-electron-firmware-version/26294/5 "2016-10-04T18:07:35Z")

</div>

Yup, if you were looking for a way how your own code could tell, then this was there since - … well … - 0.4.7 and now we are at 0.5.3 😉

---

<div class="post-metadata">

**Author:** ![developer\_bt](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/developer_bt/32/1311_2.png) [@developer\_bt](https://community.particle.io/u/developer_bt)\
**Post date:** [October 4, 2016, 7:09pm UTC](https://community.particle.io/t/determine-electron-firmware-version/26294/6 "2016-10-04T19:09:56Z")

</div>

Hello @joky  
Today I update via OTA one electron from version 0.5.2 to version 0.5.3 and I noticed the same thing.  
After the update (you can supervise the activity and when completed via console logs), in the WEB IDE will again displayed as 0.5.2. To solve this problem need to flash the same program with version 0.5.2. Once the flash is complete, in the Setting option needs to click option clear cache. Then this will show as the 0.5.3.

---

<div class="post-metadata">

**Author:** ![joky](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@joky](https://community.particle.io/u/joky)\
**Post date:** [October 5, 2016, 8:22am UTC](https://community.particle.io/t/determine-electron-firmware-version/26294/7 "2016-10-05T08:22:39Z")

</div>

thank you for this hint!

unfortunately the OTA update failed for some reason ☹
