Thanks very much for this guide! It’s been a real time-saver for me.
However, I have a problem.
I installed everything as outlined in the document (although I’m using the v0.4.9-rc1 branch, commit 3b49233). The build works fine. I can flash programs to my Photon, but there’s nothing happening there. I don’t get the “test” message (I use CoolTerm) over the wire. When I flash the same program with Particle cloud, it’s working.
Also, I don’t get any response when I try to flash a “blink an led” application via Eclipse: I can flash the program, the Photon restarts, but doesn’t do anything (it’s breathing, but the LED is not flashing)
Here’s my output log:
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
Deducing device DFU version from functional descriptor length
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 = 18292
Download [ ] 0% 0 bytes
Download [ ] 0% 0 bytes
Download [===== ] 22% 4096 bytes
Download [=========== ] 44% 8192 bytes
Download [================ ] 67% 12288 bytes
Download [====================== ] 89% 16384 bytes
Download [=========================] 100% 18292 bytes
Download done.
File downloaded successfully
Any idea what is wrong? When I look in the myapp.bin and myapp.elf-files I find the “test”-string, so it seems to me that it’s built well.