Thanks Mat, just tried that commit an I’m seeing the exact same issue:
$ git status
HEAD detached at 4609eee
nothing to commit, working directory clean
$ rm -rf build/target
$ cd modules
$ make PLATFORM_ID=6 all program-dfu COMPILE_LTO=n
Build completes and flashes successfully with no errors, device restarts and then flashes green.
I’ve just tested the same process on my other Photon (which was a fresh Photon) and I see the same issue.
I’m on a mac, here’s more system info:
- OSX 10.10.4
- dfu-util 0.8
- arm-none-eabi-gcc 4.8.4 (also tried 4.9)
As before, flashing the pre-built single
system_pad_BM-09.bin from the 0.4.1 release page gets everything working again, even though building and flashing myself from the
v0.4.1 tag does not.
One more data point - flashing the pre-built 0.4.2 binaries (in 2 parts) from the 0.4.2 release page also causes the green flashing problem.
Random theory - could the fact that 0.4.1 is a single binary vs the “2-part” binary in 0.4.2 have an impact at all?