I’ve plugged the 2nd cable in again…wiggled it a bit in the Spark…and this looks better, I think…
Still can’t open the serial port…
$ sudo python /home/brewpi/utils/flashDfu.py
Using dfu-util binary at /home/brewpi/utils/downloads/dfu-util
Detecting DFU devices
Did not find any DFU devices.
Is your Photon or Spark Core running in DFU mode (blinking yellow)?
Waiting until a DFU device is connected…
Found 1 devices: [‘2b04:d006’]
Device identified as Particle Photon
Downloading latest firmware…
Latest stable version on GitHub: 0.4.1
downloading https://github.com/BrewPi/firmware/releases/download/0.4.1/brewpi-0.4.1-photon.bin
Firmware downloaded to /home/brewpi/utils/downloads/0.4.1/brewpi-0.4.1-photon.bin
Updated system firmware for the photon found in release 0.4.0
downloading https://github.com/BrewPi/firmware/releases/download/0.4.0/system-part1-0.4.7-photon.bin
downloading https://github.com/BrewPi/firmware/releases/download/0.4.0/system-part2-0.4.7-photon.bin
Downloaded new system firmware to:
/home/brewpi/utils/downloads/0.4.0/system-part1-0.4.7-photon.bin and
First updating system firmware for the Photon
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
Filter on vendor = 0x2b04 product = 0xd006
Opening DFU capable USB device… ID 2b04:d006
Run-time device DFU version 011a
Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/03016Ka,01016Kg,01064Kg,07128Kg"
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
No valid DFU suffix signature
Warning: File has no DFU suffix
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08020000, size = 249740
…
File downloaded successfully
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
Filter on vendor = 0x2b04 product = 0xd006
Opening DFU capable USB device… ID 2b04:d006
Run-time device DFU version 011a
Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/03016Ka,01016Kg,01064Kg,07128Kg"
Claiming USB DFU Interface…
Setting Alternate Setting #0 …
Determining device status: state = dfuDNLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
No valid DFU suffix signature
Warning: File has no DFU suffix
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08060000, size = 169832
…
File downloaded successfully
Now writing BrewPi firmware /home/brewpi/utils/downloads/0.4.1/brewpi-0.4.1-photon.bin
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
Filter on vendor = 0x2b04 product = 0xd006
Opening DFU capable USB device… ID 2b04:d006
Run-time device DFU version 011a
Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/03016Ka,01016Kg,01064Kg,07128Kg"
Claiming USB DFU Interface…
Setting Alternate Setting #0 …
Determining device status: state = dfuDNLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
No valid DFU suffix signature
Warning: File has no DFU suffix
DfuSe interface name: "Internal Flash "
Downloading to address = 0x080a0000, size = 85216
…
File downloaded successfully
Error during download get_status
Error during download get_status
Programming done
Now resetting EEPROM to defaults
Opening serial port
Dec 17 2015 20:24:40 Opening serial port
Dec 17 2015 20:24:50 Errors while opening serial port:
Could not find compatible serial devices
Dec 17 2015 20:24:51 Opening serial port
Dec 17 2015 20:25:02 Errors while opening serial port:
Could not find compatible serial devices
Dec 17 2015 20:25:03 Opening serial port
Dec 17 2015 20:25:13 Errors while opening serial port:
Could not find compatible serial devices
Dec 17 2015 20:25:14 Opening serial port
Dec 17 2015 20:25:24 Errors while opening serial port:
Could not find compatible serial devices
Dec 17 2015 20:25:25 Opening serial port
Dec 17 2015 20:25:35 Errors while opening serial port:
Could not find compatible serial devices
Dec 17 2015 20:25:36 Opening serial port
Dec 17 2015 20:25:46 Errors while opening serial port:
Could not find compatible serial devices
Dec 17 2015 20:25:47 Opening serial port
Dec 17 2015 20:25:57 Errors while opening serial port:
Could not find compatible serial devices
Dec 17 2015 20:25:58 Opening serial port
Dec 17 2015 20:26:08 Errors while opening serial port:
Could not find compatible serial devices
Dec 17 2015 20:26:09 Opening serial port
Dec 17 2015 20:26:19 Errors while opening serial port:
Could not find compatible serial devices
Dec 17 2015 20:26:20 Opening serial port
Dec 17 2015 20:26:31 Errors while opening serial port:
Could not find compatible serial devices
Could not open serial port after programming