Tool/software: Code Composer Studio
Hello,
I have the program that works alright when printing strings and decimals with printf. However, if I include a simple code with float:
float a = 0.1;
printf("My float: %f", a);
The printf doesn't display anything! Whenever I pause the program for debugging, it always halts at the following line:
***********************************************************************
* Function: codestart section
*
* Description: Branch to code starting point
***********************************************************************
.sect "codestart"
code_start:
.if WD_DISABLE == 1
LB wd_disable ;Branch to watchdog disable code <----------- HERE IT HALTS
.else
LB _c_int00 ;Branch to start of boot.asm in RTS library
.endif
The same issue happens if I use snprintf.
I have already tried to play with the memory. I assigned the .cio section to USB_RAM memory range (0x1000 length - I have started another topic with a question on what is the proper way, see https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/625989 ), increased RAMM1 length to 0x1000 and thus set the stack and heap sizes to 0x1000. So this shouldn't be a problem. Any other ideas?

