# \[solved\] Can upgrade Electron OTA but not from CLI

**URL:** <https://community.particle.io/t/solved-can-upgrade-electron-ota-but-not-from-cli/20209>\
**Category:** Troubleshooting\
**Created:** [February 19, 2016, 6:43am UTC](https://community.particle.io/t/solved-can-upgrade-electron-ota-but-not-from-cli/20209 "2016-02-19T06:43:01Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![aj8uppal](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/aj8uppal/32/3522_2.png) [@aj8uppal](https://community.particle.io/u/aj8uppal)\
**Post date:** [March 14, 2016, 4:11pm UTC](https://community.particle.io/t/solved-can-upgrade-electron-ota-but-not-from-cli/20209/8 "2016-03-14T16:11:40Z")

</div>

I still cannot get to work with the Electron in listening mode.

updated particle-cli  
Chose Electron a the target on “devices” in the Cloud IDE  
built firmware.bin using the Cloud IDE  
downloaded firmware.bin  
put Electron in Listen mode  
tried to " sudo particle flash --serial firmware.bin"  
Also tried w/o sudo, no difference.

Sometimes I get an “undefined” error, sometimes I get the Assertion failed error.

---

_[View the full topic](https://community.particle.io/t/solved-can-upgrade-electron-ota-but-not-from-cli/20209)._
