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.
Dear Sir,
I am using CCSV4 and trying Hello world program output to be displayed on the console.
I get the output for a normal setup, however when I define my own cmd file and load the program , I do not get the output on the console.
I figured out that a particular section where I am define .econst is causing a problem.
I am unable to find out what is the relationship between .econst and the console operation. This happens on a TMS320F283xx simulator.
Any help will be grateful.
Thanks
pat
.
Pat,
This may be caused by insufficient heap. Can you check the page below that talks about the use of console I/O functions?
http://processors.wiki.ti.com/index.php/Tips_for_using_printf
The description of the .econst memory section is shown in section 4.3.6 of the C2000 Compiler User's Guide (SPRU514C), but it does not seem to be related to this issue. The order of how of sections are being arranged in memory may have affected the functionality of printf.
Hope this helps,
Rafael