Forgive me if I'm posting frequently requested threads.
After I've completely wiped all sectors (0 - 11) and compiled everything from scratch, then loaded everything in via DFU, I can't seem to 'Verify Product Ownership'
I've successfully used the Doctor on the keys to generate a new keypair:
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2b04:d006
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "DCT Flash "
Downloading to address = 0x00000022, size = 608
Download [=========================] 100% 608 bytes
Download done.
File downloaded successfully
Saved!
attempting to add a new public key for device 2f003000034734##########
submitting public key succeeded!
Okay! New keys in place, your device should restart.
The LEDs seem to flash (Quite Quickly) a blueish green, then a quick flash of red, then back to the blueish green.
If anyone could shed some light on this that would be great!
You can see the name is "Photon-/" this looks a little dodgy
ddaly at JESSICA-HYDE in ~ [20:43:51]
→ particle setup
Cool ASCII Art Here
Setup is easy! Let's get started...
It appears as though you are already logged in as #
? Would you like to log in with a different account? No
! PROTIP: Hold the MODE/SETUP button on your device until it blinks blue!
! PROTIP: Please make sure you are connected to the internet.
I have detected a Photon connected via USB.
? Would you like to continue with this one? Yes
! The Photon supports secure Wi-Fi setup. We'll try that first.
! PROTIP: Wireless setup of Photons works like a wizard!
! PROTIP: We will automagically change the Wi-Fi network to which your computer is connected.
! PROTIP: You will lose your connection to the internet periodically.
? Found "Photon-/". Would you like to perform setup on this one now? Yes
! PROTIP: You will need to know the password for your Wi-Fi network (if any) to proceed.
! PROTIP: You can press ctrl + C to quit setup at any time.
Obtained magical secure claim code.
! Woops. Something went wrong connecting to Photon-/. Please manually re-connect to your Wi-Fi network.
Could you try doing particle update followed by particle flash --usb tinker, both in DFU mode. See if it connects succesfully, and if not, try clearing the credentials. Then, set them with particle serial wifi. If it then connects, put it in listening mode and issue particle identify, note the deviceID, and have it reconnect. Then issue particle device add [ID].
Give the above a shot and let us know it that worked?
With what did you confirm that, as it seems the Photon wont connect ;)?
That's why I suggested the Particle update & Tinker, since they're known good firmware. If you haven't yet done so, could you give those commands a shot? Make sure you've updated your CLI to the latest version prior to doing so to ensure you get the latest system firmware.
Hmm, I don’t think its a firewall or network issue, I’ve tried using a mobile’s 4G connection and still have no dice, plus logs don’t show any outbound issues.
Hmm I think I’m gonna have to hook gdb up over SWD and step thru the cloud connect code.
If you’re seeing the device flash cyan with brief periods of red flashes, it’s generally an indicator that the device has connected to your Wi-Fi network, has reached out to the Cloud, and is attempting to complete a handshake with the server.
This should be resolved by running particle keys doctor <device_ID> with your device in DFU mode. Can you confirm that you’ve tried that after running the particle update command from before?