Xenon Lost Mesh Settings - Unable to Connect/Reconfigure

As long you can put the device into DFU Mode, you should be able to resurrect it.
Just compile this little sketch and flash the resulting binary to it

#include "Particle.h"
#include "dct.h"
SYSTEM_MODE(SEMI_AUTOMATIC);

void setup() {
    // This clears the setup done flag on brand new devices so it won't stay in listening mode
    const uint8_t val = 0x01;
    dct_write_app_data(&val, DCT_SETUP_DONE_OFFSET, 1);

    // This is just so you know the operation is complete
    pinMode(D7, OUTPUT);
    digitalWrite(D7, HIGH);
}

After that your device should think it was already setup successfully and putting into Listening Mode manually should work again.

Otherwise you can go through this procedure (the Xenon part) to manually flash the device OS, bootloader and factory application (aka Tinker)

1 Like