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.
Hello,
We're starting to work with TDA4VM processor. We've ordered J721e for preliminary tests and feasibility studies. We've found SDK package for this board and were able to compile examples but we could not find any information about the project creation in CCS. We've tried to port some code to CCS but the linker file is missing and the project compiles with errors. Is there an instruction on how to create CCS projects for R5F,C6x, C7x cores? If not, what should we do to build our custom projects?
Kind regards,
Andrean
Hello Andrean
you'll waste your time trying to do that ... as I did !
for the TDA4VM all projects are makefile based in the RTOS sdk, you have to call the good "make" commands as described in the user guides
Hello Andrean,
As Clement mentioned, we don't have a simple integration to CCS. Most of our projects are Makefile based and have the whole infrastructure within the RTOS SDK in their respective projects. The simplest path forward is to use the existing build infrastructure in the SDK and use CCS as a debugger.
Please let us know if you have further queries on this.
Thanks,
Erick
Thank you for the answer Erick!
Is there a diagram for SDK make files infrastructure? Maybe you can point out to instructions how to build custom projects using SDK? We could not find them.
We can figure out ourselves but if there is something useful it will save our time.
Kindly,
Andrean
Andrean,
The SDK has many projects, but for customers usually the one of interest is the PDK, which contains the low-level drivers (LLD) and FreeRTOS implementation, as well as register definitions, etc.
One good example on how to link a custom project to the PDK build infrastructure is the MCUSW project, which pulls in the PDK top-level Makefile and makes calls to it through it's own build infrastructure, see here:
ti-processor-sdk-rtos-j721e-evm-09_00_00_02/mcusw/build
makefile and Rules.make
Another good example is our Vision Apps project, which uses the concerto build system and integrates the PDK build into its flow.
ti-processor-sdk-rtos-j721e-evm-09_00_00_02/vision_apps
These are complex build systems, and unfortunately we don't have specific documentation to address how they work.
We have seen many different models for integrating to our SDK:
- Copying over the necessary files from the SDK and using your own build system
- Integrating build systems to make calls into the SDK's build system
- Hybrid approaches where the libraries are built from the PDK and then those libraries and some header files are copied into your project
I would start by getting familiar with the build system, and the PDK documentation explains how to build different examples from it's top level build folder:
ti-processor-sdk-rtos-j721e-evm-09_00_00_02/pdk_jacinto_09_00_00_45/packages/ti/build
For example, to build the pdk libs, I would run: make BOARD=j721e_evm pdk_libs -sj
There's a few nuances like downloading the cross-compiler, but once you have this it should work out of the box.
Please let me know if you have any questions.
Regards,
Erick