This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS: LCD Display issue on tda2px



Tool/software: TI-RTOS

Hi,

I'm using vsdk_3.05 and I want to create  NullSrc -> Decode -> Display_LCD use-case on TDA2px custom board.
I got "Invalid device driver ID" issue in bsp_board.c and bsp_deviceI2c. files.
What does it mean?
Is LCD Display supported for tda2px?


[IPU1-0]     13.117946 s:  
[IPU1-0]     13.200664 s:  FILE: Reading file [1280x720_00.hdr] ...
[IPU1-0]     13.201579 s:  FILE: File read Done. [264 bytes]
[IPU1-0]     13.307539 s:  DECODE: Create in progress ... !!!
[IPU1-0]     13.528853 s:  DECODE: Creating CH0 of 1280 x 720 [1] [0],target bitrate = 10000 Kbps ...
[IPU1-0]     13.529616 s:  DECODE: All CH Create ... DONE !!!
[IPU1-0]     13.531568 s:  DECODE: Create ... DONE !!!
[IPU1-0]     13.531964 s:  DISPLAY: Create in progress !!!
[IPU1-0]     13.532513 s:  DISPLAY: Create Done !!!
[IPU1-0]     13.532879 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
[IPU1-0]     13.533001 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 251616 B (245 KB)
[IPU1-0]     13.533154 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
[IPU1-0]     13.533306 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x88103000, Total size = 368037888 B (350 MB), Free size = 348069888 B (331 MB)
[IPU1-0]     13.533489 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xbfc00000, Total size = 129408 B (0 MB), Free size = 124800 B (0 MB)
[IPU1-0]     13.534953 s: src/bsp_board.c @ Line 490:
[IPU1-0]     13.535045 s: Invalid device driver ID - devDrvId: 4864 drvInstId: 0!!
[IPU1-0]     13.535136 s: src/bsp_board.c @ Line 524:
[IPU1-0]     13.535228 s: Invalid device driver ID - devDrvId: 4864 drvInstId: 0!!
[IPU1-0]     13.535319 s: src/bsp_board.c @ Line 557:
[IPU1-0]     13.535380 s: Invalid device driver ID!!
[IPU1-0]     13.535594 s:  9084: Assertion @ Line: 257 in src/bsp_deviceI2c.c: (i2cInstId < BSP_DEVICE_I2C_INST_ID_MAX) : failed !!!
[IPU1-1]     13.533855 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
[IPU1-1]     13.533977 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 655360 B (640 KB), Free size = 649088 B (633 KB)
[HOST  ]     13.534313 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
[HOST  ]     13.534313 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 6291456 B (6144 KB), Free size = 6253424 B (6106 KB)
[IPU2  ]     13.534496 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
[IPU2  ]     13.534618 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 255824 B (249 KB)

Regards.

Nevena Stojanovic

  • Hi Nevena,

    Have you added your custom board to bsp_board library?

    Regards,
    Rishabh
  • Hi Rishabh,

    One of issues was that it coudn't get board id , I set board id to BSP_BOARD_BASE_TDA2PX and now I have issues with lcd power on function and some i2c errors that I do not understand.

    [IPU1-0] Enter Choice:
    [IPU1-0]
    [IPU1-0] 8.273134 s:
    [IPU1-0] 8.355944 s: FILE: Reading file [1280x720_00.hdr] ...
    [IPU1-0] 8.357561 s: FILE: File read Done. [264 bytes]
    [IPU1-0] 8.465900 s: DECODE: Create in progress ... !!!
    [IPU1-0] 8.692155 s: DECODE: Creating CH0 of 1280 x 720 [1] [0],target bitrate = 10000 Kbps ...
    [IPU1-0] 8.693009 s: DECODE: All CH Create ... DONE !!!
    [IPU1-0] 8.695083 s: DECODE: Create ... DONE !!!
    [IPU1-0] 8.695479 s: DISPLAY: Create in progress !!!
    [IPU1-0] 8.696028 s: DISPLAY: Create Done !!!
    [IPU1-0] 8.696364 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
    [IPU1-0] 8.696516 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 251624 B (245 KB)
    [IPU1-0] 8.696669 s: SYSTEM: Heap = SR_OCMC @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
    [IPU1-0] 8.696821 s: SYSTEM: Heap = SR_DDR_CACHED @ 0x88103000, Total size = 368037888 B (350 MB), Free size = 348069888 B (331 MB)
    [IPU1-0] 8.697004 s: SYSTEM: Heap = SR_DDR_NON_CACHED @ 0xbfc00000, Total size = 129408 B (0 MB), Free size = 124800 B (0 MB)
    [IPU1-0] 8.698926 s: LCD TURN ON
    [IPU1-0] 8.699017 s: lcdCtrlDrvId = 4864 FVID2_VPS_DCTRL_DRV = 257 dpiPort = 0
    [IPU1-0] 8.699170 s: lcdCtrlInstId = 0 lcdCtrlDrvId = 4864
    [IPU1-0] 8.699383 s:
    [IPU1-0] 8.699871 s: i2cMdSubmitChan: i2c0 transfer to slave address 0x20 failed
    [IPU1-0] 8.699993 s: src/bsp_deviceI2c.c @ Line 478:
    [IPU1-0] 8.700085 s: I2C0: DEV 0x20: RD ERROR !!!
    [IPU1-0] 8.700176 s: src/bsp_deviceI2c.c @ Line 504:
    [IPU1-0] 8.700237 s: I2C0: Error timeout 1 ms!!!
    [IPU1-0] 8.700329 s: src/bsp_boardTda2xx.c @ Line 1234:
    [IPU1-0] 8.700390 s: I2C read failed!!
    [IPU1-0] 8.800463 s: src/bsp_board.c @ Line 587:
    [IPU1-0] 8.800555 s: Device power-on failed!!
    [IPU1-0] 8.800585 s: LCD: Device Power On failed !!!
    [IPU1-0] 8.800646 s: Assertion @ Line: 1058 in /home/rtrk/denso-frame-grabber/source/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/apps/src/rtos/usecases/common/chains_common.c: status == SYSTEM_LINK_STATUS_SOK : failed !!!
    [IPU1-0] 8.801653 s: Assertion @ Line: 1058 in /home/rtrk/denso-frame-grabber/source/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/apps/src/rtos/usecases/common/chains_common.c: status == SYSTEM_LINK_STATUS_SOK : failed !!!
    [IPU1-1] 8.697340 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
    [IPU1-1] 8.697523 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 655360 B (640 KB), Free size = 649088 B (633 KB)
    [HOST ] 8.698377 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
    [HOST ] 8.698377 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 6291456 B (6144 KB), Free size = 6254640 B (6108 KB)
    [IPU2 ] 8.698560 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
    [IPU2 ] 8.698682 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 255824 B (249 KB)
    [HOST ] 9.500854 s: NETWORK_CTRL: Starting Server (port=5000) !!!
    [HOST ] 9.500854 s: NETWORK_CTRL: Starting Server ... DONE (port=5000) !!!



    Thank you.
  • Hi Nevena,

    We have not tested LCD for TDA2Px.
    On TDA2P we have on chip HDMI and we are using that to run the display in Vision SDK.
    On the custom board you need to check the I2C address and the I2C instance and update the same in bsp_board for TDA2Px.

    Regards,
    Rishabh
  • Hi,

    I haven't heard back from you, I'm assuming you were able to resolve your issue.
    If not, just post a reply below (or create a new thread if the thread has locked due to time-out).

    Regards,
    Rishabh