BlinkyPendant not recognized by dfu

edited October 2015 in BlinkyPendant
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.

~/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

  • Hmm, firing up the linux box now to try and repeat this. Will fix that case issue too, OS X handles those things poorly.
  • Aha- try running it with root permission:
    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).
  • Doh, I should have thought of sudo. I'm in the dialout group and didn't have these problems with arduino, so I got lazy. :) dfu must have other ways of doing things.

Sign In or Register to comment.