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

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.


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

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

  • Vikas,

    The linker is giving this error because it does not have enough memory defined for the program space to hold the code.  I would recommend allocating some/most of the code to flash memory vs RAM as there is much more space available.  The penalty for executing from Flash vs RAM is not so great on our devices due to some prefetch buffers, etc.

    Once you do this, you can also view the .map file to see how much memory is being used, we could then look to put some partition back in RAM if that is needed.

    You should see an example in C2000Ware where the code is loaded to flash, CCS can parse the addresses and will program the flash for you on program load.

    Best,

    Matthew

  • hi mathew , currently i am using sci_ex3_echoback example code and its running perfect when RAM memory is selected for program but when i changed to flash memory program does not work. please tell how to resolve it. i did it with this icon on ccs

  • Vikas,

    You just changed the build config to CPU1_FLASH, correct?  

    Since this is a different build you will need to re-add _LAUNCHXL_F28379D to the predefine list in the project properties.  Likely this is the issue, if this is not predefined the assumed input clock frequency is different(assumes control CARD settings).

    Best,

    Matthew