[SOLVED] Failed to Flash : Permission Denied

Hello, I am trying to flash my Tracker One using Particle Workbench.

The flash fails and permission is denied. Everything up until the flash step was OK.

I had been following the instructions from the manual so I’m not sure what went wrong.
https://docs.particle.io/tutorials/asset-tracking/tracker-edge-firmware/#getting-the-tracker-edge-firmware

I was curious if other folks had seen this kind of error before.

looks like the docs are inaccurate, the Workbench command to run is called Particle: Flash application & DeviceOS (local) - more info over here:

https://docs.particle.io/tutorials/developer-tools/workbench/#local-build-and-flash

2 Likes

Thanks @m_m

That worked! I will say the flash takes a lot longer than I expected, so for those of you experiencing this, just be patient, it should go through (it took > 5 mins for me, which seems very long).

In my experience under Windows a project build takes about twice as long as under Linux.
I’m now using Win10’s Windows Subsystem for Linux (WSL2) for building.

2 Likes

Thanks @ScruffR!

Thank you for the comparison! I am using OSX, so maybe close to Linux ¯_(ツ)_/¯

BONUS Question:
I am just starting to use the Particle Workbench after using Particle Dev. I remember build times taking 20 seconds in Particle Dev for the Electron. Is there something different in how it compiles in Workbench which causes this difference in time?

Thanks!

The biggest difference between the two is that Particle Dev never actually built locally but still used the cloud build (which you could still use with Workbench - just not for the Asset Tracker Firmware (yet)).
And you also only were able to build the application firmware where Workbench’s Particle: Flash application and DeviceOS (local) builds both the application and the device OS which is multiple times heavier that the application alone.

2 Likes