Hi,
In continuation to the below thread for new camera support,
http://e2e.ti.com/support/processors/f/791/t/854271.
I have following question:
The application "app_single_cam", is trying to enumerate the sensor list in app_init (app_single_cam_main.c) function by calling the function appEnumerateImageSensor (/vision_apps/utils/iss/src/app_iss.c)
How is this function appEnumerateImageSensor able to generate the list of sensors. ?
i found out that in function appEnumerateImageSensor it is calling the appRemoteServiceRun function. i.e
status = appRemoteServiceRun(
APP_IPC_CPU_MCU2_1 ,
IMAGE_SENSOR_REMOTE_SERVICE_NAME,
IM_SENSOR_CMD_ENUMERATE,
(void*)g_cmdPrm,
CMD_PARAM_SIZE,
0
);
The array g_cmdPrm gets filled with the ascii values of the sensor names , whatever is defined using the macro
#define SENSOR_SONY_IMX390_UB953_D3 "IMX390-UB953_D3"
#define SENSOR_ONSEMI_AR0233_UB953_MARS "AR0233-UB953_MARS"
#define SENSOR_ONSEMI_AR0820_UB953_LI "AR0820-UB953_LI"
#define SENSOR_SONY_ISX016 "ISX016-UB913" //Added by me
My problem is that even if i add my custom name, it is only picking first 3 names and enumerating the sensor list. I am unable to trace the location of the code from where i can make the code to pick my sensor.
Note: I have made the application changes as suggested by Mr. Mayank Mangla over email.
Regards,
Anshuman