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.

LAUNCHXL-F28379D: LAUNCHXL-F28379D

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: C2000WARE

How to use printf for usb to serial interface to see the data on the com port of the PC. there is not example code given and i tried to use it  but its not working. please help.

  • Vikash,

    Please take a look at SCI example for print at serial port:

    C:/ti/c2000/C2000Ware_4_02_00_00/device_support/f2837xd/examples/cpu1/sci_echoback

    Regards, Santosh

  • hello sir,

               I am using the same example .

    First point is that nothing is printing on the tera term on pc. getting below message on console.

    C28xx_CPU1: GEL Output:
    Memory Map Initialization Complete
    C28xx_CPU1: If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code. Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed.
    C28xx_CPU2: GEL Output:

    Second Point , this example is not using the printf() function , they have taken the string and writing string first and then using function which is making code  not look good and printing it by sending from function to pc, i want to use the standard library printf for my application  because this

    Please help me with these problems.

  • Sir, I have defined the _LAUNCHXL_F28379D in the setting now its working , but still i need example with printf().

  • and if i tried to use he stdio.h to use printf i get some error.

    line 84: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment/blocking fails for section ".stack" size 0x800 page 1. Available memory ranges:
    RAMM1 size: 0x3f8 unused: 0x3f8 max hole: 0x3f8
    "../2837xD_RAM_lnk_cpu1.cmd", line 92: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment/blocking fails for section ".sysmem" size 0x400 page 1. Available memory ranges:
    RAMLS5 size: 0x800 unused: 0xb0 max hole: 0xb0
    error #10010: errors encountered during linking; "sci_ex3_echoback.out" not built

  • Sir, one more problem is that after flashing this program i push reset button but program does not reset even of i reconnect the usb to pc the program does not restart, so many problem with this example. please help me all these issues.