I’m trying to get the IDE setup with an offline compiler ready on a Mac (OS X 10.11).
Things I’ve done:
- I have a folder with a bare bones app (just a tinker.ino file) in a directory.
- Downloaded the firmware-latest branch zip file.
- Installed all the dependencies (
make
, anddfu-util -l
work fine).
When I run the command:
make clean all PLATFORM=photon -s program-dfu
I get the following errors:
arm-none-eabi-objdump -h -S ../../../build/target/system-part1/platform-6-m/system-part1.elf > ../../../build/target/system-part1/platform-6-m/system-part1.lst
dfu-suffix -v 2B04 -p D006 -a ../../../build/target/system-part1/platform-6-m/system-part1.dfu
dfu-suffix (dfu-util) 0.8
Copyright 2011-2012 Stefan Schmidt, 2013-2014 Tormod Volden
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
Suffix successfully added to file
Serial device PARTICLE_SERIAL_DEV : not available
Flashing using dfu:
dfu-util -d 0x2B04:0xD006 -a 0 -s 0x8020000 -D ../../../build/target/system-part1/platform-6-m/system-part1.dfu
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
dfu-util: No DFU capable USB device available
make[1]: *** [program-dfu] Error 74
make: *** [/Users/adeesh/particle_photon/particle_project/firmware-latest/modules/photon/system-part1/makefile] Error 2
The make happens just fine. But I think it’s something wrong just with the dfu-utils.
Appreciate any kind of help. I’m sort of lost with this and there aren’t too many posts about this.
Things I’ve already tried (but not limited to):