arjun.a
range data
5aefcf4
raw
history blame
No virus
12.2 kB
Ticket Name: TDA2EXEVM: Problems in the demo of usecase "Lane Detection"
Query Text:
Part Number: TDA2EXEVM Other Parts Discussed in Thread: TDA2 Hi, Our team would like to test the demo of Lane Detection by TDA2 , but the trouble happens as below: We need some help to realize and deal with the problem. Thank you very much. [IPU1-0] 37.811443 s: i2cMdSubmitChan: i2c1 transfer to slave address 0x4c failed [IPU1-0] 37.811565 s: src/bsp_deviceI2c.c @ Line 346: [IPU1-0] 37.811657 s: I2C1: DEV 0x4c: RD 0xea ... ERROR !!! [IPU1-0] 37.811748 s: src/bsp_deviceI2c.c @ Line 412: [IPU1-0] 37.811840 s: I2C1: Error timeout 0 ms!!! [IPU1-0] 37.811901 s: adv7611/src/bspdrv_adv7611I2c.c @ Line 1083: [IPU1-0] 37.811992 s: I2C read failed [IPU1-0] 37.812023 s: Assertion @ Line: 227 in C:/PROCESSOR_SDK_VISION_03_07/vision_sdk/apps/src/rtos/video_sensor/src/hdmiRec/hdmi_recvr.c: retVal == 0 : failed !!! [IPU1-0] 37.812755 s: Assertion @ Line: 227 in C:/PROCESSOR_SDK_VISION_03_07/vision_sdk/apps/src/rtos/video_sensor/src/hdmiRec/hdmi_recvr.c: retVal == 0 : failed !!!
Responses:
Hi, Can you share the full logs? Thanks Gaviraju
Sure. Thanks a lot. The full logs are as below: [IPU1-0] 26.408558 s: CAPTURE: Create in progress !!! [IPU1-0] 26.408772 s: CAPTURE: VIP1 Slice0 PortA capture mode is [16-bit] !!! [IPU1-0] 26.587049 s: CAPTURE: Create Done !!! [IPU1-0] 26.588208 s: IPC_OUT_0 : Create in progress !!! [IPU1-0] 26.588543 s: IPC_OUT_0 : Create Done !!! [EVE1 ] 26.588909 s: IPC_IN_0 : Create in progress !!! [EVE1 ] 26.589977 s: IPC_IN_0 : Create Done !!! [EVE1 ] 26.590556 s: ALGORITHM: Create in progress (algId = 10) !!! [EVE1 ] 26.670499 s: ALGORITHM: Create Done (algId = 10) !!! [EVE1 ] 26.671109 s: IPC_OUT_0 : Create in progress !!! [EVE1 ] 26.671536 s: IPC_OUT_0 : Create Done !!! [IPU1-0] 26.671902 s: IPC_IN_0 : Create in progress !!! [IPU1-0] 26.673275 s: IPC_IN_0 : Create Done !!! [IPU1-0] 26.673458 s: ALGORITHM: Create in progress (algId = 5) !!! [IPU1-0] 26.674464 s: ALG_IMAGEPYRAMID: # 0 Input 0,244 : 1280 x 230 (1280 B) (In Org 1280 x 720) [IPU1-0] 26.674647 s: Output 0,244 : 1280 x 228 (1280 B) (Out Org 1280 x 720) [IPU1-0] 26.674800 s: ALG_IMAGEPYRAMID: # 1 Input 0,218 : 1278 x 270 (1280 B) (In Org 0 x 0) [IPU1-0] 26.674922 s: Output 0,184 : 1076 x 228 (1088 B) (Out Org 1076 x 604) [IPU1-0] 26.675074 s: ALG_IMAGEPYRAMID: # 2 Input 0,192 : 1278 x 322 (1280 B) (In Org 0 x 0) [IPU1-0] 26.675257 s: Output 0,136 : 904 x 228 ( 928 B) (Out Org 904 x 508) [IPU1-0] 26.675379 s: ALG_IMAGEPYRAMID: # 3 Input 0,160 : 1278 x 382 (1280 B) (In Org 0 x 0) [IPU1-0] 26.675593 s: Output 0, 96 : 760 x 228 ( 768 B) (Out Org 760 x 428) [IPU1-0] 26.675745 s: ALG_IMAGEPYRAMID: # 4 Input 0, 0 : 1280 x 720 (1280 B) (In Org 0 x 0) [IPU1-0] 26.675867 s: Output 0, 0 : 640 x 360 ( 640 B) (Out Org 640 x 360) [IPU1-0] 26.676020 s: ALG_IMAGEPYRAMID: # 5 Input 0, 38 : 636 x 270 ( 640 B) (In Org 0 x 0) [IPU1-0] 26.676203 s: Output 0, 32 : 536 x 228 ( 544 B) (Out Org 538 x 302) [IPU1-0] 26.676325 s: ALG_IMAGEPYRAMID: # 6 Input 0, 10 : 638 x 322 ( 640 B) (In Org 0 x 0) [IPU1-0] 26.676477 s: Output 0, 8 : 452 x 228 ( 480 B) (Out Org 452 x 254) [IPU1-0] 26.676630 s: ALG_IMAGEPYRAMID: # 7 Input 0, 0 : 638 x 356 ( 640 B) (In Org 0 x 0) [IPU1-0] 26.676752 s: Output 0, 0 : 380 x 212 ( 384 B) (Out Org 380 x 214) [IPU1-0] 26.676904 s: ALG_IMAGEPYRAMID: # 8 Input 0, 0 : 640 x 360 ( 640 B) (In Org 0 x 0) [IPU1-0] 26.677026 s: Output 0, 0 : 320 x 180 ( 320 B) (Out Org 320 x 180) [IPU1-0] 26.677392 s: ALG_IMAGEPYRAMID: # 9 Input 0, 0 : 318 x 176 ( 320 B) (In Org 0 x 0) [IPU1-0] 26.677545 s: Output 0, 0 : 268 x 148 ( 288 B) (Out Org 268 x 150) [IPU1-0] 26.677667 s: ALG_IMAGEPYRAMID: #10 Input 0, 0 : 316 x 174 ( 320 B) (In Org 0 x 0) [IPU1-0] 26.677819 s: Output 0, 0 : 224 x 124 ( 224 B) (Out Org 226 x 126) [IPU1-0] 26.677941 s: ALG_IMAGEPYRAMID: #11 Input 0, 0 : 316 x 174 ( 320 B) (In Org 0 x 0) [IPU1-0] 26.678094 s: Output 0, 0 : 188 x 104 ( 192 B) (Out Org 190 x 106) [IPU1-0] 26.678246 s: ALG_IMAGEPYRAMID: #12 Input 0, 0 : 320 x 180 ( 320 B) (In Org 0 x 0) [IPU1-0] 26.678399 s: Output 0, 0 : 160 x 88 ( 160 B) (Out Org 160 x 90) [IPU1-0] 26.678551 s: ALG_IMAGEPYRAMID: #13 Input 0, 0 : 156 x 84 ( 160 B) (In Org 0 x 0) [IPU1-0] 26.678673 s: Output 0, 0 : 132 x 72 ( 160 B) (Out Org 134 x 74) [IPU1-0] 27.168761 s: ALGORITHM: Create Done (algId = 5) !!! [IPU1-0] 27.168944 s: IPC_OUT_1 : Create in progress !!! [IPU1-0] 27.169310 s: IPC_OUT_1 : Create Done !!! [IPU1-0] 27.183492 s: IPC_IN_1 : Create in progress !!! [IPU1-0] 27.184529 s: IPC_IN_1 : Create Done !!! [IPU1-0] 27.185292 s: IPC_OUT_2 : Create in progress !!! [IPU1-0] 27.185628 s: IPC_OUT_2 : Create Done !!! [IPU1-0] 27.221222 s: IPC_IN_2 : Create in progress !!! [IPU1-0] 27.222290 s: IPC_IN_2 : Create Done !!! [IPU1-0] 27.222625 s: DISPLAY: Create in progress !!! [IPU1-0] 27.223235 s: DISPLAY: Create Done !!! [IPU1-0] 27.223388 s: GRPXSRC: Create in progress !!! [IPU1-0] 28.758341 s: GRPXSRC: Create Done !!! [IPU1-0] 28.758799 s: DISPLAY: Create in progress !!! [IPU1-0] 28.759318 s: DISPLAY: Create Done !!! [IPU1-0] 28.759531 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1022 [IPU1-0] 28.759653 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 242720 B (237 KB) [IPU1-0] 28.759806 s: SYSTEM: Heap = SR_OCMC @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB) [IPU1-0] 28.759958 s: SYSTEM: Heap = SR_DDR_CACHED @ 0x8a783000, Total size = 355979264 B (339 MB), Free size = 267219456 B (254 MB) [IPU1-0] 28.760141 s: SYSTEM: Heap = SR_DDR_NON_CACHED @ 0xbfb00000, Total size = 127360 B (0 MB), Free size = 92800 B (0 MB) [IPU1-0] 28.771030 s: CHAINS: Sensor create in progress [IPU1-0] 28.772494 s: [IPU1-0] 28.772799 s: i2cMdSubmitChan: i2c1 transfer to slave address 0x4c failed [IPU1-0] 28.772921 s: src/bsp_deviceI2c.c @ Line 346: [IPU1-0] 28.773012 s: I2C1: DEV 0x4c: RD 0xea ... ERROR !!! [IPU1-0] 28.773104 s: src/bsp_deviceI2c.c @ Line 412: [IPU1-0] 28.773195 s: I2C1: Error timeout 1 ms!!! [IPU1-0] 28.773287 s: adv7611/src/bspdrv_adv7611I2c.c @ Line 1083: [IPU1-0] 28.773378 s: I2C read failed [IPU1-0] 28.773439 s: Assertion @ Line: 227 in C:/PROCESSOR_SDK_VISION_03_07/vision_sdk/apps/src/rtos/video_sensor/src/hdmiRec/hdmi_recvr.c: retVal == 0 : failed !!! [IPU1-0] 28.774110 s: Assertion @ Line: 227 in C:/PROCESSOR_SDK_VISION_03_07/vision_sdk/apps/src/rtos/video_sensor/src/hdmiRec/hdmi_recvr.c: retVal == 0 : failed !!! [IPU1-0] 28.776276 s: *** UTILS: CPU KHz = 20000 Khz *** [IPU1-1] 28.760843 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023 [IPU1-1] 28.760965 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 655360 B (640 KB), Free size = 643368 B (628 KB) [HOST ] 28.761392 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023 [HOST ] 28.761422 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 6291456 B (6144 KB), Free size = 6245872 B (6099 KB) [DSP1 ] 27.169523 s: IPC_IN_0 : Create in progress !!! [DSP1 ] 27.169889 s: IPC_IN_0 : Create Done !!! [DSP1 ] 27.170133 s: ALGORITHM: Create in progress (algId = 9) !!! [DSP1 ] 27.183157 s: ALGORITHM: Create Done (algId = 9) !!! [DSP1 ] 27.183340 s: IPC_OUT_0 : Create in progress !!! [DSP1 ] 27.183401 s: IPC_OUT_0 : Create Done !!! [DSP1 ] 27.185811 s: IPC_IN_1 : Create in progress !!! [DSP1 ] 27.186207 s: IPC_IN_1 : Create Done !!! [DSP1 ] 27.186543 s: ALGORITHM: Create in progress (algId = 15) !!! [DSP1 ] 27.186695 s: UTILS: DMA: Allocated CH (TCC) = 24 (24) [DSP1 ] 27.186726 s: UTILS: DMA: 0 of 1: Allocated PaRAM = 24 (0x43305200) [DSP1 ] 27.220764 s: ALGORITHM: Create Done (algId = 15) !!! [DSP1 ] 27.221008 s: IPC_OUT_1 : Create in progress !!! [DSP1 ] 27.221069 s: IPC_OUT_1 : Create Done !!! [DSP1 ] 28.761605 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023 [DSP1 ] 28.761636 s: SYSTEM: Heap = LOCAL_L2 @ 0x00800000, Total size = 227264 B (221 KB), Free size = 204620 B (199 KB) [DSP1 ] 28.761697 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 524288 B (512 KB), Free size = 507712 B (495 KB) [DSP2 ] 28.761910 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023 [DSP2 ] 28.761971 s: SYSTEM: Heap = LOCAL_L2 @ 0x00800000, Total size = 227264 B (221 KB), Free size = 227264 B (221 KB) [DSP2 ] 28.762002 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 524288 B (512 KB), Free size = 514584 B (502 KB) [EVE1 ] 28.762856 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023 [EVE1 ] 28.763130 s: SYSTEM: Heap = LOCAL_L2 @ 0x40020000, Total size = 22528 B (22 KB), Free size = 9436 B (9 KB) [EVE1 ] 28.763618 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 247472 B (241 KB) [EVE2 ] 28.764838 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023 [EVE2 ] 28.765113 s: SYSTEM: Heap = LOCAL_L2 @ 0x40020000, Total size = 22528 B (22 KB), Free size = 22528 B (22 KB) [EVE2 ] 28.765631 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 252432 B (246 KB) [EVE3 ] 28.766973 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023 [EVE3 ] 28.767248 s: SYSTEM: Heap = LOCAL_L2 @ 0x40020000, Total size = 22528 B (22 KB), Free size = 22528 B (22 KB) [EVE3 ] 28.767766 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 252432 B (246 KB) [EVE4 ] 28.768956 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023 [EVE4 ] 28.769230 s: SYSTEM: Heap = LOCAL_L2 @ 0x40020000, Total size = 22528 B (22 KB), Free size = 22528 B (22 KB) [EVE4 ] 28.769718 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 252432 B (246 KB) [IPU2 ] 28.770664 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023 [IPU2 ] 28.770786 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 250104 B (244 KB)
Hi, What changes you did? apart from the use-guide changes. Did you modified driver files related to I2c? Thanks Gaviraju
Hi, Thank you for the reply. I did not modify or change any driver file related to I2C. Should I reinstall something to let the files be the original status? Thanks.
Hi, Please follow the below thread https://e2e.ti.com/support/processors/f/791/t/625045?tisearch=e2e-quicksearch&keymatch=I2C1:%20DEV%200x4c:%20RD%200xea%20...%20ERROR%20!!! Thanks Gaviraju
Hi, I follow the thread then find out that the daughter card of our Tda2 EVM does not have ADV7611 chip. Do we have other way to test the demo of Lane Detection by only using 1CH VIP capture without HDMI? I mean that even if our daughter card does not have ADV7611 chip , could our team use the TDA2 to finish Lane Detection demo? Thank you.
Hi, Can you try with below changes in the function "Chains_menuSingleCameraRun" File path: vision_sdk\apps\src\rtos\common\chains_main_bios_single_cam.c #ifdef UC_vip_single_cam_lane_detection case 'b': case 'B': if(BSP_PLATFORM_SOC_ID_TDA2EX != Bsp_platformGetSocId()) { usecaseCfg = gChains_usecaseCfg; #if 0 if( usecaseCfg.captureSrc!= CHAINS_CAPTURE_SRC_HDMI_1080P ) { Vps_printf(" ### ONLY HDMI 1080p60 input supported for this usecase "); Vps_printf(" ### Please choose HDMI 1080p60 Capture Source using option 's'\n"); break; } #endif Chains_vipSingleCameraLaneDetect(&gChains_usecaseCfg); /* No HDMI input for monstercam */ } Thanks Gaviraju
Hi, Thank you for the reply. I try to modify the code in the function "Chains_menuSingleCameraRun" but the same problem still happens. When testing the demo , first we must set "system setting' and "capture setting" to "2.HDMI Capture 1080P60". Because without this step ,the "b.1CH VIP capture+Lane Detect (DSP1+EVE1)+Display" does not have any response when we want to execute the demo. After finishing capture setting" to "2.HDMI Capture 1080P60", we can partially run the demo but the same problem still happens even the function "Chains_menuSingleCameraRun is modified. I am not pretty sure that probably there are something wrong in the steps above. Thank you.
Hi Whatever the step I shared, that is for 1CH VIP capture without HDMI & you no need to do any system setting & capture setting & make sure camera is connected or not Thanks Gaviraju