I just tried a quick test with a very simple main.c.
With the small memory mode, and rts55.lib, neither printf() or putchar() returns. Sometimes the program counter goes off into the weeds. Other times it remains in rts55.lib without returning... In neither case is anything printed on the console.
For this test I placed all linker objects into DARAM, but tried placing all objects in SARAM too - it linked and executed, but printf not returning regardless.
Both function worked correctly with the large memory model.
I will split this post and let the compiler team know about it.
main.c:
#include "stdio.h"
void main(void)
{
printf("\nprintf test...\n");
while(1)
{
}
}
Regards,
Mark
[EDIT - original post: http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/p/231547/814074.aspx]