Question regarding Argon: Solid magenta when flashing software/firmware using web IDE

Hi there!

I have just got my two Argon yesterday and was testing it out, however every time I try to flash tinker through Web IDE the device shows solid magenta status light, then it times out and the event log shows flash fails.

The device connects to wifi and the console without any problem, and I was able to flash new firmware using CLI under the DFU mode; I even tried the hard reset and still every time I try using the web ide to flash a program it freeze at a solid magenta state.

I’m wondering if there is anything else that I should try?

Thank you very much for your help!!

Regards

@copy, when doing OTA, I have found that at times the magenta will stay ON (and often OFF) for some time but in all (my) cases, it eventually blinks and programming does finish successfully.

Hello @peekay123 !

Thank you very much for your response! However it seems that this is not the case; I have just did another try, and the behavior is this: After clicking the flash button, the magenta status lights stays on, the event log show flash started, after a couple of minutes the device restarts (green flash, cyan flash, cyan breathing), and some times the event log logs flash failed, today it simple shows the regular startup events…

Have you tried Safe Mode?

Hi @ScruffR ! Thank you very much for your response and sorry for replying late: I have just tried the safe mode as well, however it is still the same thing: solid magenta; here is the screenshot for the event log:

Maybe you can try using CLI to “revive” the device and see whether it can be updated OTA after that.

Before you do put your device into Listening Mode and run particle serial inspect to see whether there is something fishy to be seen there.
After that put you device into DFU Mode and run particle flash -- tinker -v followed by particle update -v.

Hello @ScruffR !

Thanks again for your response! I have just tried the method that you have provided on one of the devices, unfortunately it still stucks at the solid magenta state… Here are the outputs for the commands:

particle serial inspect

Platform: 12 - Argon
Modules
  Bootloader module #0 - version 1005, main location, 49152 bytes max size
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS
  System module #1 - version 2011, main location, 671744 bytes max size
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS
      Bootloader module #0 - version 1005
      Radio stack module #0 - version 202
  User module #1 - version 6, main location, 131072 bytes max size
    UUID: C36089DE730C2E3D5EAC67E3068B8E4EA57E5F7329E32980EB8BB4C55BFBB02E
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS
      System module #1 - version 2011
  NCP module #0 - version 5, main location, 1536000 bytes max size
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS
  Radio stack module #0 - version 202, main location, 192512 bytes max size
    Integrity: PASS
    Address Range: PASS
    Platform: PASS
    Dependencies: PASS

particle flash --usb tinker -v

dfu-util 0.10

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Warning: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2b04:d00c
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 element to address = 0x000d4000, size = 11972
Erase   	[=========================] 100%        11972 bytes
Erase    done.
Download	[=========================] 100%        11972 bytes
Download done.
File downloaded successfully
Transitioning to dfuMANIFEST state

Flash success!

particle update -v

> Your device is ready for a system update.
> This process should take about 30 seconds. Here it goes!

▀ Updating system firmware on the device...dfu-util 0.10

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Warning: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2b04:d00c
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 element to address = 0x00030000, size = 464680
Erase   ng syste[=========================] 100%       464680 bytes
Erase    done.
Downloadng syste[=========================] 100%       464680 bytes
Download done.
File downloaded successfully
▄ Updating system firmware on the device...dfu-util 0.10

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Warning: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2b04:d00c
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 element to address = 0x00001000, size = 153024
Erase   ng syste[=========================] 100%       153024 bytes
Erase    done.
Downloadng syste[=========================] 100%       153024 bytes
Download done.
File downloaded successfully
▄ Updating system firmware on the device...dfu-util 0.10

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Warning: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2b04:d00c
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #2 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "External Flash   "
Downloading element to address = 0x80289000, size = 46580
Erase   ng syste[=========================] 100%        46580 bytes
Erase    done.
Downloadng syste[=========================] 100%        46580 bytes
Download done.
File downloaded successfully
▌ Updating system firmware on the device...dfu-util 0.10

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: Warning: File too short for DFU suffix
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2b04:d00c
Run-time device DFU version 011a
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 4096
DfuSe interface name: "DCD Flash   "
Downloading element to address = 0x000006d9, size = 1
Erase   	[=========================] 100%            1 bytes
Erase    done.
Downloadng syste[=========================] 100%            1 bytes
Download done.
File downloaded successfully
Transitioning to dfuMANIFEST state
! System firmware update successfully completed!

> Your device should now restart automatically.

Here is the screenshot for the event logs:

Here is a short video showing the solid magenta status: Particle Argon OTA Flash Solid Magenta

Maybe it’s time to file a support ticket at support.particle.io

Hello @ScruffR ! Thank you very much for your help! I will see if they are able to provide a solution to this and update this thread!

Update: the support team recommended me to restore binaries in the device following the documentations here:

https://docs.particle.io/reference/developer-tools/jtag/#restore-binaries

However after I tried that I was not able to get it to connect to WiFi, and when trying to set it up the command line simply skips and the phone app complaints about them being in invalid state, so the support team is helping me with the replacements now.

1 Like

But the device has come back to life and you can enter Listening Mode?

Have you tried wiping the stored credentials by holding MODE for 10+ seconds till rapid blue blinking occures?
After that you shouly be able to use particle usb setup-done and particle serial wifi to manually setup the device.

What do you mean by this

But, when you get a replacement things will turn out fine in the end :+1:

Hi @ScruffR !

Thank you for your response!

When I said

when trying to set it up the command line simply skips

I meant that the command line tool simply returns to the prompt without doing any work on the device, here is the screenshot:

After clearing the credentials, the phone app still complaints about the device being in invalid state;

After running particle usb setup-done, particle serial wifi and provided the wifi credentials, the device would continuously blinking green; my router does support DHCP and there are not many devices connected…

Hopefully the replacements would be nicer to me hehe :sweat_smile:

Thank you so much for your continuous help! And hope you have a great day!

1 Like

Hi, unsure if it was asked or stated before, but…
If your router has 5GHz as well as 2.4GHz SSIDs (network names), are they different?
Does your router support IPV6? If so, can you try disabling it?

Cheers
Gustavo.

Hi @gusgonnet ! Thank you for your response!

The router have 5GHz and 2.4GHz, the SSIDs are different; I have been using the 2.4GHz one.

Hmm, I’m not sure that IPv6 is what causing the issue as previously the device was connecting to the same AP without problems; and it is quite embarrassing to say but I have no idea how to disable IPv6 on a router… :sweat_smile:

Thank you very much for your help!!

1 Like