Tool/software: Code Composer Studio
Hello Expert,
This thread moved from compiler forum. (https://e2e.ti.com/support/interface/f/138/p/923370/3413668#3413668)
I am currently writing device driver code for UB913A-Q1 and UB960.
I created the device driver by referring to the previous device driver code.
Now, i can see my device driver in 'app_single_cam_main.c'
But, this device driver does not seem to work properly.
I want to save the image to test my camera, but nothing is saved.
It seems that I am modifying serDes or app_single_cam_main.c incorrectly.
I will share my current situation, can you please confirm?
-------------------------------------------------------------------------
Deserializer register config
{0x4C, 0x01,0x10},
{0x58, 0x58,0x10},
{0xD5, 0xF0,0x10},
{0x6D, 0x6F,0x10}, /*raw 10 mode*/
{0x70, 0x1E,0x10},
{0x5D, (BSPUTILS_SER_ID_ADDR << 1U), 0x10}, /*Serializer I2C Address*/
{0x65, (SER_0_I2C_ALIAS << 1U), 0x10},
{0x5E, ISX016_I2C_ADDR, 0x10}, /*Sensor I2C Address*/
{0x66, (SENSOR_0_I2C_ALIAS << 1U), 0x10},
{0x32, 0x01,0x0},
{0x20, 0x00, 0x10},
{0x21, 0x03, 0x0},
{0xFFFF, 0x00, 0x0} //End of script
app_single_cam_main.c
VISS and 2A nodes are removed from the graph
And i set,
capture_node => obj->mydata => display_image
And image dump,
write_output_image_raw(raw_image_fname, obj->mydata);
The data type of obj->mydata is vx_image.
---------------------------------------------------------------------
Do you have any idea where I'm setting it wrong?
Any advice is appreciated.
Regards,
Kim