Using Workbench results in no user code running... but devices flash correctly

I am a loss here, I have been trying to figure this out for a few hours now… Basically no mater what code I compile in Workbench results in code that compiles and flashes correctly. But never actually runs any user code.

Long story short, I eventually tested using the “Blink an LED” example from the Web IDE. When I copy this example into Workbench, the code compiles and flashes correctly. But I never see any blinking leds also I never see a " spark/device/app-hash" event. The Photon is connected, I ping it from the console everything seems as far as I can tell fine. But no blinking LED’s. If I flash from the Web IDE, everything works as expected, Blinking LED’s, app-hash event… etc… I will also note if it’s not clear the status LED is exactly the same in both cases(breathing cyan).

I have reinstalled the toolchain( twice for 1.5.0), tried Device os 1.4.4, Flashed via the Cloud, Flashed Via USB DFU. Everything says success… for example here is USB flash output…




   text    data     bss     dec     hex filename
   4220     108    1368    5696    1640 c:/Users/Josh/Documents/Hue-light-switch/Hue/target/1.5.0/photon/Hue.elf
Serial device PARTICLE_SERIAL_DEV : not available
Flashing using dfu:
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY      
Please report bugs to  

Opening DFU capable USB device...
ID 2b04:d006
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash   "
Downloading to address = 0x080a0000, size = 4328
Download        [=========================] 100%         4328 bytes
Download done.
File downloaded successfully


I am at a total loss… I looked around here and didn’t see anything like this. Any thoughts?

Can you run particle binary inspect <yourFirmware.bin>?

Here is what I get.

C:\Users\Josh\Documents\Hue-light-switch\Hue\target\1.5.0\photon>particle binary inspect Hue.bin
 CRC is ok (14d8c760)
 Compiled for photon
 This is an application module number 1 at version 6
 It depends on a system module number 2 at version 1502

That looks fine, just the length of your binary looks too short
I get 4312 bytes for a project with empty setup() and loop() so your 4328 in your flash report suggest you are not actually building active code.

Can you post a screenshot of your full Workbench window with the file explorer tab open?

Here is the Screen Shot, Thanks so much for your help!

Ok, That got me to look at this very carefully. And yup… This is what I get for starting programming project at 1am. I was coding in new-light.ino… And it’s building Hue.ino… Sorry about wasting your time. But you did get me to look carefully at what I was doing.