I am getting a failure - [upload] IndexError : list index out of range, using the Blink example.
The Build command is successful; this error is when trying to Upload. The full Upload log and error as follows:
toolchain-gccarmnoneeabi 1.80201.190214 (8.2.1)
LDF: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Building in release mode
*** [upload] IndexError : list index out of range
Putting the device into DFU mode (through button sequence) was not sufficient, the result is the same. In DFU mode, I notice the Serial COM device doesn’t present itself in the Devices list, so maybe there’s a Windows driver missing?
So here’s the confusing part. Platformio is presented as single-click install and start coding. But it sounds like you’re saying that Particle integration is incomplete. How would we know how much of Particle to install and configure, versus where do we let Platformio take over? There’s no issue in doing the Particle work, however the Platformio documentation says nothing about it, so the amount of preparation work with Particle is unknowable.
Unless there’s just a bug somewhere, but this combo doesn’t seem to work out of the box.
I’m having the exact same issue with Particle Argon devices. Have tried in DFU mode, etc. I can upload fine to other nrf52840 devices, such as the makerdiary device, but not this one. I have also tried registering the device with particle to see if it was some obscure registration requirement, but no luck.
Any guidance would be helpful!