Sorry it’s taken so long. My pi died (at least, I couldn’t log into it, I’ve no idea why), so I’ve installed a new Raspbian, and re-installed the BrewPi software on the Pi. Now I just need to be able to flash the firmware back onto the Spark Core.
I think I’m back to exactly where I was before. ./dfu-util -V returns this:
pi@charlesberg:~ $ ./dfu-util -V
dfu-util 0.7
Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
when I try to use FlashDfu.py (I got the yellow flashing light), I get this:
pi@charlesberg:~ $ sudo python /home/brewpi/utils/flashDfu.py
Traceback (most recent call last):
File “/home/brewpi/utils/flashDfu.py”, line 153, in
dfuUtilVersion = re.search(’(?<=dfu-util\s)\S*’, output).group()
AttributeError: ‘NoneType’ object has no attribute ‘group’
running ./dfu-util -l returns this:
pi@charlesberg:~ $ ./dfu-util -l
dfu-util 0.7
Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=0, name="UNDEFINED"
Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=1, name=“UNDEFINED”
AS far as I can see, I’m running dfu-util in the home directory.
I’m also in the home directory when running FlashDfu.py, but I include the full path in the command, as shown above.
I’ve downloaded the scripts from here:
git clone https://github.com/BrewPi/brewpi-tools.git ~/brewpi-tools
Sorry if I’m not making it easy for you to diagnose.