Hi,

As per the example and the instructions here, I downloaded the update.py script along with the configs zip folder and ran the update script after I connected the OAK-T camera. I made sure the configs zip folder and the update.py script are in the same folder as suggested. However, when it tries to update the calibration and add required extrinsics between the camera sensors, I get the following error.

Exception has occurred: RuntimeError
No PROTECTED permissions to override protected EEPROM fields
File "C:\EMVS_Development_Camera_Scripts\Thermal_Camera_Test_Scripts\update.py", line 28, in main device.flashCalibration(get_calib(deviceInfo.mxid))
File "C:\EMVS_Development_Camera_Scripts\Thermal_Camera_Test_Scripts\update.py", line 37, in <module>
main()
RuntimeError: No PROTECTED permissions to override protected EEPROM fields

Seems like it isn't letting the update on the camera EEPROM fields to take place because of permission issues. How do I resolve it as there isn't much documentation on it?

Thanks & Regards
Yishu

  • Hi,

    got some feedback from the team — it seems the environment variable DEPTHAI_ALLOW_FACTORY_FLASHING=868632271 didn’t get applied properly. You might need to set it manually outside the script before running the update. That should give the script the necessary permission.

    Best,
    Lovro

Hi,

thanks for the details — I’ve passed this on internally and we should have a reply for you soon.

Best,
Lovro

Hi,

got some feedback from the team — it seems the environment variable DEPTHAI_ALLOW_FACTORY_FLASHING=868632271 didn’t get applied properly. You might need to set it manually outside the script before running the update. That should give the script the necessary permission.

Best,
Lovro

    lovro

    Hi,

    Thanks for the response. It works now and the calibration got updated on the camera.

    Thanks,
    Yishu