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], 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.
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?