Photon, bad usb?

Hey there,

I recently moved and was getting my chamber back up and running. Bought the brewpi setup about a year ago.

All was working well and then as I was updating my raspberrypi and controller something went odd with the USB on the brewpi. Now, it won’t power on via usb but will via power cable. Also, it would seem that the data connection is lost.

Did my spark core just go bad? How do I go about getting a new one? I took apart the case and see the core is a pluggable unit. I don’t see any burn marks, etc, but I did notice that the spark core came out of its seating on the board. Even after placing it back in snuggly it still is not working.

Suggestions?

Thanks

Ok that spark core is shot, as I was investigating the backside of the usb connector and it came off and another small circular piece came off.

I’m supposed to brew this next weekend and need a replacement asap, @elco?

This seems to be a pretty common issue with these module. @Elco have you fed this back to Particle? I know you’ve moved away from this module in your new BrewPi hardware but still would be good they know.

I have brought it up at Particle and they say they have resolved this issue around May 2016. Your order is from May 2016, so it seems to be from an older batch of Photons.

As for a quick fix, I don’t have Photons in stock myself anymore. And I switched to the P1 module to pick my own USB connector for the new model. Given that you are in the US, getting one from Particle directly is the quickest way I think.

I will forward this thread to them too to get their reply.

Thanks guys, was able to find a replacement on amazon:

Hey @elco.

Ok, got my new Photon. However, like most things, another road block.

I’m getting consistent “Could not find compatible serial devices” when trying to update the firmware, etc. The screen is white and I’ve tried placing in DFU and doing the updates.

Getting pretty darn frustrating. USB seems fine now, also, I have a power cable in the device. I’ve checked the various posts here for the same error code but none seem to apply.

I did run through the Particle app setup and its slowing flashing blue/cyan.

What are the standard questions? I have the photon flashing yellow for DFU.

Which script’s output do you need? Still hoping to brew this weekend…

If you run lsusb --l, do you see a device with ID 2b04:d006 with the Photon in DFU mode?
If that’s the case, you know the USB connection is good.

For a first flash, I recommend using the flashDfu script.
Run it with sudo python flashDfu.py.

Actually I do

brewpi@BrewPi:~$ lsusb
Bus 001 Device 055: ID 045e:00e1 Microsoft Corp. Wireless Laser Mouse 6000 Reciever
Bus 001 Device 057: ID 2b04:d006
Bus 001 Device 004: ID 05ac:0267 Apple, Inc.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Ok, then you should also see it with: dfu-util -l.
And flashDfu.py should work.

More info.

On the flashDfu.py:

brewpi@BrewPi:~/utils$ python flashDfu.py
Using dfu-util binary at downloads/dfu-util
Detecting DFU devices
Found 1 devices:  ['2b04:d006']
Device identified as Particle Photon
Downloading latest firmware...
Latest stable version on GitHub for photon: 0.5.2
downloading https://github.com/BrewPi/firmware/releases/download/0.5.2/brewpi-photon-0.5.2.bin
Firmware downloaded to /home/brewpi/utils/downloads/0.5.2/brewpi-photon-0.5.2.bin
Updated system firmware for the photon found in release 0.4.4
downloading https://github.com/BrewPi/firmware/releases/download/0.4.4/system-part1-0.5.3-photon.bin
downloading https://github.com/BrewPi/firmware/releases/download/0.4.4/system-part2-0.5.3-photon.bin
Downloaded new system firmware to:

/home/brewpi/utils/downloads/0.4.4/system-part1-0.5.3-photon.bin and

/home/brewpi/utils/downloads/0.4.4/system-part2-0.5.3-photon.bin

Updating system firmware for the photon, part 1: /home/brewpi/utils/downloads/0.4.4/system-part1-0.5.3-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
Cannot open device
Opening DFU capable USB device... Updating system firmware for the photon, part 2: /home/brewpi/utils/downloads/0.4.4/system-part2-0.5.3-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
Cannot open device
Opening DFU capable USB device... Now writing BrewPi firmware /home/brewpi/utils/downloads/0.5.2/brewpi-photon-0.5.2.bin to 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
Cannot open device
Opening DFU capable USB device... Programming done
Now resetting EEPROM to defaults
Opening serial port
 Jul 25 2017 15:44:19   Opening serial port
 Jul 25 2017 15:44:29   Errors while opening serial port:
Could not find compatible serial devices

On the dfu-util:

brewpi@BrewPi:~/utils$ dfu-util -l
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 2b04:d006

I told you to run it with sudo :wink:

1 Like

Lol, I’m technically working right now and triple tasking, but as we all know, beer is important :smiley:

Your a stud…nothing like owning your domain, thanks Elco!