Fault finding and upgrading Device Protected modules

When we get a customer returned unit that has Device Protection enabled on it, it is very difficult to fault find on it or upgrade it as there is no debug out of the USB and you cannot flash it via USB or JTAG. This is especially a problem when devices won't connect to a network to allow you to disable the Device Protection.

It is also an issue for us upgrading North American Cellular devices that won't connect to Particle here in the UK.

Is there any way to locally disable the Device Protection without the device being connected to Particle?

You should be able to temporarily disable device protection on the device using the Particle CLI, see particle device protection.

This requires that the account logged into the CLI be a team member with the necessary product permissions, but works if the device is offline.