# Argon stuck in DFU mode

**URL:** <https://community.particle.io/t/argon-stuck-in-dfu-mode/46432>\
**Category:** BLE // NFC\
**Created:** [December 19, 2018, 8:13pm UTC](https://community.particle.io/t/argon-stuck-in-dfu-mode/46432 "2018-12-19T20:13:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacarbro](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@jacarbro](https://community.particle.io/u/jacarbro)\
**Post date:** [December 19, 2018, 8:13pm UTC](https://community.particle.io/t/argon-stuck-in-dfu-mode/46432/1 "2018-12-19T20:13:16Z")

</div>

Hello everyone,

So I was playing around with my argon + 5 xenon mesh and I was having troubles getting my code to upload with rc26. I was thinking of resetting the wifi to go through the setup process again and accidentally did a factory reset (I think) and I am now stuck in DFU mode…

I have installed the CLI and the particle dev app for windows and I’ve tried the following commands based on the limited info I could gather about this subject:

`dfu-util -d 2b04:d00c -a 2 -s 0x80200000 -D system-part1-0.8.0-rc.26-argon.bin` (to no avail)  
`dfu-util -d 2b04:d00c -a 2 -s 0x80200000 -D tinker-0.8.0-rc.26-argon.bin` (to no avail)

`dfu-util -l` gives the following response:

```auto
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

Found DFU: [2b04:d00c] ver=0250, devnum=32, cfg=1, intf=0, alt=2, name="@External Flash /0x80000000/1024*004Kg", serial="e00fce6893f55ebdc89e074c"
Found DFU: [2b04:d00c] ver=0250, devnum=32, cfg=1, intf=0, alt=1, name="@DCD Flash /0x00000000/1*016Ke", serial="e00fce6893f55ebdc89e074c"
Found DFU: [2b04:d00c] ver=0250, devnum=32, cfg=1, intf=0, alt=0, name="@Internal Flash /0x00000000/1*004Ka,47*004Kg,192*004Kg,4*004Kg,4*004Kg,8*004Ka", serial="e00fce6893f55ebdc89e074c"

```

Before I cause more harm to my argon, hopefully someone here knows how to fix this problem.

---

<div class="post-metadata">

**Author:** ![Moors7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/moors7/32/588_2.png) [@Moors7](https://community.particle.io/u/Moors7)\
**Post date:** [December 19, 2018, 8:22pm UTC](https://community.particle.io/t/argon-stuck-in-dfu-mode/46432/2 "2018-12-19T20:22:09Z")

</div>

Rather than using DFU directly, try using the CLI with `particle flash --usb [file.bin]`. That way, you don’t have to worry about the addresses and commands.

---

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [December 19, 2018, 8:27pm UTC](https://community.particle.io/t/argon-stuck-in-dfu-mode/46432/3 "2018-12-19T20:27:41Z")

</div>

Those are not the right dfu-util commands. The system and user firmware are in `-a 0`, not `-a 2`, and the addresses are wrong. As you can seriously corrupt your device using incorrect dfu-util commands, you should use Moors7’s suggestion of particle flash --usb instead.

---

<div class="post-metadata">

**Author:** ![jacarbro](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@jacarbro](https://community.particle.io/u/jacarbro)\
**Post date:** [December 20, 2018, 7:01am UTC](https://community.particle.io/t/argon-stuck-in-dfu-mode/46432/4 "2018-12-20T07:01:40Z")

</div>

Thank you for your input.

Yesterday I tried this, but I think the CLI can’t find my argon?  
In device manager I see the argon in DFU mode (had to install the appropriate driver first using Zadig).

So in the command prompt I typed:  
`particle flash --usb [tinker-0.8.0-rc.26.bin]` also tried with the path to the directory where the file is actually stored.

Am I using the CLI command correct? Or is there a way to check if the problem lies elsewhere?

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [December 20, 2018, 7:19am UTC](https://community.particle.io/t/argon-stuck-in-dfu-mode/46432/5 "2018-12-20T07:19:12Z")

</div>

You would _not_ put the file name in square brackets - when @Moors7 showed you the command he meant to replace the whole `[...]` part like this

```nohighlight
particle flash --usb tinker-0.8.0-rc.26.bin

```

But before flashing tinker you need to flash system

```nohighlight
particle flash --usb system-part1-0.8.0-rc.26-argon.bin -v

```

(-v for verbose output)

---

<div class="post-metadata">

**Author:** ![jacarbro](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@jacarbro](https://community.particle.io/u/jacarbro)\
**Post date:** [December 21, 2018, 6:50am UTC](https://community.particle.io/t/argon-stuck-in-dfu-mode/46432/6 "2018-12-21T06:50:23Z")

</div>

Thank you very much! This seemed to fix it!

Have to do some more testing with uploading new sketches to be certain though.

---

<div class="post-metadata">

**Author:** ![Ch2019](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@Ch2019](https://community.particle.io/u/Ch2019)\
**Post date:** [January 6, 2019, 11:54pm UTC](https://community.particle.io/t/argon-stuck-in-dfu-mode/46432/7 "2019-01-06T23:54:35Z")

</div>

> [@ScruffR](#):
>
> particle flash --usb system-part1-0.8.0-rc.26-argon.bin -v

I had the same problem and it fixed mine also., Thanks

---

<div class="post-metadata">

**Author:** ![mannydeleon99](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mannydeleon99](https://community.particle.io/u/mannydeleon99)\
**Post date:** [January 25, 2019, 3:51am UTC](https://community.particle.io/t/argon-stuck-in-dfu-mode/46432/8 "2019-01-25T03:51:54Z")

</div>

Hello, I tried this solution and get the following

Error writing firmware: file does not exist and no known app found.  
VError: Error writing firmware: file does not exist and no known app found.  
at C:\Users\edeleon\AppData\Local\particle\node\_modules\particle-cli\dist\cmd\flash.js:156:10  
at process.\_tickCallback (node.js:401:9)  
caused by: Error: file does not exist and no known app found.  
at C:\Users\edeleon\AppData\Local\particle\node\_modules\particle-cli\dist\cmd\flash.js:86:12  
at process.\_tickCallback (node.js:401:9)

might you be able to help. I think I might be missing a step. Thank you

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [January 25, 2019, 6:24am UTC](https://community.particle.io/t/argon-stuck-in-dfu-mode/46432/9 "2019-01-25T06:24:07Z")

</div>

Did you download the respective files and executed the command from the location where that file lives?

BTW, at this point in time you should rather use the rc.27 binaries.  
Here is a more elaborate post with instructions and download links

> [@New Xenon, and Spectra Xenon stuck in Listening, no USB serial](https://community.particle.io/t/new-xenon-and-spectra-xenon-stuck-in-listening-no-usb-serial/46329/10):
>
> That’s an important piece of info. If you are updating an Argon from anything before rc.25 to rc.25 or above, you also need to update the NCP (Network CoProcessor). For that you need to download these files [https://github.com/particle-iot/firmware/releases/download/v0.8.0-rc.27/system-part1-0.8.0-rc.27-argon.bin](https://github.com/particle-iot/firmware/releases/download/v0.8.0-rc.27/system-part1-0.8.0-rc.27-argon.bin)[https://github.com/particle-iot/firmware/releases/download/v0.8.0-rc.27/tinker-serial1-debugging-0.8.0-rc.27-argon.bin](https://github.com/particle-iot/firmware/releases/download/v0.8.0-rc.27/tinker-serial1-debugging-0.8.0-rc.27-argon.bin)[https://github.com/particle-iot/firmware/releases/download/v0.8…](https://github.com/particle-iot/firmware/releases/download/v0.8.0-rc.27/bootloader-0.8.0-rc.27-argon.bin)
