I have a TMS320C6678LE EVM board and am trying to get it up and operational. I have successfully run through the getting started guides and loaded the HUA demo (it didn't work because I am not using ethernet so the IP aquisition failed). However, I have written the basic hello world program and loaded it onto the board. I was using std::cout to out put text to the console but nothing would come through, so I tested printf and the console displayed my text.
My stack and heap are set to 128Kb in the CORE0_L2_SRAM using the default C6678.cmd file to map the memory.
#include <stdio.h>
#include <iostream>
int main()
{
FILE *fid;
fid = fopen("myfile","w");
fprintf(fid,"Hello, world\n");
fclose(fid);
printf("Hello again, world\n");
std::cout << "Hello World C++ Style\n";
return 0;
}
What am I missing here? The file IO works fine and the printf works fine but the std::cout fails to display anything to the console.
Using CCSv5.3, Win7, XDS560v2 via USB
Thanks,
Aaron
++++ EDIT/UPDATE++++++
I found this post after doing a google search http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/208929.aspx
It seems that CCS requires a buffer flush before it updates the console output when using c++ std::cout? Can I get a verification on this for CCSv5.3 because doing a buffer flush after each cout statement is a very slow task. If this is true then I will just watch my console outputs more carefully. Thanks.
+++++++++++++++++++++