First use of Spark Core, connected via iOS app, entering SSID and password. Residential network, other apps have internet access. Got blinking blue, solid blue, blinking green as expected. From there dropped into infinite loop of:
rapid flashing cyan (blue/green die)
rapid flashing yellow (green/red die)
rapid flashing red (red die)
repeat.
Never got to breathing cyan. Performed factory reset (? = hold both buttons, release RST, wait til turns flashing white). Connecting again via iOS app yields same result. From forum perhaps this is an encryption key problem, but did not find post with this blink pattern.
npm ERR! 404 Not Found: particle-cli
npm ERR! 404
npm ERR! 404 'particle-cli' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request:
npm ERR! C:\npm-debug.log
Apologies, @steffenn. You must have happened to try and install the particle-cli in the time between the docs were updated and the package was published on NPM.
That did the trick, thank you. Recall I am following āhttp://docs.particle.io/core/cli/ā. The [npm install -g particle-cli] command executed successfully. The next step [particle cloud login] also went smoothly. Skipped the steps under āAdvanced Installā (installing dfu-util and openssl) since I took them to be optional by the name.
Executed [particle setup] but failed with āNo devices detected via USB.ā Held MODE button until flashing blue, tried again, same result. Did MODE/RST factory reset until white then flashing blue, tried again, same result. Yes, SparkCore (ahem ParticleCore) was plugged in. Did I miss installing a USB driver somewhere?
Do I need DFU-util and OpenSSL? If so, kindly confirm I need 64-bit versions ā Node.js installed as 64-bit on my machine. Recalling I am a hardware guy, no tip is too obvious. Thanks.
[npm update -g particle-cli], seems to work although messages aren't super clear.
Used Zadig to install dfu-util for CORE-DFU (Core attached, blinking yellow, listed as CORE DFU in Win Dev Mgr), added to PATH.
Installed openssl-1.0.2a-x64_86-win64, added to PATH
Try [particle setup] but get "No devices detected via USB". (Core attached, blinking blue)
Help????
Note, put core in DFU (blink yellow) and run [dfu-util -l] gives:
dfu-util -l
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
Also, uninstalled Win Dev Mgr driver for [Spark Core With WiFi] and reinstalled from https://s3.amazonaws.com/spark-website/Spark.zip. Windows reports success, no change in "No devices detected via USB" error. Note, when device switched back and forth between normal (blinking blue) and DFU (blinking yellow), Win Dev Mgr recognizes and lists device as [Spark Core With WiFi] or [CORE DFU] respectively under [libusbK USB Devices].
Note, all installs done as 64-bit. ** Neither Python 2.x nor Visual Studio are installed, if that matters. **
timed out on Particle <3 you!
Something went wrong Serial prompt timed out - Please try restarting your device
No <3 from the Core. Here's the best part. The Core is now left in the exact same condition as the failed configuation from the iOS app that started this thread, infinite loop of:
rapid flashing cyan (blue/green die)
rapid flashing yellow (green/red die)
rapid flashing red (red die)
repeat.
Did a factory reset and repeated [particle setup wifi] with same result.
@kennethlimcp, earlier you said "It sounds like bad keys. Can you try installing Spark-cli?" The CLI is working, can you suggest next steps?