Boron not executing application code


I am unable to get Boron to execute flash application firmware.

#include <Particle.h>


void setup() {
  // This will run automatically

void loop() {

Steps for compiling and flashing.

  1. particle compile boron /src/init.cpp --saveTo init.bin
  2. particle flash --usb init.bin (with boron in dfu mode)
  3. particle serial monitor

The board continually flashes green in attempt to connect to cellular network despite having SYSTEM_MODE(MANUAL);

When you have a properly setup project you’d only use this command

particle compile boron . --saveTo init.bin

from the root directory of that project (where lives).
All relevant files will be included as outlined in the file - no need to explicitly state /src/init.cpp.

Also adding the -v switch to your particle flash command will provide you with more feedback about the actual process.

You should also state what device OS version is installed on your device.
With particle compile your binary will be targeted at the current default (2.0.1) and if your device hasn’t had that preinstalled it will need to connect to the cloud to pull in the new device OS but your MANUAL mode will probably prevent that.

You should put your device into Listening Mode and run particle serial inspect to inquire about the current state of your device.
Then put it in DFU Mode and run particle update -v to make sure you got 2.0.1 on the device and then inspect again.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.