section ("sdram0_bank1") unsigned char g_now_txt_msg;
I have moved this to the VisualDSP++ Development Tools community, as it relates to the C libraries.
What error are you seeing? Is it an incorrect/unexpected output from sprintf? If so, can you provide details of the expected behaviour vs. the actual behaviour and, if possible, a complete project that shows the behaviour?
Also, which version and update of VisualDSP++ are you using? e.g. VisualDSP++ 5.0 Update 10.
The tmp_f argument to sprintf is of type int, but the type specifier in the format string is telling sprintf to expect type float. You likely need to declare tmp_f as a float, or perhaps cast it to a float in the call.
Retrieving data ...