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.

TDA4VM: DCC_*.bin modification does not take effect

Part Number: TDA4VM


Hello
DCC_*.bin modification does not take effect, I will describe my operation steps below
1. Modify the ox08b40_viss_blc.xml file under tda4s2\rtossdk\imaging\sensor_drv\src\ox08b40\dcc_xmls\linear
//viss_clamp_vshort : For linear mode only this should be set to sensor Black Level
{
-250, // dcoffset_clamp_value 0
-250, // dcoffset_clamp_value 1
-250, // dcoffset_clamp_value 2
-250, // dcoffset_clamp_value 3
}
2. Use the script to compile generate_dcc.sh, and the result is compiled OK
3. Copy the *.bin file under tda4-s2\rtos-sdk\imaging\sensor_drv\src\ox08b40\dcc_bins of the generated path
4. Copy the new *.bin file to the SD card release_***.***/opt/imaging/ox08b40/
Replace the original *.bin file here
5. Turn off the power again, and after the power-on operation, it is found that the imaging YUV has no improvement effect

But I did not change steps 1 and 2. I recompiled and generated a new release_***.***, and after burning the card and taking pictures, the effect of YUV was successfully modified, the screen turned green and the dark part turned black

My question is why it will not take effect if I put the generated bin file directly in the specified location, but it will take effect after re-burning the SD card after modification

  • The script (generate_dcc.sh) converts the generated binary files into header files.

    Re-compiling PSDK will update vision apps with the new data in the header files.

    Therefore it is necessary to flash the SD card each time.

  • Hello
    Thanks for your answer, I want to check with you again
    It means that I have to re-program the SD release***.*** every time
    Because this method is very unfriendly to effect debugging, and re-burning every time is very time-consuming

    I just do as follows
    make imaging && make vision_apps
    sudo make linux_fs_install_sd
    Then the push *bin file will not work, right?

  • Hi Li,
    The safest way is to re-compile PSDK (make sdk) after generating new header files.

    The command (make linux_fs_install_sd) will copy everything to the SD card.