This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OPT8241-CDK-EVM: Is there any way to restore 8241EVM to factory Settings?

Part Number: OPT8241-CDK-EVM

Hello,

My OPT8241-CDK-EVM module(connecting a rpi3 running Linux) was powered off abnormally. At first,  I rebooted the device and  could't run VoxelCLI/Start normally. The built in profiles can't be read normally by the Voxel viewer 0.9.10 running on Windows. Some built in profiles are missing, such as the Extra Long Range profile, but I can read the built-in profiles with VoxelCLI. Then after a while, I rebooted the device again, and VoxelCLI/Start(linux) command can run normally, Voxel viewer 0.9.10 still can't read all the profiles. Is there any way to restore 8241EVM   to factory Settings? 

Flashing OPT9221 E2rom is no use at all. Thanks!

  • Hi Jie,

    Can you share the image showing the profiles on VoxelViewer 0.9.10? Also, a screenshot of the profiles on VoxelCLI.

    The extra long range profile isn't a built-in profile. It comes with VoxelSDK/Viewer. You could have changed the name, or accidentally deleted it.

    The local profiles on a PC are stored in the ~/.Voxel/conf directory. Can you see if the filename "TintinCDKCameraExtraLongRange.conf" is present in that? I think that the file has been modified.

    Suramya
  • Hi Suramya,

    The Voxel Viewer running on Windows can read these profiles shown as below.

               

     A built-in profile(MetrilusShortRange) was accidentally deleted when I try to restore the profiles. How can I restore it? 

    The VoxelCLI running on Linux can read all the profiles except the accidentally deleted MetrilusShortRange profile, which is shown as below:

    I can't find any .conf files in the ~/Voxel/conf(Linux) folder except the TintinCDKCamera.conf file. But I can find many .conf files in the Windows ~\VoxelViewer\voxel-sdk\share\voxel-0.6.11\conf folder. Below is a snapshot. 

    I wonder if I can restore the deleted or missing profiles to the 8241EVM device. How can I do it? Thank you.

    Jie 

  • Hello Jie,

    If the files are not present in the "TintinCDKCamera.conf" file, they won't be visible in Voxel Viewer. Copy the attached TintinCDKCamera.conf (replace .txt with .conf) file to your ~/.Voxel/conf directory on (C:\Users\<username>\.Voxel\conf). That will show the Extra Long Range profile. 

    I'm afraid that you won't be able to get the Short Range profile back, which you deleted from hardware. 

    If you did take a backup of the file stored in the camera, you can find it in the ~/.Voxel/conf directory with <Serial Number> - <Profile Name>.conf filename. If that's not the case, the camera profile in the camera EEPROM is lost. 

    [core]
    dml = OPT9221.dml
    camera_profiles = TintinCDKCameraLensOnly.conf, TintinCDKCameraShortRange.conf, TintinCDKCameraLongRange.conf, TintinCDKCameraHighAmbient.conf, TintinCDKCameraNoCalibration.conf, TintinCDKCameraExtraLongRange.conf
    default_profile = 130
    
    [observed_params]
    tsensor = refresh:5; valid:0-50
    tillum = refresh:5; valid:0-40
    comp_fb_error_cnt = 
    illum_fb_error_cnt =
    illum_current = refresh:2
    main_current = refresh:2

    I hope this helps. 

    Suramya

  • Hi Suramya,

    Thank you for your help. I already understand what you said. Could you show me the parameters in the profile I deleted? I can use VoxelCLI to restore it. Or you can attach a .conf file for MetrilusShortRange. Thanks a lot.

    Jie
  • Jie,

    The calibration parameters are specific to the camera, and you cannot get them back. You would need to re-calibrate the camera.

    The way to go about it will be to use the "TintinCDKCameraShortRange.conf" and change the parent id to MetrilusLongRange (in your case, parent = 2).
    Then, open VoxelViewer and calibrate for Common Phase Offset using the Calibration Wizard. You can find the calibration information from e2e.ti.com/.../640301

    Since calibration parameters are different for each camera, you need to calibrate it manually. The param settings will stay the same as the TintinCDKCameraShortRange.conf profile.

    Suramya
  • Hi Suramya,

    Thanks for your help. I will try according to your  suggestion.

    Jie