Spaces:
Runtime error
Runtime error
File size: 62,112 Bytes
5aefcf4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 |
Ticket Name: TDA4VM: Porting sensor driver from TDA2 to TDA4 Query Text: Part Number: TDA4VM Other Parts Discussed in Thread: TDA2, DS90UB913A-Q1, DS90UB933-Q1 Hello, We have a working sensor driver implemented for the TAD2 platform but we are currently trying port the senor driver from TDA2 platform to the TDA4 but without success, the registers of both, the sensor and the seriaizer, are written without any apparent error but the image received from the sensor is just noise. We have followed the steps in the guide 8.12. Adding new image sensor to PSDK RTOS — Processor SDK RTOS J721E (ti.com) . The values of the configuration registers for the serializer and sensor are the same that the proper ones used in the TDA2 platform, are there any extra steps to make the porting correctly? Our sensor is MIPI 2 lanes and there is no other sensor in the TDA4 SDK with this configuration to compare with, we have ported the code as follows: ------TDA2---CODE---------- ChainsCommon_SensorIntfInfo gSensorInterfaceInfo[] = {SENSOR_NAME, { 4u, /* TDA3X EVM board uses I2C instance 1 */ {PORT_0_SENSOR_ADDR, PORT_1_SENSOR_ADDR, PORT_2_SENSOR_ADDR, PORT_3_SENSOR_ADDR}, /* Sensor alias address */ {PORT_0_SER_ADDR, PORT_1_SER_ADDR, PORT_2_SER_ADDR, PORT_3_SER_ADDR}, /* Serializer alias address */ TRUE, /* isMultiChannel */ SYSTEM_VIFW_2LANES, SYSTEM_VIFM_SCH_CSI2, SYSTEM_CSI2_RAW10 /* CSI2 DataFormat*/, 0 /*Virtual Channel Id*/, 0, /* Is CSI Enable Required in UB960 */ {TRUE /* isCplxCfgValid */, {{FALSE, 1}, /* Clock Lane */ {FALSE, 2}, /* data1Lane */ {FALSE, 3}, /* data2Lane */ {FALSE, 4}, /* data3Lane*/ {FALSE, 5}},/* data4Lane */ 800 /* csi2PhyClk */ }, FVID2_VID_SENSOR_TIDA00262_APT_AR0140_DRV, /* sensorDrvId */ FALSE, /* sensorBroadcast */ FALSE}}, }; ------TDA4---CODE------- static IssSensor_CreateParams CreatePrms = { SENSOR_UB953_OV, /*sensor name*/ 0x6 , /*i2cInstId*/ { SENSOR_0_I2C_ALIAS, SENSOR_1_I2C_ALIAS, SENSOR_2_I2C_ALIAS, SENSOR_3_I2C_ALIAS, SENSOR_4_I2C_ALIAS, SENSOR_5_I2C_ALIAS, SENSOR_6_I2C_ALIAS, SENSOR_7_I2C_ALIAS }, /*i2cAddrSensor*/ { SER_0_I2C_ALIAS, SER_1_I2C_ALIAS, SER_2_I2C_ALIAS, SER_3_I2C_ALIAS, SER_4_I2C_ALIAS, SER_5_I2C_ALIAS, SER_6_I2C_ALIAS, SER_7_I2C_ALIAS }, /*i2cAddrSer*/ /*IssSensor_Info*/ { { OV2312_OUT_WIDTH, /*width*/ OV2312_OUT_HEIGHT, /*height*/ 1 , /*num_exposures*/ vx_false_e, /*line_interleaved*/ { {TIVX_RAW_IMAGE_16_BIT, 11 }, /*dataFormat and MSB [0]*/ /* Sensor output: 10-bit RGB-lr RAW */ }, 0 , /*meta_height_before*/ 0 , /*meta_height_after*/ }, ISS_SENSOR_FEATURES, /*features*/ ALGORITHMS_ISS_AEWB_MODE_NONE, /*aewbMode*/ 30 , /*fps*/ 2 , /*numDataLanes*/ { 1 , 2 , 3 , 4 }, /*dataLanesMap*/ { 0 , 0 , 0 , 0 }, /*dataLanesPolarity*/ CSIRX_LANE_BAND_SPEED_720_TO_800_MBPS, /*csi_laneBandSpeed*/ }, 1 , /*numChan*/ 2333 , /*dccId*/ //TODO change to custom unique dccID }; Are there any common deserializer settings that may conflict with our 2-line configuration? Thank you in advance. Best regards, Mohamed Responses: Hello Mohamed, numDataLanes refers to the CSI Tx configuration for the device connected to J7. In your case it is the deserializer (not sensor). Therefore sensor lane config does not matter. Please check deserializer lane config and set numDataLanes accordingly. Regards, Mayank I have checked the deserializer lane config and it looks good, can you see the log below. root@j7-evm:/opt/vision_apps# ./vx_app_single_cam.out APP: Init ... !!! MEM: Init ... !!! MEM: Initialized DMA HEAP (fd=4) !!! MEM: Init ... Done !!! IPC: Init ... !!! IPC: Init ... Done !!! REMOTE_SERVICE: Init ... !!! REMOTE_SERVICE: Init ... Done !!! 95.901980 s: GTC Frequency = 200 MHz APP: Init ... Done !!! 95.906035 s: VX_ZONE_INIT:Enabled 95.906074 s: VX_ZONE_ERROR:Enabled 95.906079 s: VX_ZONE_WARNING:Enabled 95.909846 s: VX_ZONE_INIT:[tivxInit:71] Initialization Done !!! 95.910020 s: VX_ZONE_INIT:[tivxHostInit:48] Initialization Done for HOST !!! Single Camera Demo - (c) Texas Instruments 2019 ======================================================== Usage, ./vx_app_single_cam.out --cfg <config file> Defaulting to interactive mode IttCtrl_registerHandler: command echo registered at location 0 IttCtrl_registerHandler: command iss_read_2a_params registered at location 1 IttCtrl_registerHandler: command iss_write_2a_params registered at location 2 IttCtrl_registerHandler: command iss_raw_save registered at location 3 IttCtrl_registerHandler: command iss_yuv_save registered at location 4 IttCtrl_registerHandler: command iss_read_sensor_reg registered at location 5 IttCtrl_registerHandler: command iss_write_sensor_reg registered at location 6 IttCtrl_registerHandler: command dev_ctrl registered at location 7 IttCtrl_registerHandler: command iss_send_dcc_file registered at location 8 Single Cam App Init...Detecting Sensors... NETWORK: Opened at IP Addr = 0.0.0.0, socket port=5000!!! tivxImagingLoadKernels done 95.910944 s: ISS: Enumerating sensors ... !!! [MCU2_0] 95.911031 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CREATE [MCU2_0] 95.911161 s: UB960 config start [MCU2_0] 95.911328 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x1 , regValue: 0x2, status: 0, counter: 0 [MCU2_0] 95.943037 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x1f , regValue: 0x0, status: 0, counter: 1 [MCU2_0] 95.943213 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xd , regValue: 0x90, status: 0, counter: 2 [MCU2_0] 95.944036 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xc , regValue: 0xf, status: 0, counter: 3 [MCU2_0] 95.945034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 4 [MCU2_0] 95.961026 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x58 , regValue: 0x5e, status: 0, counter: 5 [MCU2_0] 95.962037 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0x0, status: 0, counter: 6 [MCU2_0] 95.963037 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x12, status: 0, counter: 7 [MCU2_0] 95.979033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x58 , regValue: 0x5e, status: 0, counter: 8 [MCU2_0] 95.980037 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x24, status: 0, counter: 9 [MCU2_0] 95.996033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x58 , regValue: 0x5e, status: 0, counter: 10 [MCU2_0] 95.997032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x38, status: 0, counter: 11 [MCU2_0] 96.013028 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x58 , regValue: 0x5e, status: 0, counter: 12 [MCU2_0] 96.014034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x20 , regValue: 0x0, status: 0, counter: 13 [MCU2_0] 96.015034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x10 , regValue: 0x83, status: 0, counter: 14 [MCU2_0] 96.016033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x11 , regValue: 0xa3, status: 0, counter: 15 [MCU2_0] 96.017033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x12 , regValue: 0xc3, status: 0, counter: 16 [MCU2_0] 96.018027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x13 , regValue: 0xe3, status: 0, counter: 17 [MCU2_0] 96.019030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 18 [MCU2_0] 96.035022 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x32 , regValue: 0x1, status: 0, counter: 19 [MCU2_0] 96.036030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x33 , regValue: 0x2, status: 0, counter: 20 [MCU2_0] 96.037027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xbc , regValue: 0x0, status: 0, counter: 21 [MCU2_0] 96.038035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5d , regValue: 0x30, status: 0, counter: 22 [MCU2_0] 96.039030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xff, status: 0, counter: 23 [MCU2_0] 96.040027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5e , regValue: 0xff, status: 0, counter: 24 [MCU2_0] 96.041030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0xff, status: 0, counter: 25 [MCU2_0] 96.042033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x6d , regValue: 0x6c, status: 0, counter: 26 [MCU2_0] 96.042201 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0x0, status: 0, counter: 27 [MCU2_0] 96.042359 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x12, status: 0, counter: 28 [MCU2_0] 96.058033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x32 , regValue: 0x1, status: 0, counter: 29 [MCU2_0] 96.059033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x33 , regValue: 0x2, status: 0, counter: 30 [MCU2_0] 96.060031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xbc , regValue: 0x0, status: 0, counter: 31 [MCU2_0] 96.061034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5d , regValue: 0x30, status: 0, counter: 32 [MCU2_0] 96.062030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xff, status: 0, counter: 33 [MCU2_0] 96.063034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5e , regValue: 0xff, status: 0, counter: 34 [MCU2_0] 96.064026 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0xff, status: 0, counter: 35 [MCU2_0] 96.065030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x6d , regValue: 0x6c, status: 0, counter: 36 [MCU2_0] 96.065198 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0x55, status: 0, counter: 37 [MCU2_0] 96.065357 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x24, status: 0, counter: 38 [MCU2_0] 96.081033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x32 , regValue: 0x1, status: 0, counter: 39 [MCU2_0] 96.082033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x33 , regValue: 0x2, status: 0, counter: 40 [MCU2_0] 96.083029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xbc , regValue: 0x0, status: 0, counter: 41 [MCU2_0] 96.084031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5d , regValue: 0x30, status: 0, counter: 42 [MCU2_0] 96.085031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xff, status: 0, counter: 43 [MCU2_0] 96.086027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5e , regValue: 0xff, status: 0, counter: 44 [MCU2_0] 96.087034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0xff, status: 0, counter: 45 [MCU2_0] 96.088032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x6d , regValue: 0x6c, status: 0, counter: 46 [MCU2_0] 96.088203 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0xaa, status: 0, counter: 47 [MCU2_0] 96.088364 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x38, status: 0, counter: 48 [MCU2_0] 96.104026 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x32 , regValue: 0x1, status: 0, counter: 49 [MCU2_0] 96.105030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x33 , regValue: 0x2, status: 0, counter: 50 [MCU2_0] 96.106029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xbc , regValue: 0x0, status: 0, counter: 51 [MCU2_0] 96.107028 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5d , regValue: 0x30, status: 0, counter: 52 [MCU2_0] 96.108032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xff, status: 0, counter: 53 [MCU2_0] 96.109035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5e , regValue: 0xff, status: 0, counter: 54 [MCU2_0] 96.110032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0xff, status: 0, counter: 55 [MCU2_0] 96.111032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x6d , regValue: 0x6c, status: 0, counter: 56 [MCU2_0] 96.111204 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0xff, status: 0, counter: 57 [MCU2_0] 96.111362 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 58 [MCU2_0] 96.111405 s: End of UB960 config [MCU2_0] 96.111423 s: UB960 config start [MCU2_0] 96.111556 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x1 , regValue: 0x2, status: 0, counter: 0 [MCU2_0] 96.143029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x1f , regValue: 0x0, status: 0, counter: 1 [MCU2_0] 96.143201 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0xd , regValue: 0x90, status: 0, counter: 2 [MCU2_0] 96.144034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0xc , regValue: 0xf, status: 0, counter: 3 [MCU2_0] 96.145029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 4 [MCU2_0] 96.161023 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x58 , regValue: 0x5e, status: 0, counter: 5 [MCU2_0] 96.162030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0x0, status: 0, counter: 6 [MCU2_0] 96.163029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x12, status: 0, counter: 7 [MCU2_0] 96.179039 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x58 , regValue: 0x5e, status: 0, counter: 8 [MCU2_0] 96.180031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x24, status: 0, counter: 9 [MCU2_0] 96.196029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x58 , regValue: 0x5e, status: 0, counter: 10 [MCU2_0] 96.197039 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x38, status: 0, counter: 11 [MCU2_0] 96.213027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x58 , regValue: 0x5e, status: 0, counter: 12 [MCU2_0] 96.214028 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x20 , regValue: 0x0, status: 0, counter: 13 [MCU2_0] 96.215033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x10 , regValue: 0x83, status: 0, counter: 14 [MCU2_0] 96.216031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x11 , regValue: 0xa3, status: 0, counter: 15 [MCU2_0] 96.217030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x12 , regValue: 0xc3, status: 0, counter: 16 [MCU2_0] 96.218033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x13 , regValue: 0xe3, status: 0, counter: 17 [MCU2_0] 96.219032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 18 [MCU2_0] 96.235027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x32 , regValue: 0x1, status: 0, counter: 19 [MCU2_0] 96.236031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x33 , regValue: 0x2, status: 0, counter: 20 [MCU2_0] 96.237037 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0xbc , regValue: 0x0, status: 0, counter: 21 [MCU2_0] 96.238035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x5d , regValue: 0x30, status: 0, counter: 22 [MCU2_0] 96.239033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xff, status: 0, counter: 23 [MCU2_0] 96.240037 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x5e , regValue: 0xff, status: 0, counter: 24 [MCU2_0] 96.241035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0xff, status: 0, counter: 25 [MCU2_0] 96.242037 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x6d , regValue: 0x6c, status: 0, counter: 26 [MCU2_0] 96.242203 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0x0, status: 0, counter: 27 [MCU2_0] 96.242362 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x12, status: 0, counter: 28 [MCU2_0] 96.258032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x32 , regValue: 0x1, status: 0, counter: 29 [MCU2_0] 96.259036 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x33 , regValue: 0x2, status: 0, counter: 30 [MCU2_0] 96.260032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0xbc , regValue: 0x0, status: 0, counter: 31 [MCU2_0] 96.261035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x5d , regValue: 0x30, status: 0, counter: 32 [MCU2_0] 96.262031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xff, status: 0, counter: 33 [MCU2_0] 96.263036 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x5e , regValue: 0xff, status: 0, counter: 34 [MCU2_0] 96.264029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0xff, status: 0, counter: 35 [MCU2_0] 96.265032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x6d , regValue: 0x6c, status: 0, counter: 36 [MCU2_0] 96.265202 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0x55, status: 0, counter: 37 [MCU2_0] 96.265360 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x24, status: 0, counter: 38 [MCU2_0] 96.281035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x32 , regValue: 0x1, status: 0, counter: 39 [MCU2_0] 96.282034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x33 , regValue: 0x2, status: 0, counter: 40 [MCU2_0] 96.283036 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0xbc , regValue: 0x0, status: 0, counter: 41 [MCU2_0] 96.284035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x5d , regValue: 0x30, status: 0, counter: 42 [MCU2_0] 96.285034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xff, status: 0, counter: 43 [MCU2_0] 96.286030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x5e , regValue: 0xff, status: 0, counter: 44 [MCU2_0] 96.287028 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0xff, status: 0, counter: 45 [MCU2_0] 96.288034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x6d , regValue: 0x6c, status: 0, counter: 46 [MCU2_0] 96.288199 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0xaa, status: 0, counter: 47 [MCU2_0] 96.288357 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x38, status: 0, counter: 48 [MCU2_0] 96.304031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x32 , regValue: 0x1, status: 0, counter: 49 [MCU2_0] 96.305037 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x33 , regValue: 0x2, status: 0, counter: 50 [MCU2_0] 96.306032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0xbc , regValue: 0x0, status: 0, counter: 51 96.311498 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3 96.311511 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS 96.311517 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI 96.311522 s: ISS: Enumerating sensors ... found 3 : OV2312-UB953_OV 96.311526 s: ISS: Enumerating sensors ... found 4 : UB9xxx_RAW12_TESTPATTERN 96.311532 s: ISS: Enumerating sensors ... found 5 : UB96x_UYVY_TESTPATTERN 96.311537 s: ISS: Enumerating sensors ... found 6 : GW_AR0233_UYVY Select camera port index 0-7 : [MCU2_0] 96.307030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x5d , regValue: 0x30, status: 0, counter: 52 [MCU2_0] 96.308026 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xff, status: 0, counter: 53 [MCU2_0] 96.309030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x5e , regValue: 0xff, status: 0, counter: 54 [MCU2_0] 96.310029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0xff, status: 0, counter: 55 [MCU2_0] 96.311033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x6d , regValue: 0x6c, status: 0, counter: 56 [MCU2_0] 96.311202 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0xff, status: 0, counter: 57 [MCU2_0] 96.311360 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 58 [MCU2_0] 96.311406 s: End of UB960 config 0 0x7 registered sensor drivers a : IMX390-UB953_D3 b : AR0233-UB953_MARS c : AR0820-UB953_LI d : OV2312-UB953_OV e : UB9xxx_RAW12_TESTPATTERN f : UB96x_UYVY_TESTPATTERN g : GW_AR0233_UYVY Select a sensor above or press '0' to autodetect the sensor : Invalid selection . Try again 0x7 registered sensor drivers a : IMX390-UB953_D3 b : AR0233-UB953_MARS c : AR0820-UB953_LI d : OV2312-UB953_OV e : UB9xxx_RAW12_TESTPATTERN f : UB96x_UYVY_TESTPATTERN g : GW_AR0233_UYVY Select a sensor above or press '0' to autodetect the sensor : 0 [MCU2_0] 101.276890 s: UB960 config start [MCU2_0] 101.277071 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 0 [MCU2_0] 101.278049 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xe8, status: 0, counter: 1 [MCU2_0] 101.279037 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5e , regValue: 0x34, status: 0, counter: 2 [MCU2_0] 101.280030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x80, status: 0, counter: 3 [MCU2_0] 101.281029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 4 [MCU2_0] 101.281084 s: End of UB960 config [MCU2_0] 101.281107 s: ub953 config start : slaveAddr = 0x74 [MCU2_0] 101.281259 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x1 , regValue: 0x1, status: 0, counter: 0 [MCU2_0] 101.313031 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x2 , regValue: 0x72, status: 0, counter: 1 [MCU2_0] 101.329037 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x6 , regValue: 0x41, status: 0, counter: 2 [MCU2_0] 101.360035 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x7 , regValue: 0x48, status: 0, counter: 3 [MCU2_0] 101.391047 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xd , regValue: 0x3, status: 0, counter: 4 [MCU2_0] 101.407032 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xe , regValue: 0xf0, status: 0, counter: 5 [MCU2_0] 101.423031 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xb0 , regValue: 0x4, status: 0, counter: 6 [MCU2_0] 101.439037 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xb1 , regValue: 0x8, status: 0, counter: 7 [MCU2_0] 101.455032 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xb2 , regValue: 0x7, status: 0, counter: 8 [MCU2_0] 101.471032 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 9 [MCU2_0] 101.471087 s: End of UB953 config [MCU2_0] 101.471252 s: Error : I2C Timeout while reading from IMX390 register 0x330 [MCU2_0] 101.471288 s: IMX390 Probe : Failed to read CHIP_ID register 0x330 [MCU2_0] 101.471454 s: UB960 config start [MCU2_0] 101.471597 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 0 [MCU2_0] 101.472041 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xe8, status: 0, counter: 1 [MCU2_0] 101.473038 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5e , regValue: 0x20, status: 0, counter: 2 [MCU2_0] 101.474040 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x80, status: 0, counter: 3 [MCU2_0] 101.475035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 4 [MCU2_0] 101.475086 s: End of UB960 config [MCU2_0] 101.574898 s: ub953 config start : slaveAddr = 0x74 [MCU2_0] 101.575086 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x1 , regValue: 0x2, status: 0, counter: 0 [MCU2_0] 102.575052 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x2 , regValue: 0x73, status: 0, counter: 1 [MCU2_0] 102.576046 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x6 , regValue: 0x41, status: 0, counter: 2 [MCU2_0] 102.577040 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x7 , regValue: 0x22, status: 0, counter: 3 [MCU2_0] 102.578042 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xe , regValue: 0x3c, status: 0, counter: 4 [MCU2_0] 102.579033 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xd , regValue: 0x1, status: 0, counter: 5 [MCU2_0] 102.580030 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 6 [MCU2_0] 102.580082 s: End of UB953 config [MCU2_0] 102.680046 s: AR0233 Probe : Failed to read CHIP_ID register 0x3000 [MCU2_0] 102.680242 s: AR0233 Probe : Failed to read CHIP_ID register 0x3000 [MCU2_0] 102.680418 s: AR0233 Probe : Failed to read CHIP_ID register 0x3000 [MCU2_0] 102.680590 s: AR0233 Probe : Failed to read CHIP_ID register 0x3000 [MCU2_0] 102.680762 s: AR0233 Probe : Failed to read CHIP_ID register 0x3000 [MCU2_0] 102.680966 s: UB960 config start [MCU2_0] 102.681125 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 0 [MCU2_0] 102.682035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xe8, status: 0, counter: 1 [MCU2_0] 102.683040 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5e , regValue: 0x20, status: 0, counter: 2 [MCU2_0] 102.684032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x80, status: 0, counter: 3 [MCU2_0] 102.685035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 4 [MCU2_0] 102.685087 s: End of UB960 config [MCU2_0] 102.784898 s: ub953 config start : slaveAddr = 0x74 [MCU2_0] 102.785085 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x1 , regValue: 0x2, status: 0, counter: 0 [MCU2_0] 103.785045 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xe , regValue: 0xf0, status: 0, counter: 1 [MCU2_0] 103.786055 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xd , regValue: 0xf, status: 0, counter: 2 [MCU2_0] 103.787038 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 3 [MCU2_0] 103.787092 s: End of UB953 config [MCU2_0] 103.887057 s: AR0820_Probe Error : Failed reading CHIP_ID register 0x3000 [MCU2_0] 103.887257 s: AR0820_Probe Error : Failed reading CHIP_ID register 0x3000 [MCU2_0] 103.887431 s: AR0820_Probe Error : Failed reading CHIP_ID register 0x3000 [MCU2_0] 103.887606 s: AR0820_Probe Error : Failed reading CHIP_ID register 0x3000 [MCU2_0] 103.887777 s: AR0820_Probe Error : Failed reading CHIP_ID register 0x3000 [MCU2_0] 103.887811 s: OV2312_Probe [MCU2_0] 103.887979 s: UB960 config start [MCU2_0] 103.888134 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 0 [MCU2_0] 103.889036 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xe8, status: 0, counter: 1 [MCU2_0] 103.890031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5e , regValue: 0xc0, status: 0, counter: 2 [MCU2_0] 103.891036 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x80, status: 0, counter: 3 [MCU2_0] 103.892031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 4 [MCU2_0] 103.892084 s: End of UB960 config [MCU2_0] 103.892104 s: UB960_SetSensorAlias status: 0 [MCU2_0] 103.991894 s: ub953 config start : slaveAddr = 0x74 [MCU2_0] 103.992083 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x2 , regValue: 0x52, status: 0, counter: 0 [MCU2_0] 104.008036 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x6 , regValue: 0x23, status: 0, counter: 1 [MCU2_0] 104.009038 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x7 , regValue: 0x7d, status: 0, counter: 2 [MCU2_0] 104.010037 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xe , regValue: 0xf0, status: 0, counter: 3 [MCU2_0] 104.011038 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xd , regValue: 0x0, status: 0, counter: 4 [MCU2_0] 104.012037 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xd , regValue: 0xc, status: 0, counter: 5 [MCU2_0] 104.013037 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 6 [MCU2_0] 104.013090 s: End of UB953 config [MCU2_0] 104.013110 s: ub953_cfgScript status: 0 Sensor selected : OV2312-UB953_OV LDC Selection Yes(1)/No(0) : LDC Selection Yes(1)/No(0) : [MCU2_0] 104.114180 s: OV2312_ReadReg status: 0 [MCU2_0] 104.114228 s: OV2312_Probe SUCCESS : Read expected value 0x2311 at chip ID register 0x300a [MCU2_0] 104.114269 s: OV2312 Probe...done. Status: 0 [MCU2_0] 104.114292 s: Found sensor OV2312-UB953_OV at port # 0 [MCU2_0] 104.114319 s: IM_SENSOR_CMD_DETECT cmd_param[0] = 1 0 app_init done Querying OV2312-UB953_OV 105.994839 s: ISS: Querying sensor [OV2312-UB953_OV] ... !!! 105.995087 s: ISS: Querying sensor [OV2312-UB953_OV] ... Done !!! WDR mode is not supported. Defaulting to linear obj->aewb_cfg.ae_mode = 2 obj->aewb_cfg.awb_mode = 2 Sensor DCC is NOT enabled Sensor width = 1600 Sensor height = 1300 Sensor DCC ID = 2333 Sensor Supported Features = 0x20 Sensor Enabled Features = 0x20 105.995119 s: ISS: Initializing sensor [OV2312-UB953_OV], doing IM_SENSOR_CMD_PWRON ... !!! 105.995343 s: ISS: Initializing sensor [OV2312-UB953_OV], doing IM_SENSOR_CMD_CONFIG ... !!! [MCU2_0] 105.994946 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_QUERY [MCU2_0] 105.995007 s: Received Query for OV2312-UB953_OV [MCU2_0] 105.995223 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_PWRON [MCU2_0] 105.995271 s: IM_SENSOR_CMD_PWRON : channel_mask = 0x1 [MCU2_0] 105.995391 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CONFIG [MCU2_0] 105.995432 s: Application requested features = 0x20 [MCU2_0] [MCU2_0] 105.995466 s: UB960 config start [MCU2_0] 105.995624 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 0 [MCU2_0] 106.011032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xe8, status: 0, counter: 1 [MCU2_0] 106.027039 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x80, status: 0, counter: 2 [MCU2_0] 106.043034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0x0, status: 0, counter: 3 [MCU2_0] 106.059032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x12, status: 0, counter: 4 [MCU2_0] 106.075043 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xec, status: 0, counter: 5 [MCU2_0] 106.091034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x84, status: 0, counter: 6 [MCU2_0] 106.107032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0x55, status: 0, counter: 7 [MCU2_0] 106.123029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x24, status: 0, counter: 8 [MCU2_0] 106.139028 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xf0, status: 0, counter: 9 [MCU2_0] 106.155027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x88, status: 0, counter: 10 [MCU2_0] 106.171031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0xaa, status: 0, counter: 11 [MCU2_0] 106.187040 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x38, status: 0, counter: 12 [MCU2_0] 106.203030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xf4, status: 0, counter: 13 [MCU2_0] 106.219029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x8c, status: 0, counter: 14 [MCU2_0] 106.235029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0xff, status: 0, counter: 15 [MCU2_0] 106.251026 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 16 [MCU2_0] 106.251083 s: End of UB960 config [MCU2_0] 106.251110 s: UB960 config start [MCU2_0] 106.251244 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 0 [MCU2_0] 106.267027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xd8, status: 0, counter: 1 [MCU2_0] 106.283034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0x90, status: 0, counter: 2 [MCU2_0] 106.299030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0x0, status: 0, counter: 3 [MCU2_0] 106.315029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x12, status: 0, counter: 4 [MCU2_0] 106.331027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xdc, status: 0, counter: 5 [MCU2_0] 106.347030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0x94, status: 0, counter: 6 [MCU2_0] 106.363027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0x55, status: 0, counter: 7 [MCU2_0] 106.379033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x24, status: 0, counter: 8 [MCU2_0] 106.395030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xe0, status: 0, counter: 9 [MCU2_0] 106.411030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0x98, status: 0, counter: 10 [MCU2_0] 106.427029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0xaa, status: 0, counter: 11 [MCU2_0] 106.443028 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x38, status: 0, counter: 12 [MCU2_0] 106.459033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xe4, status: 0, counter: 13 [MCU2_0] 106.475032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0x9c, status: 0, counter: 14 [MCU2_0] 106.491033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0xff, status: 0, counter: 15 [MCU2_0] 106.507029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 16 [MCU2_0] 106.507085 s: End of UB960 config [MCU2_0] 106.507109 s: Configuring camera # 0 [MCU2_0] 106.507135 s: UB960 config start [MCU2_0] 106.507272 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xc , regValue: 0xf, status: 0, counter: 0 [MCU2_0] 106.523028 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x1f , regValue: 0x0, status: 0, counter: 1 [MCU2_0] 106.539023 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 2 [MCU2_0] 106.540032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x58 , regValue: 0x5e, status: 0, counter: 3 [MCU2_0] 106.541029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5c , regValue: 0x30, status: 0, counter: 4 [MCU2_0] 106.542031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5d , regValue: 0x30, status: 0, counter: 5 [MCU2_0] 106.543028 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xe8, status: 0, counter: 6 [MCU2_0] 106.544035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x5e , regValue: 0xc0, status: 0, counter: 7 [MCU2_0] 106.545032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x80, status: 0, counter: 8 [MCU2_0] 106.546033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x6d , regValue: 0x7c, status: 0, counter: 9 [MCU2_0] 106.547031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xd5 , regValue: 0xf0, status: 0, counter: 10 [MCU2_0] 106.548027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x7c , regValue: 0x1, status: 0, counter: 11 [MCU2_0] 106.549033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x70 , regValue: 0x2b, status: 0, counter: 12 [MCU2_0] 106.550030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x71 , regValue: 0x2c, status: 0, counter: 13 [MCU2_0] 106.551028 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0xe4, status: 0, counter: 14 [MCU2_0] 106.552030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x32 , regValue: 0x1, status: 0, counter: 15 [MCU2_0] 106.553031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x33 , regValue: 0x23, status: 0, counter: 16 [MCU2_0] 106.554033 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x21 , regValue: 0x3, status: 0, counter: 17 [MCU2_0] 106.555026 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x20 , regValue: 0x0, status: 0, counter: 18 [MCU2_0] 106.556030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xb9 , regValue: 0x18, status: 0, counter: 19 [MCU2_0] 106.557031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x42 , regValue: 0x71, status: 0, counter: 20 [MCU2_0] 106.558032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x10 , regValue: 0x59, status: 0, counter: 21 [MCU2_0] 106.559029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 22 [MCU2_0] 106.559083 s: End of UB960 config [MCU2_0] 106.608894 s: ub953 config start : slaveAddr = 0x74 [MCU2_0] 106.609079 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x2 , regValue: 0x52, status: 0, counter: 0 [MCU2_0] 106.625031 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x6 , regValue: 0x23, status: 0, counter: 1 [MCU2_0] 106.626037 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0x7 , regValue: 0x7d, status: 0, counter: 2 [MCU2_0] 106.627034 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xe , regValue: 0xf0, status: 0, counter: 3 [MCU2_0] 106.628034 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xd , regValue: 0x0, status: 0, counter: 4 [MCU2_0] 106.629042 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xd , regValue: 0xc, status: 0, counter: 5 [MCU2_0] 106.630046 s: UB953_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x74 , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 6 [MCU2_0] 106.630098 s: End of UB953 config [MCU2_0] 106.679894 s: Configuring OV2312 imager .. Please wait till it finishes 106.851032 s: ISS: Initializing sensor [OV2312-UB953_OV] ... Done !!! Creating graph Initializing params for capture node Initializing params for capture node capture_config = 0x0x6df290 Creating capture node obj->capture_node = 0x0x699b90 read_test_image_raw : Unable to open file /opt/vision_apps/test_data/img_test.raw app_create_viss : sensor_dcc_id = 2333 Invalid DCC size for VISS. Disabling DCC Invalid DCC size for 2A. Disabling DCC AEWB Set Reference done Display Set Target done vxSetGraphScheduleConfig done [MCU2_0] 106.850892 s: OV2312 config done [MCU2_0] 106.850937 s: IM_SENSOR_CMD_CONFIG returning status = 0 [MCU2_0] 106.858496 s: VX_ZONE_WARNING:[tivxVpacVissCreate:365] VISS H3A output is not generated due to DCC not being enabled Scaler is enabled [MCU2_0] 106.864282 s: VX_ZONE_WARNING:[tivxAewbCreate:1064] No DCC buffer passed. Disabling 2A app_create_graph exiting app_create_graph done ========================== Demo : Single Camera w/ 2A ========================== p: Print performance statistics s: Save Sensor RAW, VISS Output and H3A output images to File System e: Export performance statistics u: Update DCC from File System x: Exit Enter Choice: Unsupported command ========================== Demo : Single Camera w/ 2A ========================== p: Print performance statistics s: Save Sensor RAW, VISS Output and H3A output images to File System e: Export performance statistics u: Update DCC from File System x: Exit Enter Choice: 106.878294 s: ISS: Starting sensor [OV2312-UB953_OV] ... !!! [MCU2_0] 106.878368 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON [MCU2_0] 106.878437 s: IM_SENSOR_CMD_STREAM_ON: channel_mask = 0x1 [MCU2_0] 106.878473 s: UB960 config start [MCU2_0] 106.878632 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 0 [MCU2_0] 106.894039 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xe8, status: 0, counter: 1 [MCU2_0] 106.910031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x80, status: 0, counter: 2 [MCU2_0] 106.926029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0x0, status: 0, counter: 3 [MCU2_0] 106.942029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x12, status: 0, counter: 4 [MCU2_0] 106.958027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xec, status: 0, counter: 5 [MCU2_0] 106.974035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x84, status: 0, counter: 6 [MCU2_0] 106.990034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0x55, status: 0, counter: 7 [MCU2_0] 107.006029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x24, status: 0, counter: 8 [MCU2_0] 107.022025 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xf0, status: 0, counter: 9 [MCU2_0] 107.038028 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x88, status: 0, counter: 10 [MCU2_0] 107.054027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0xaa, status: 0, counter: 11 [MCU2_0] 107.070032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x38, status: 0, counter: 12 [MCU2_0] 107.086027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xf4, status: 0, counter: 13 [MCU2_0] 107.102031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x8c, status: 0, counter: 14 [MCU2_0] 107.118028 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0xff, status: 0, counter: 15 [MCU2_0] 107.134029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 16 [MCU2_0] 107.134089 s: End of UB960 config [MCU2_0] 107.134116 s: UB960 config start [MCU2_0] 107.134254 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 0 [MCU2_0] 107.150030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xd8, status: 0, counter: 1 [MCU2_0] 107.166029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0x90, status: 0, counter: 2 [MCU2_0] 107.182030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0x0, status: 0, counter: 3 [MCU2_0] 107.198031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x12, status: 0, counter: 4 [MCU2_0] 107.214031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xdc, status: 0, counter: 5 [MCU2_0] 107.230030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0x94, status: 0, counter: 6 [MCU2_0] 107.246029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0x55, status: 0, counter: 7 [MCU2_0] 107.262039 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x24, status: 0, counter: 8 [MCU2_0] 107.278040 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xe0, status: 0, counter: 9 [MCU2_0] 107.294029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0x98, status: 0, counter: 10 [MCU2_0] 107.310027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0xaa, status: 0, counter: 11 [MCU2_0] 107.326031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x38, status: 0, counter: 12 [MCU2_0] 107.342029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xe4, status: 0, counter: 13 [MCU2_0] 107.358025 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0x9c, status: 0, counter: 14 [MCU2_0] 107.374037 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0xff, status: 0, counter: 15 107.390192 s: ISS: Starting sensor [OV2312-UB953_OV] ... !!! get_dcc_dir_size : Could not open directory or directory is empty /opt/vision_apps/dcc/OV2312-UB953_OV/wdr [MCU2_0] 107.390035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 16 [MCU2_0] 107.390090 s: End of UB960 config [MCU2_0] 107.390115 s: OV2312 stream on. i mod10: 0... x 119.178725 s: ISS: Stopping sensor [OV2312-UB953_OV] ... !!! [MCU2_0] 119.178810 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_OFF [MCU2_0] 119.178925 s: IM_SENSOR_CMD_STREAM_ON: channel_mask = 0x1 119.188938 s: ISS: Stopping sensor [OV2312-UB953_OV] ... Done !!! 119.203041 s: ISS: Stopping sensor [OV2312-UB953_OV] ... !!! [MCU2_0] 119.203109 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_OFF [MCU2_0] 119.203170 s: IM_SENSOR_CMD_STREAM_ON: channel_mask = 0x1 119.212935 s: ISS: Stopping sensor [OV2312-UB953_OV] ... Done !!! app_run_graph done releasing capture node releasing node_viss releasing node_aewb releasing displayNode releasing raw image done releasing cap_frame # 0 releasing cap_frame # 1 releasing cap_frame # 2 releasing cap_frame # 3 releasing y8_r8_c2 releasing configuration releasing ae_awb_result done releasing h3a_aew_af releasing aewb_config releasing Display Param Data Object releasing Scaler Output Image releasing Scaler Node release Scalar coefficient data object releasing test raw image buffer # 3 releasing graph [MCU2_0] 119.213495 s: ========================================================== [MCU2_0] 119.213570 s: Capture Status: Instance|0 [MCU2_0] 119.213607 s: ========================================================== [MCU2_0] 119.213641 s: overflowCount: 0 [MCU2_0] 119.213666 s: spuriousUdmaIntrCount: 0 [MCU2_0] 119.213690 s: frontFIFOOvflCount: 0 [MCU2_0] 119.213712 s: crcCount: 0 [MCU2_0] 119.213730 s: eccCount: 0 [MCU2_0] 119.213750 s: correctedEccCount: 0 [MCU2_0] 119.213773 s: dataIdErrorCount: 0 [MCU2_0] 119.213795 s: invalidAccessCount: 0 [MCU2_0] 119.213818 s: invalidSpCount: 0 [MCU2_0] 119.213840 s: strmFIFOOvflCount[0]: 0 [MCU2_0] 119.213912 s: strmFIFOOvflCount[1]: 0 [MCU2_0] 119.213951 s: strmFIFOOvflCount[2]: 83 [MCU2_0] 119.213979 s: strmFIFOOvflCount[3]: 13 [MCU2_0] 119.214017 s: Channel Num | Frame Queue Count | Frame De-queue Count | Frame Drop Count | Error Frame Count | [MCU2_0] 119.214070 s: 0 | 4 | 4 | 0 | 0 | [MCU2_0] 119.214665 s: ========================================================== [MCU2_0] 119.214729 s: Capture Status: Instance|1 [MCU2_0] 119.214763 s: ========================================================== [MCU2_0] 119.214797 s: overflowCount: 0 [MCU2_0] 119.214821 s: spuriousUdmaIntrCount: 0 [MCU2_0] 119.214846 s: frontFIFOOvflCount: 0 [MCU2_0] 119.214918 s: crcCount: 0 [MCU2_0] 119.214943 s: eccCount: 0 [MCU2_0] 119.214964 s: correctedEccCount: 0 [MCU2_0] 119.214987 s: dataIdErrorCount: 0 [MCU2_0] 119.215009 s: invalidAccessCount: 0 [MCU2_0] 119.215032 s: invalidSpCount: 0 [MCU2_0] 119.215054 s: strmFIFOOvflCount[0]: 0 [MCU2_0] 119.215079 s: strmFIFOOvflCount[1]: 1 [MCU2_0] 119.215104 s: strmFIFOOvflCount[2]: 83 [MCU2_0] 119.215129 s: strmFIFOOvflCount[3]: 13 [MCU2_0] 119.215166 s: Channel Num | Frame Queue Count | Frame De-queue Count | Frame Drop Count | Error Frame Count | releasing graph done app_delete_graph done tivxHwaUnLoadKernels done tivxImagingUnLoadKernels done vxReleaseContext done app_deinit done 119.241088 s: ISS: De-initializing sensor [OV2312-UB953_OV] ... !!! 119.241188 s: ISS: De-initializing sensor [OV2312-UB953_OV] ... Done !!! 119.241197 s: VX_ZONE_INIT:[tivxHostDeInit:56] De-Initialization Done for HOST !!! 119.245511 s: VX_ZONE_INIT:[tivxDeInit:111] De-Initialization Done !!! APP: Deinit ... !!! REMOTE_SERVICE: Deinit ... !!! REMOTE_SERVICE: Deinit ... Done !!! IPC: Deinit ... !!! IPC: DeInit ... Done !!! MEM: Deinit ... !!! MEM: Alloc's: 21 alloc's of 45773910 bytes MEM: Free's : 21 free's of 45773910 bytes MEM: Open's : 0 allocs of 0 bytes MEM: Deinit ... Done !!! APP: Deinit ... Done !!! root@j7-evm:/opt/vision_apps# [ 130.333659] Initializing XFRM netlink socket [ 133.129149] process 'docker/tmp/qemu-check684945811/check' started with executable stack The sensor is recognized and configured with the proper registers but same noise appearing. The sensor pattern is RGB-Ir 10 bit data, I have saved the .raw info of the image and I have processed it but it is noise. At the end of the configuration (log below) the application is overwriting the registers dedicated to the sensor alias and the serializer or it is writing indirect registers? I have not been able to found that part in the code. Enter Choice: 106.878294 s: ISS: Starting sensor [OV2312-UB953_OV] ... !!! [MCU2_0] 106.878368 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON [MCU2_0] 106.878437 s: IM_SENSOR_CMD_STREAM_ON: channel_mask = 0x1 [MCU2_0] 106.878473 s: UB960 config start [MCU2_0] 106.878632 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 0 [MCU2_0] 106.894039 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xe8, status: 0, counter: 1 [MCU2_0] 106.910031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x80, status: 0, counter: 2 [MCU2_0] 106.926029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0x0, status: 0, counter: 3 [MCU2_0] 106.942029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x12, status: 0, counter: 4 [MCU2_0] 106.958027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xec, status: 0, counter: 5 [MCU2_0] 106.974035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x84, status: 0, counter: 6 [MCU2_0] 106.990034 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0x55, status: 0, counter: 7 [MCU2_0] 107.006029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x24, status: 0, counter: 8 [MCU2_0] 107.022025 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xf0, status: 0, counter: 9 [MCU2_0] 107.038028 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x88, status: 0, counter: 10 [MCU2_0] 107.054027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0xaa, status: 0, counter: 11 [MCU2_0] 107.070032 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x4c , regValue: 0x38, status: 0, counter: 12 [MCU2_0] 107.086027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x65 , regValue: 0xf4, status: 0, counter: 13 [MCU2_0] 107.102031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x66 , regValue: 0x8c, status: 0, counter: 14 [MCU2_0] 107.118028 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0x72 , regValue: 0xff, status: 0, counter: 15 [MCU2_0] 107.134029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x3d , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 16 [MCU2_0] 107.134089 s: End of UB960 config [MCU2_0] 107.134116 s: UB960 config start [MCU2_0] 107.134254 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x1, status: 0, counter: 0 [MCU2_0] 107.150030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xd8, status: 0, counter: 1 [MCU2_0] 107.166029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0x90, status: 0, counter: 2 [MCU2_0] 107.182030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0x0, status: 0, counter: 3 [MCU2_0] 107.198031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x12, status: 0, counter: 4 [MCU2_0] 107.214031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xdc, status: 0, counter: 5 [MCU2_0] 107.230030 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0x94, status: 0, counter: 6 [MCU2_0] 107.246029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0x55, status: 0, counter: 7 [MCU2_0] 107.262039 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x24, status: 0, counter: 8 [MCU2_0] 107.278040 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xe0, status: 0, counter: 9 [MCU2_0] 107.294029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0x98, status: 0, counter: 10 [MCU2_0] 107.310027 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0xaa, status: 0, counter: 11 [MCU2_0] 107.326031 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x4c , regValue: 0x38, status: 0, counter: 12 [MCU2_0] 107.342029 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x65 , regValue: 0xe4, status: 0, counter: 13 [MCU2_0] 107.358025 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x66 , regValue: 0x9c, status: 0, counter: 14 [MCU2_0] 107.374037 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0x72 , regValue: 0xff, status: 0, counter: 15 107.390192 s: ISS: Starting sensor [OV2312-UB953_OV] ... !!! get_dcc_dir_size : Could not open directory or directory is empty /opt/vision_apps/dcc/OV2312-UB953_OV/wdr [MCU2_0] 107.390035 s: UB960_WriteReg: i2cInstId: 0x6 , sensorI2cAddr 0x36 , regAddr: 0xffff , regValue: 0x0, status: 0, counter: 16 I closed it by mistake. Reopening it. For 10-bit data format, the following line needs to change {TIVX_RAW_IMAGE_16_BIT, 11}, /*dataFormat and MSB [0]*/ /* Sensor output: 10-bit RGB-lr RAW */ MSB[0] should be 9. Hi Mayank, I had already tried that solution but the Viss node does not start correctly so I assumed I could extract my 10 bits of information from the 12 bits received. Anyway to check that this is not the problem I have modified the node code as explained in this post and I have tried it out but it still only receives noise: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1036311/tda4vm-isp?tisearch=e2e-sitesearch&keymatch=raw10 With the log I added in my previous post any idea why still failing? Thank you and regards, Mohamed You may want to check deserializer PORT_CONFIG register. It should be configured for RAW10. Hi, In deserializer datasheet it says RAW10 mode is only compatible with DS90UB913A-Q1 / DS90UB933-Q1 and I am using DS90UB953. I have tried it anyway and it fails. Regards. Which SerDes pair did you use on TDA2? Are you using the SerDes settings on TDA4 SDK? Sorry, closed by mistake. I used the same pair UB960+UB953 in TDA2 and TDA4, and using also same SerDes configurations on TDA4 SDK Regards Can you confirm that TDA4 is getting CSI clock and data signals? Please share a waveform. Hi Mayank, Measurements have been carried out at these points of the fusion board: Clock Signal: CSI Data Lane 1: CSI Data Lane 2: Best regards, Mohamed Thanks. Can you please share your UB960 settings ? Yes, find it attached: I2cParams ub960DesCfg[DES_CFG_SIZE] = { {0x0C, 0x0F, 0x10}, {0x1F, 0x00, 0x10}, {0x4C, 0x01, 0x1}, //Due to chanel ID {0x58, 0x5D, 0x1}, {0x5C, 0x30, 0x1}, {0x5D, 0x30, 0x1}, //Serializer I2C address {0x65, 0x74 << 1, 0x1}, //Serializer alias {0x5E, 0xC0, 0x1}, //Sensor i2c address {0x66, 0x40 << 1 , 0x1}, //Sensor alias {0x6D, 0x7C, 0x1}, {0xD5, 0xF0, 0x1}, {0x7C, 0x01, 0x1}, {0x70, 0x2B, 0x1}, {0x71, 0x2C, 0x1}, {0x72, 0xE4, 0x1}, {0x32, 0x01, 0x1}, {0x33, 0x23, 0x1}, {0x21, 0x03, 0x1}, {0x20, 0x00, 0x1}, {0xB9, 0x18, 0x1}, {0x42, 0x71, 0x1}, {0x10, 0x59, 0x1}, {0xFFFF, 0x00, 0x0} }; Thanks. One issue I see is {0x33, 0x23, 0x1}, This means that UB960 enabled streaming right at config time, probably before CSI2 Rx was setup. Please change it to 0x22. Also make sure that the sensor does not start streaming during initial configuration. Sensor and UB960 should start streaming only after the application sends the START command. In sensor framework this is handled through "IssSensor_Start" function. Thanks, that resolved my issue. Regards, Mohamed Excellent. Thanks for confirming. |