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/AM5728: create a baremetal project using the CSL example from ROTS sdk.

Part Number: AM5728
Other Parts Discussed in Thread: TMDSEVM572X, , SYSBIOS

Tool/software: TI-RTOS

hello.

The board I'm using is the AM572x Evaluation Module (TMDSEVM572X), and the downloaded RTOS SDK version is 5.02.


I downloaded the TI-RTOS SDK and want to create a baremetal project using the CSL example.
I am creating a baremetal project with the DSS example in the path "pdk_am57xx_1_0_13 \ packages \ ti \ csl \ example \ dss \ display_app"
However, I am not sure whether it works on the AM5728.

For example, in the dss_display_app.c file in the path above
There is "#define TEST_VID1_BASE (CSL_DSS0_VID1_BASE)". However, "CSL_DSS0_VID1_BASE" is not found in any file of TI-RTOS SDK I downloaded.

Let me know if the example in the path "pdk_am57xx_1_0_13 \ packages \ ti \ csl \ example \ dss \ display_app" works in AM5728 (A15).
If it works, I'd like to know how to make it into a CSS project.

Please reply.

Thank you.

  • Hi,

    To test the display with AM5728, please look at software-dl.ti.com/.../index_device_drv.html. There is bare metal test example for DSS. It is makefile based. Build it and make sure it is working.

    Then, in the makefile you can find out the source code, header, libraries, toolsets and compiler/linker options to convert this into CCS project. We also have a CCS project for vps_loopbackExample you can refer to.

    Regards, Eric
  • Thank you very much, Eric.

    I built the example file and confirmed the behavior.

    But there are additional questions.

    I checked the pdf file related to DSS, FVID2 in vps folder of RTOS SDK.
    I have confirmed that FVID2 is only supported by BIOS in PDF file, so I wonder if I can not use FVID2 if I do DSS or VIP programming with baremetal.

    Also, to make the DSS example(baremetal) as a ccs project, I wonder if I can refer to the makefile in the path "pdk_am57xx_1_0_13 \ packages \ ti \ drv \ vps \ examples \ dss \ displayDssBareMetal".
    I checked the documentation described in the SBL makefile,
    the DSS makefile in the "pdk_am57xx_1_0_13 \ packages \ ti \ drv \ vps \ examples \ dss \ displayDssBareMetal" path looks a little different from the SBL makefile.
    (I do not know much about makefiles.)


    Please reply.
    Thank you very much.
  • Hi,

    The FVID2 you can use it in baremetal. If you do a compare of the makefile of \packages\ti\drv\vps\examples\dss\displayDss and packages\ti\drv\vps\examples\dss\displayDssBareMetal for the COMP_LIST_COMMON, you will see that bare metal one used different libraries than the SYSBIOS case, this is how the bare metal case FVID2 worked.

    You may find many introductions on makefile from the Internet.

    You may refer to the pdk_am57xx_1_0_13\packages\ti\drv\vps\examples\dss\displayDssBareMetal\makefile to create a CCS project. Another way is when you build this baremetal application, capture the build log, then look at what files used, libraries linked, linker command file and build options, then use those info to create a CCS project.

    Regards, Eric
  • Thank you very much for your kind answers.

    I will try based on the contents of the answer.

    Thank you very much!!