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.

AM5729: how to compile and run CSL (chip support library) examples on the target board ?

Part Number: AM5729


Hi,

I'm interested in compiling and booting provided examples under the chip support library into my target board (EVM based on am5729 or a custom board based on am5729, let's assume ti EVM for simplicity here). These examples exist under PDK_INSTALL_PATH/ti/csl/example but they are not configured like the examples under PDK_INSTALL_PATH/MyExampleProjects. MyExampleProjects can be imported in ccs and built there but the examples under CSL are just one or two .c files. Being new to the ti SDK and PDK ecosystem, I want to know how I can compile these examples and run them on the target board using an sd card. Please guide me in doing so, I'm just interested in running a simple UART example on the target board, no Linux involved.

What I know so far: I know that if I run makefile that is provided in the csl, it will create some binary file in the PDK_INSTALL_PATH/ti/binary/someexample. Although that's not good enough (because I want to be able to modify things), I don't know how that file can be tested on real hardware. Like how does it work in terms of bootloader? should it be on-chip memory SRAM or external SDRAM, I have absolutely zero knowledge on how to run those .out files on my board using an sd card. 

Please help me here as I have spent a lot of time trying to understand the ti RTOS exosystem but haven't had much luck yet. Let's start a conversation and hopefully, it will help future engineers that want to learn about the ecosystem as well. Thanks in advance.