I just picked up a supposedly new BRN402 and started the Setup process (I’ve setup BRN402’s before). When I connect the device via USB, Setup doesn’t think there’s a device connected. Also, I don’t get the usual USB “ding”, and the device flashes blue. I also tried the CLI and “particle” commands say there is no USB device connected.
I tried the “hold MODE, press RESET, wait, release MODE” and it went into magenta then back to flashing Blue. I also tried the MODE/RESET and held MODE longer and it goes to flashing slow Green. At that point I do get the USB “ding” but the device is still not recognized by Setup nor Particle commands.
I tried: particle usb setup-done and the response was “The device should not be in DFU mode”
I tried: particle flash tinker and the response was “Failed to flash Tinker: the access token provided is invalid.
Device Doctor won’t recognize that there is a device connected.
Is it defective or is there some other mode I need to clear?
I assume you are using Windows. I think you may have an invalid device driver, in particular the DFU device driver, though the symptoms don't perfectly match so it could be something else.
Yes, I’m on Windows 10. This is the same computer I’ve been using to setup and program other Boron LTE 402’s, so unless the driver was damaged or different vintage Borons need different drivers, it’s less likely to be a driver issue.
I did the ‘Particle Login’ successfully. Then tried to flash tinker. With the Boron flashing blue (no Windows “ding” to indicate USB connection), I get: Failed to flash tinker: permission denied. With the Boron flashing green (and I do get a USB connection ding), I get the same error.
Just for laughs and to try to get more information, while flashing green:
Particle usb list gives no list but also no errors
Particle usb dfu gives unable to open DFU device
Particle usb setup-done gives The device should not be in DFU mode
I’ve tried 2 different cables, both known to be good for data transfer. Also tried different USB ports on different internal USB controllers.
It's not clear what is wrong. The device could be defective. It may be new as in never set up, but we haven't manufactured the BRN402 in at least 3 years, so it's not recently manufactured. Could you private message the Device ID or serial number for the device to me? It's highly unlikely but if the device was one of the first release devices it would behave like that with current setup tools, and I can tell from the serial number or Device ID. If you have a SWD/JTAG programmer JTAG device restore might be able to fix it.
It's not clear why your device is not working. It has never connected to the Particle cloud and was manufactured on March 29, 2019. It should have Device OS 0.9.0 on it, so it should be able to be set up by all of the current setup tools.
Final answer. I was able to get this device working by using the Particle App on my phone.
Start the App, click +, scan the code on the device, and it will install 2 firmware updates. The process will then issue an error related to connecting. But now it can be set up by going to setup.particle.io like usual and following the steps.