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.
CCS/TMDXIDK5718: How to program individual cores on TMDXIDK5718
Part Number: TMDXIDK5718
Tool/software: Code Composer Studio
Can some tell me how to create and run bare metal UART/GPIO example for IPU(M4) and DSP cores in AM5718IDK.
Please refer to UART and GPIO user guides:
For how to create examples, refer to below user guide:
For baremetal tests, you need to undef USE_BIOS. Check below e2e threads for details:
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Pavel Botev:
I have tried the all the suggestion earlier. The csl library is supporting for ti rtos not for bare metalk, I suppose.I tried to create baremetal application but landed in errors, the diagnostic software is designed for A15 not for M4 and DSP cores.
Can you tell me how to enable the cache.
In reply to Naveen B:
Naveen BCan you tell me how to enable the cache.
This section 188.8.131.52 explains about running diagnostic test on Cortex-A15 core 1 (as by default run on Cortex-A15 core 0). This is not applicable for C66X DSP and/or Cortex-M4 IPU.
A15 is the boot master, and the intend of diagnostic is letting customer to check the HW by simply booting/running a test from master core. If you need to run these diagnostic tests on DSP/IPU, you need to port the code. Refer to below e2e threads for details:
Check also below user guides for berametal examples on DSP/IPU:
From the examples, I would suggest you to check below AM571x IDK GPIO C66x example:
You can try to remove the USE_BIOS flag, thus you will make it berametal example.
The same is valid for below UART examples:
I got confused by your response. From last 2 weeks I am working on TI-RTOS SDK for creating the real bare-metal application for Cortex M4 (IPU) and DSP cores. I already tested the basic hello world and TI-RTOS examples. Can you please guide me with the steps, I lost my way with CCS and makefiles. My ultimate goal to is implement bare-metal IPC mechanism on IPU and DSP cores,
1. How to create bare-metal example(not the hello wolrd) for IPU M4 core
2. How to create bare-metal example(not the hello wolrd) for DSP core.
Naveen B2. How to create bare-metal example(not the hello wolrd) for DSP core.
You can refer to below GPIO/UART examples and undef USE_BIOS
These projects are created with below commands:
pdk_am57xx_1_0_15/packages$ ./pdkProjectCreate.sh AM571x idkAM571x little gpio all dsp
pdk_am57xx_1_0_15/packages$ ./pdkProjectCreate.sh AM571x idkAM571x little uart all dsp
Naveen B1. How to create bare-metal example(not the hello wolrd) for IPU M4 core
Bare-metal examples for IPU M4 are available at:
Refer to below pointers for more info:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.