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: PCIe diagnostic test

Part Number: AM5728
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hello,

I have custom am5728 board and Im using processor sdk am57xx v5.01 and ccs v8.1. I wanna test pcie communication on bare-metal. I checked for the evmAM5728's diagnostic tests under {TI_PDK_INSTALL_PATH}/packages/ti/board/diag/pcie/src folder and found there is a diag test for am572x (both header and source files: pcie_test.h and pcie_test.c) but there is no build file for corresponding test under {TI_PDK_INSTALL_PATH}/packages/ti/board/diag/pcie/build as well as there is no makefile commands under {TI_PDK_INSTALL_PATH}/packages/ti/board/diag/pcie/makefile for that test. Anyway, I have tried to build a diagnostic pcie example on baremetal depending on that test but the source file of the test {TI_PDK_INSTALL_PATH}/packages/ti/board/diag/pcie/src/pcie_test.c includes "pcie_sample_board.h" which is under    {TI_PDK_INSTALL_PATH}/packages/ti/drv/pcie/example/sample/am57x/src/pcie_sample_board.h and the "pcie_sample_board.c" source file that is in the same directory includes "pcie._sample.h" file which is under  {TI_PDK_INSTALL_PATH}/packages/ti/drv/pcie/example/sample/src. It was OK until now but the source and header files "pcie_sample.c" and "pcie_sample.h" under this directory have some includes of sysbios and xdc files. I created my project as a baremetal application by just choosing am572xx PDK from products of project properties and I could not add the paths of xdc and sysbios files required for that "pcie_sample.c" and "pcie_sample.h" files. Interesting thing is that almost all diag test files have build files with them but this pcie_test does not.

Can you help me how to run this diag test on baremetal?

Any help will be appreciated. Thanks.