New system image cannot be written
This error will be generated if you invoke the LoadEx method on a device, but the system image cannot be written, probably because it is not stored in flash memory.
The old system image will remain intact if this error is thrown. However, the device will remain applicationless. You should load a new application image into the device with the Load or LoadEx methods in this case.