there is a bug in the code when camera is not connected or is not recognized correctly the appliacation stops in fault handler, exactly in software_interrupt_irq_handler or data_abort_irq_handler. The problem is in DRV_ImageSensor_Probe() function in drv_image_sensor.c file. At line 320, when we try to auto-detect the camera, the loop iterates through the null pointers in the array and then the code tries to write the data to the structure at the empty address: isensor->drvI2CHandle = I2CHandle;. You should checking if Device[i] is a null pointer or change DRV_IMAGE_SENSOR_MAX_DEVICES = 3 in the drv_image_sensor.h file.
Hi,
there is a bug in the code when camera is not connected or is not recognized correctly the appliacation stops in fault handler, exactly in software_interrupt_irq_handler or data_abort_irq_handler. The problem is in DRV_ImageSensor_Probe() function in drv_image_sensor.c file. At line 320, when we try to auto-detect the camera, the loop iterates through the null pointers in the array and then the code tries to write the data to the structure at the empty address:
isensor->drvI2CHandle = I2CHandle;
. You should checking if Device[i] is a null pointer or change DRV_IMAGE_SENSOR_MAX_DEVICES = 3 in the drv_image_sensor.h file.Regards KS