Photon not recognized by PC

Hello everybody
I’ve bought new particle photon recently. for the first time I connected the board to PC and recognized correctly.
but now, after installing node.js and other required software and drivers, as I connect it to PC, it couldn’t be recognized
and only the led is blinking with green color.
how could find the problem?
thancks

Could you place it in either Listening mode (blinking blue) or DFU mode (blinking yellow), since those two modes are the ones talking to the computer?

How could I do them?
as I push the reset button for a second it does not go to listening mode

The docs would be the place to find such things
Just type in the terms mentioned Listening Mode or DFU Mode and you’d find
https://docs.particle.io/guide/getting-started/modes/photon/#listening-mode
and
https://docs.particle.io/guide/getting-started/modes/photon/#dfu-mode-device-firmware-upgrade-

2 Likes

ok, I could go to blink in yellow mode, but how could I flash it in this mode.
How could I get my device id?

Behind the second link I provide you’d find a follow on

Those blue written texts are there to be investigated :wink:

https://docs.particle.io/guide/tools-and-features/cli/
and
https://docs.particle.io/reference/cli/

my photon is unable to go to listening mode, only yellow blinking mode
in this mode to flash my photon I should have the device ID

That mode allows flashing over usb, thus you need no device ID. If you’ve got the CLI installed, try Particle update. After that, try Particle flash --usb tinker.

I did them but get this error
Invalid dfuse address: 0x080A000: leave

check the version of dfu-util - should be at least 0.7 :smile:

1 Like

I just recently saw a similar message of someone using dfu-util v0.5 - which version have you got?

Darn - Mad (sorry) Mat was there first :flushed:

Dfu-util v1.0

I doubt it.


http://dfu-util.sourceforge.net

ok, I installed dfu-util v 0.8 and run particle flash --usb tinker but
I get this error

Found DFU device 2b04:d006
checking file  /usr/lib/node_modules/particle-cli/binaries/photon_tinker.bin
spawning dfu-util -d 2b04:d006 -a 0 -i 0 -s 0x080A0000:leave -D /usr/lib/node_modules/particle-cli/binaries/photon_tinker.bin
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: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Deducing device DFU version from functional descriptor length
Opening DFU capable USB device...
ID 2b04:d006
Run-time device DFU version 011a
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
DfuSe interface name: "Internal Flash   "
Downloading to address = 0x080a0000, size = 3952
Download    [=========================] 100%         3952 bytes
Download done.
File downloaded successfully
dfu-util: Error during download get_status

Error writing firmware...dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!

dfu-util: Error during download get_status

at the end the led is blinking in green

This final error should not bug you - it’s “normal” :wink:

But since we are now able to DFU update, can you try

particle update
particle flash --usb tinker

After that try wiping the WiFi credentials (while green blinking, hold SETUP for 10+ sec till rapid blue blinking) and reenter them (e.g. via particle serial wifi)