Can't cloud flash from the Particles Workbench

Hello all,

on a Mac, running the command cmd + maj + p, Particle cloud flash results in the error at the end of this message.

I can confirm I am logged to the Particle’s Cloud, and the program can be compiled locally and in the cloud.
Any idea how to fix this ?

Best regards


“Popup: failed to flash”

Targeting version: 0.9.0

Including:
src/test_bis.ino
src/test_bis.cpp
project.properties
attempting to flash firmware to your device casse_couilles
Flash device failed: I didn’t recognize that device name or ID, try opening https://api.particle.io/v1/devices?access_token=xxx
Error: Command failed: /Users/me/.vscode/extensions/particle.particle-vscode-core-1.2.2/src/cli/bin/darwin/amd64/particle cloud flash casse_couilles --target 0.9.0

Targeting version: 0.9.0

Including:
src/test_bis.ino
src/test_bis.cpp
project.properties
attempting to flash firmware to your device casse_couilles
Flash device failed: I didn’t recognize that device name or ID, try opening https://api.particle.io/v1/devices?access_token=xxx

at makeError (/Users/me/.vscode/extensions/particle.particle-vscode-core-1.2.2/node_modules/execa/index.js:174:9)
at module.exports.Promise.all.then.arr (/Users/me/.vscode/extensions/particle.particle-vscode-core-1.2.2/node_modules/execa/index.js:278:16)

Does particle list run from within Workbench (CTRL+SHIFT+P Particle: Launch CLI) return casse_couilles a available device?

Yes it is listed :

> Successfully completed login!
bash-4.4$ particle list
casse_couilles [xxx] (Argon) is online

It is solved, there was a mismatch between the configured device name and the actual device name between the different tests.

cmd + shift + p, particle: configure, selecting 0.9.0, Argon, putting the current device name and it works.

Also, I had my Argon running a bricking program (Argon bricked or issues with Particle's cloud?) which certainly didn’t help flashing it.

Thank you for your support.

1 Like