Problem with Update the Core Firmware in Ubuntu linux

Hello to the awesome community!

I have a problem with my Core. Suddenly it wouldn’t get conected to the wifi, the greed led is flashing. So I made a reset to factory settings and passed again the wifi credentials. But again no connection to wifi , so I followed the this link

http://support.particle.io/hc/en-us/articles/202938790-Flashing-Green-Can-t-Connect-to-Wi-Fi

I did everything and I also tried to Update the Core Firmware(I am using ubuntu) .I had a problem also to update the firware correctly. I am sending you my terminal results.

ioannis@ioannis-Inspiron-5547:~$ sudo particle flash --factory tinker

[sudo] password for ioannis:
Found DFU device 1d50:607f
running dfu-util -d 1d50:607f -a 1 -i 0 -s 0x00020000 -D /usr/local/lib/node_modules/particle-cli/binaries/core_tinker.bin
Flash success!
ioannis@ioannis-Inspiron-5547:~$ sudo particle flash --usb cc3000
Found DFU device 1d50:607f
running dfu-util -d 1d50:607f -a 0 -i 0 -s 0x08005000:leave -D/usr/local/lib/node_modules/particle-cli/binaries/cc3000-patch-programmer.bin
Error writing firmware…Error: Command failed: invalid dfuse address: 0x08005000:leave

ioannis@ioannis-Inspiron-5547:~$ sudo particle flash --usb tinker
Found DFU device 1d50:607f
running dfu-util -d 1d50:607f -a 0 -i 0 -s 0x08005000:leave -D /usr/local/lib/node_modules/particle-cli/binaries/core_tinker.bin
Error writing firmware…Error: Command failed: invalid dfuse address: 0x08005000:leave

Can you give me any solution to my problem?

Kind Regards
John

You get this error when you have an older version of dfu-util installed. Can you check the version and install at least version 0.7 or 0.8.

Hello bko,

Do you know from where can I download the 0.7 or 0.8 for linux?

@johnyrobot5
sudo apt-get update && sudo apt-get upgrade dfu-util
should work

1 Like

Hi nrobinson

I did install it but when I use

sudo dfu–util -V

To list the version is says

dfu-util 0.5

© 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.
© 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

Also what I did try is to put the : leave outside he is what i did :

ioannis@ioannis-Inspiron-5547:~$ sudo particle flash --factory tinker
[sudo] password for ioannis:
Sorry, try again.
[sudo] password for ioannis:
Found DFU device 1d50:607f
running dfu-util -d 1d50:607f -a 1 -i 0 -s 0x00020000 -D /usr/local/lib/node_modules/particle-cli/binaries/core_tinker.bin

Flash success!
ioannis@ioannis-Inspiron-5547:~$ sudo dfu-util -d 1d50:607f -a 0 -i 0 -s 0x08005000 -D/usr/local/lib/node_modules/particle-cli/binaries/cc3000-patch-programmer.bin
dfu-util 0.5

© 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.
© 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

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 "
ioannis@ioannis-Inspiron-5547:~$ sudo dfu-util -d 1d50:607f -a 0 -i 0 -s 0x08005000 -D /usr/local/lib/node_modules/particle-cli/binaries/core_tinker.bin
dfu-util 0.5

© 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.
© 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

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 "

But stil the core gets the credentials but can not connect and still flashes green.
I am totally lost , I do not know what is wrong here.

Any extra help?

You can try :

I think you need to find a ppa with a newer version of dfu-util. I’ll look into this tomorrow.