Hi,
I tried to flash my Electron with my own program and now I’m stuck into DFU mode.
First I compile my program.
particle compile electron Vacuum-MPXV4115V.ino --saveTo firmware.bin
Compiling code for electron
Including:
Vacuum-MPXV4115V.ino
attempting to compile firmware
pushing file: Vacuum-MPXV4115V.ino
Memory use:
text data bss dec hex filename
8180 16 452 8648 21c8 /spark/compile_service/shared/workspace/10_electron_15_1/firmware/af16ebef5098a8478b35e32e80dd79a5c223e548bc7a215be30c1e619033/af16ebef5098a8478b35e32e80dd79a5c223e548bc7a215be30c1e619033.elf
grabbing binary from: https://api.particle.io/v1/binaries/56d0cd2b792eec5741e2269a
Compile succeeded.
Saved firmware to: /Users/miotang/Documents/firmware.bin
Work well !
Next, put my Electron into DFU mode.
And flash my Electron :
particle flash --usb firmware.bin
Found DFU device 2b04:d00a
checking file firmware.bin
spawning dfu-util -d 2b04:d00a -a 0 -i 0 -s 0x08020000:leave -D firmware.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:d00a
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 = 0x08020000, size = 8196
Download [=========================] 100% 8196 bytes
Download done.
File downloaded successfully
Flash success!
…and now my Electron’s stuck into DFU mode, and I can’t do anything with it.
Please help me !
Mario