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.
Part Number: EVMK2H
Tool/software: Code Composer Studio
Good day,
We are currently testing the functionality of the DSP cores in EVMK2H.
As preliminary testing, we are writing a C program that could output a Hello World text on the console that is dependent on the core executing the code.
For example,
C66xx_0 would print Hello World 0,
C66xx_1 would print Hello World 1, and so on
But as a beginner we're having trouble reading the register contents in C.
It would be a great help if you could point me to the right resources.
Thank you very much.
Best Regards,
Madie Tiu
Please try some of the suggestions in the article Tips For Using Printf.
Thanks and regards,
-George
See the 7.5.3 The __cregister Keyword section of the TMS320C6000 Optimizing Compiler v8.2.x User's Guide. If you include the c6x.h the include file you will get a definition for reading DNUM as well as the other control registers.Madeleine Tiu said:As preliminary testing, we are writing a C program that could output a Hello World text on the console that is dependent on the core executing the code.