This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/LAUNCHXL-F280049C: printf function issue when output uint16_t , int32_t, uint32_t variables.

Part Number: LAUNCHXL-F280049C
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE, SYSBIOS, TMS320F280049C

Tool/software: TI-RTOS

I'm evaluating F280049C with LAUNCHXL-F280049C for migrating customer board from F28075 to F280049C.

I need the  management console with SCI so that I'm now testing printf function.

on F28075, I used UARTprintf function which is provided with utility library with controlSUITE.

But F280049C on C2000ware, no similar utility so I redirected  STDOUT to SCI as below.

~~~

    status = add_device("scia", _SSA, SCI_open, SCI_close, SCI_read, SCI_write,
                        SCI_lseek, SCI_unlink, SCI_rename);
    fid = fopen("scia","w");
    freopen("scia:", "w", stdout);
    setvbuf(stdout, NULL, _IONBF, 0);

~~~

However, I found that printf not working properly  when printing   uint16_t ,  int32_t, uint32_t variables as below .

I'm using CCSv8.3 / C2000ware 1.0.6.00 & SYSBIOS 6.73.0.12 and attaching projects file which I'm testing.

Could you guide me how I can do that printf function works properly.

Best Regards,

JYtypical_TMS320F280049C.zip