Part Number: PROCESSOR-SDK-DRA8X
Other Parts Discussed in Thread: SYSBIOS
Tool/software: Code Composer Studio
Dear TI
I have a serious problem in debug,I use CCS&XDS110(TDA4 on-board debugger) debug mode, I choose to load the program, to load the(/psdk_rtos_auto_j7_06_01_00_15 / vision_apps/out/J7/R5F SYSBIOS/debug/vx_app_tirtos_linux_mcu2_1.out) files, Then I make breakpoint in the main function entry (99 lines) in (psdk_rtos_auto_j7_06_01_00_15/vision_apps/apps/basic_demos/ app_tirtos_linux/McU2_1 /main.c), Then make the breakpoint again at (psdk_rtos_auto_j7_06_01_00_15/vision_apps/apps/basic_demos/app_tirtos/common/app_init.c 384 lines) [status = appUdmaInit()], but I find that the appUdmaInit function returns -1(you can look it in pictures).
However, if I directly control TDA4 development board through the serial port, Select the path of (/opt/vision) to run vx_app_single_cam.out, the program can be directly run, and camera can normally show images in HDMI display , so why is the return value of appUdmaInit function is -1 under debugging state? Because when the return value is -1, The debug will be stuck at code (psdk_rtos_auto_j7_06_01_00_15/vision_apps/apps/basic_demos/app_tirtos/common/app_init.c 384 lines)[APP_ASSERT_SUCCESS(status)] and cannot continue downward,this question puzzled me for a long time
The purpose of my doing this is to dump the pictures when the camera is working normally, I want to dump pictures in (\psdk_rtos_auto_j7_06_01_00_15\pdk\packages\ti\drv\csirx\src\csirx_drvUdma.c)[qObj = (CsirxDrv_QueObj *) Fvid2Utils_dequeue(bmObj->curQ)], the variable 'qObj' represent a address of picture; Please help me, thank you.








