Core won't connect to Wi-fi

Hi, I was wondering if anyone could help me, I was working on my program and the after some modifications, the core flashed red (overload I guess). I did a factory reset to clear the bug and to upload a new version of my program, but the core won’t connect to Wi-fi (keep flashing green). I did more factory reset, but still nothing. I try an other wif-fi and uploading credential from my computer.
I also try to upgrade the firmware (https://community.spark.io/t/tutorial-upgrading-factory-reset-firmware/3430), but I was getting this error:
Filter on vendor = 0x1d50 product = 0x607f
Opening DFU capable USB device… Cannot open device

This happen with both of my Core, but not with the same program.
I’m running out of idea…

Thanks
William

Just to be sure:

Your Core was in DFU mode (blinking yellow), right?

Yes, I ran dfu-util -l and I obtained something like this

Found DFU: [1d50:607f] devnum=0, cfg=1, intf=0, alt=0, name="UNDEFINED"
Found DFU: [1d50:607f] devnum=0, cfg=1, intf=0, alt=1, name="UNDEFINED"

@Moors7 Do you have any idea of what the problem could be ?

Try sudo dfu-util -l

@kennethlimcp, Here is what I got:

dfu-util 0.5

(C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.
(C) 2010-2011 Tormod Volden (DfuSe support)
This program is Free Software and has ABSOLUTELY NO WARRANTY

dfu-util does currently only support DFU version 1.0

Found DFU: [1d50:607f] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/20001Ka,108001Kg"
Found DFU: [1d50:607f] devnum=0, cfg=1, intf=0, alt=1, name="@SPI Flash : SST25x/0x00000000/512*04Kg"

Looks like it’s working now. So i presume you want to apply a CC3000 patch next?

I'm trying to follow your tutorial: Tutorial: Upgrading Factory Reset Firmware - Tutorials - Particle to see if this could help. Unless you have a better idea ?
I'm getting this:

dfu-util does currently only support DFU version 1.0

Filter on vendor = 0x1d50 product = 0x607f
Opening DFU USB device... ID 1d50:607f
Run-time device DFU version 011a
Found DFU: [1d50:607f] devnum=0, cfg=1, intf=0, alt=1, name="@SPI Flash : SST25x/0x00000000/512*04Kg"
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 1024
No valid DFU suffix signature
Warning: File has no DFU suffix
DfuSe interface name: "SPI Flash : SST25x"

Try it out!

I ran your command, but I got this error:

sudo dfu-util -d 1d50:607f -a 0 -s 0x08005000 -D cc3000-patch-programmer.bin

So I remove the :leave, but I got this:

Filter on vendor = 0x1d50 product = 0x607f
Cannot open device
Opening DFU USB device...

So I add sudo but then I got practically the same error as last time and the led didn't change to magenta:

dfu-util does currently only support DFU version 1.0

Filter on vendor = 0x1d50 product = 0x607f
Opening DFU USB device... ID 1d50:607f
Run-time device DFU version 011a
Found DFU: [1d50:607f] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/20001Ka,108001Kg"
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 1024
No valid DFU suffix signature
Warning: File has no DFU suffix
DfuSe interface name: "Internal Flash "

Which OS are you on?

Be sure to place the device in DFU-mode (blinking yellow)

Ubuntu 14.04 LTS

Hmm… DFU should work though the version might be a little old.

Can you paste the full output message when you run the command?

Seems like it was transferred. What happens to the core after that? You might need to hit the reset button since :leave is not used

Nothing happen, the core just keep flashing yellow. If I press the reset button, the light turn off, and turn back to yellow as soon as I release it. Do I only need to press or to hold the reset button ? I trying following the rest of your step, but I got the exact same output for this command line:

sudo dfu-util -d 1d50:607f -a 0 -s 0x08005000 -D spark_tinker.bin

I did the manual reset after each command, but the core still blank yellow. In fact, I can't get the core out of the DFU mode.

Can you perform a factory reset?

I had similar issue but after cc3000 patch and tinker firmware update , core was alright. Can you try with dfu-util 0.8 ?

1 Like

@kennethlimcp, yes I was able to perform a factory reset (well I guess the light stay off until it flash white), now the core is in listening mode
@naveen_surya, I’m not sure to understand what you mean but: Can you try with dfu-util 0.8 ?

From your screenshot , it looks you have got older version of dfu-util (v 0.5) .

You can find dfu-util v0.8 in this link https://s3.amazonaws.com/spark-assets/dfu-util-0.8-binaries.tar.xz