# Particle CLI cant load Firmware Binary - Electron

**URL:** <https://community.particle.io/t/particle-cli-cant-load-firmware-binary-electron/20786>\
**Category:** Firmware\
**Created:** [March 5, 2016, 10:29pm UTC](https://community.particle.io/t/particle-cli-cant-load-firmware-binary-electron/20786 "2016-03-05T22:29:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![evk02](https://avatars.discourse-cdn.com/v4/letter/e/7ea924/32.png) [@evk02](https://community.particle.io/u/evk02)\
**Post date:** [March 5, 2016, 10:29pm UTC](https://community.particle.io/t/particle-cli-cant-load-firmware-binary-electron/20786/1 "2016-03-05T22:29:30Z")

</div>

I have downloaded the binary, but cannot upload to Elektron.  
Basically I have the same problem as here [Particle CLI cant load Firmware Binary - Electron - AT&T data card [Solved]](https://community.particle.io/t/particle-cli-cant-load-firmware-binary-electron-at-t-data-card-solved/20515), except reinstalling nodejs and particle cli does NOT solve the problem.

So I downloaded the firmware binary and trying to flash it to Elektron via USB using Linux Mint and particle cli.

```nohighlight
myuser@laptop ~/Documents/Particle $ nodejs --version
v0.10.37
myuser@laptop ~/Documents/Particle $ particle --version
1.11.0
myuser@laptop ~/Documents/Particle $ particle identify
Your device id is myDeviceID
Your IMEI is myIMEI
Your ICCID is myICCID
Your system firmware version is 0.4.8
myuser@laptop ~/Documents/Particle $ particle flash --serial blink.bin
! PROTIP: Hold the SETUP button on your device until it blinks blue!
? Press ENTER when your device is blinking BLUE 
sending file: blink.bin

! serial: 
Error writing firmware...TypeError: Cannot call method 'copy' of undefined
TypeError: Cannot call method 'copy' of undefined
    at Function.Buffer.concat (buffer.js:499:9)
    at Object.YModem._sendPacket (/usr/lib/node_modules/particle-cli/lib/ymodem.js:179:20)
    at Object.YModem._sendFileHeader (/usr/lib/node_modules/particle-cli/lib/ymodem.js:173:15)
    at start (/usr/lib/node_modules/particle-cli/lib/ymodem.js:147:17)
    at runTask (/usr/lib/node_modules/particle-cli/node_modules/when/pipeline.js:37:16)
    at /usr/lib/node_modules/particle-cli/node_modules/when/pipeline.js:42:12
    at tryCatchResolve (/usr/lib/node_modules/particle-cli/node_modules/when/lib/apply.js:46:23)
    at callAndResolve (/usr/lib/node_modules/particle-cli/node_modules/when/lib/apply.js:30:12)
    at callAndResolveNext (/usr/lib/node_modules/particle-cli/node_modules/when/lib/apply.js:40:4)
    at tryCatchReject3 (/usr/lib/node_modules/particle-cli/node_modules/when/lib/makePromise.js:856:7)

```

What I am doing wrong?  
What NodeJS / particle cli version am I supposed to be using?

---

<div class="post-metadata">

**Author:** ![evk02](https://avatars.discourse-cdn.com/v4/letter/e/7ea924/32.png) [@evk02](https://community.particle.io/u/evk02)\
**Post date:** [March 5, 2016, 10:41pm UTC](https://community.particle.io/t/particle-cli-cant-load-firmware-binary-electron/20786/2 "2016-03-05T22:41:25Z")

</div>

> [@evk02](#):
>
> nodejs --version  
> v0.10.37

After upgrade nodejs to v0.10.43, the latest in the 0.10.x series the issue is still there.

---

<div class="post-metadata">

**Author:** ![Moors7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/moors7/32/588_2.png) [@Moors7](https://community.particle.io/u/Moors7)\
**Post date:** [March 5, 2016, 11:42pm UTC](https://community.particle.io/t/particle-cli-cant-load-firmware-binary-electron/20786/3 "2016-03-05T23:42:16Z")

</div>

v0.10.43 is rather old by now. 0.12.7 is old already which used to work just fine. I believe node is at 5.7.1 by now, which would be worthwhile trying?

---

<div class="post-metadata">

**Author:** ![evk02](https://avatars.discourse-cdn.com/v4/letter/e/7ea924/32.png) [@evk02](https://community.particle.io/u/evk02)\
**Post date:** [March 5, 2016, 11:53pm UTC](https://community.particle.io/t/particle-cli-cant-load-firmware-binary-electron/20786/4 "2016-03-05T23:53:10Z")

</div>

Thanks, you were right. After a few trials I finally suceeded with node v5.7.1;

$ particle flash --serial blink.bin  
! PROTIP: Hold the SETUP button on your device until it blinks blue!  
? Press ENTER when your device is blinking BLUE  
sending file: blink.bin

Flash success!  
Aborted

ps.: also tried the 0.12.x series, no luck there either.
