Whenever anyone has issues with a Spark Core, the first thing I ask them to do is the following, to make sure that it’s got up-to-date system firmware.
> Installing the Particle CLI
You first need to install the Particle CLI. The Particle CLI is a command line interface (CLI) tool used to interact with the Particle Cloud, flash devices, and troubleshoot. To install the Particle CLI go ahead and follow the instructions in this article. Once installed proceed to the next section.
Flashing your Spark Core
- Plug your Spark Core into your computer using a USB cable
- Place your Spark Core in DFU mode (blinking yellow)
- Open up a terminal/command prompt and issue the following command
If, for some reason the last command fails issue the following command, in order:
particle flash --factory tinker. Wait till the Spark Core’s main RGB LED returns to flashing yellow
particle flash --usb cc3000. Wait till the Spark Core’s main RGB LED returns to flashing yellow
particle flash --usb tinker
These commands replace the factory reset image with the most up-to-date copy, patch the radio, and flash the default “Tinker” app which brings your Spark Core to an upgraded factory state.
Once upgraded your device should reboot and begin flashing blue. It’s then ready to set up.