Hello,
I have been having a l lot of trouble getting printf functions to work in Code Composer Studio v4.0.2. I am running the sensor monitor example firmware for the eZ430-RF2500 with an msp430F2274, and would like to see some values printed to the console. I have seen the suggestion everywhere (such as in the "Tips for using printf" page) to increase the heap and stack sizes both to at least 0x400. But the program only builds successfully near the default values (80 for each), which I'm sure isn't large enough for CIO buffers and why nothing prints to the console when that happens. When I set the stack and heap sizes to larger values I get linker errors. Using this test code for the same target, gets the same results:
#include <stdio.h>
void main (void) {
printf("hello");
}
The errors generally look like this:
run placement fails for object ".bss", size 0x22c (page 0). Available ranges: RAM size: 0x400 unused: 0x0 max hole: 0x0
run placement fails for object ".cio", size 0x120 (page 0). Available ranges: RAM size: 0x400 unused: 0x0 max hole: 0x0
run placement fails for object ".sysmem", size 0x400 (page 0). Available ranges: RAM size: 0x400 unused: 0x0 max hole: 0x0
Any advice would be much appreciated
-HW