Tool/software: Code Composer Studio
Hi all,
I am an absolute beginner in the embedded system world. I encountered a seemingly simple issue which is the printf functions not triggering the CIO console window. I am using CCS v.9.3.0 on MacOS. I have tried running example projects such as hello and uart_echo but those did not succeed in printing out string outputs in the CIO console. Actually, the CIO console did not even show up.
I have followed troubleshooting guides such as configuring heap size, enabling CIO function, and go over instructions presented here http://software-dl.ti.com/ccs/esd/documents/sdto_cgt_tips_for_using_printf.html.
On the Tips for using Printf page, I managed to print out a string "Hello, world" using puts("Hello World") in the CIO console. However, when using printf, the program seems to enter the infinite FaultIRS() loop every time. Also, I got stuck at C I/O Communication Buffer Placement and Special Breakpoints sections since I cannot fully understand where to make the suggested modifications. I guess it has to do with setting up breakpoints, but I do not know exactly where to proceed.
Another inconsistency that I came across is when I used puts function and printf function together. For example
puts("Hello, World");
printf("Hello, World");
In this case, the printf function did print out "Hello, world" string in the CIO console. but if I rearrange the order of the code above to be
printf("Hello, World");
puts("Hello, World");
It will not work.
Here is the screen capture of the linker file.
I would really appreciate it if anyone can help. I have been stuck with this issue for a couple days now.
Boris
