BlinkyPendant not recognized by dfu
I'm trying to hook up an program my blikypendant for the first time, using the code in commit 3e3f490 under Ubuntu 14.10. The device comes up as 1209:8888 if plugged in in standard mode, or 1209:8889 if plugged in in bootloader mode by pressing the select button, but dfu-util cannot open it in either case. The current firmware is the one loaded for the Open Hardware Summit.
Also note that there's a typo in animation.cpp where '#include "Animation.h"' should be '#include "animation.h"' in order to prevent a file not found error on case-sensitive systems.
~/git/BlinkyPendant/firmware$ make install
dfu-util -d 1209 -D pendant-firmware.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: Cannot open DFU device 1209:8889
dfu-util: No DFU capable USB device available
Makefile:90: recipe for target 'install' failed
make: *** [install] Error 74
Also note that there's a typo in animation.cpp where '#include "Animation.h"' should be '#include "animation.h"' in order to prevent a file not found error on case-sensitive systems.
Comments
sudo make install
You could also make a rule for it in udev to give userspace permission for it (and filter on the above VID/PID pairs).