Can't flash a new firmware

I downloaded this file: https://github.com/spark/firmware/releases/download/spark_11/core-firmware.bin
I did: sudo particle identify
Result: Your device id is 53ff72065067544823340187

Then sudo dfu-util -l
(cutting the © stuff
Result: 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"

Then: sudo particle flash --usb core-firmware.bin
Result 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"

checking file core-firmware.bin
spawning dfu-util -d 1d50:607f -a 0 -i 0 -s 0x08005000:leave -D core-firmware.bin
invalid dfuse address: 0x08005000:leave
Error writing firmware…

What did I miss?

@stwissel,

are you using a Core or Photon?

Use this command instead dfu-util -d 1d50:607f -a 0 -i 0 -s 0x08005000 -D core-firmware.bin

You DFU-util is lesser than V0.7 and does not support the :leave command

1 Like