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/PROCESSOR-SDK-AM437X: printf not working in AM437x CCS

Part Number: PROCESSOR-SDK-AM437X


Tool/software: Code Composer Studio

Hello,

I am using CCS v6.  My HEAPSIZE=0x2400 and STACKSIZE=0x2000.  I am using AM437x IDK  Project. My Program is running out of SRAM. I am running out of A9.

I am unable to print anything on CCS console window. I am using "printf" function to print. I want to check if i need to include anything in my CCS Project in order to print on the console window.

My General Settings are as follows: 

Please let me know if i am missing anything here.

Thanks,

Sriram

  • Sriram,

    Are you creating this project using the CCS Wizard - i.e., by going to menu File --> New --> CCS Project? If so, in general GCC requires a very large stack size to allow semihosting to work - I think the default is 0x1C000 or whereabouts.

    However, if this an example code from the IDK SDK can you tell me which one? Perhaps there is something else at play.

    Regards,
    Rafael