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…
:::: PUTTING DEVICE INTO DFU MODE Done. :::: FLASHING APPLICATION 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 http://sourceforge.net/p/dfu-util/tickets/ 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 *** FLASHED SUCCESSFULLY ***
I am at a total loss… I looked around here and didn’t see anything like this. Any thoughts?