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.

TMDSCNCD28379D: TMDSCNCD28379D

Part Number: TMDSCNCD28379D
Other Parts Discussed in Thread: C2000WARE

I have a TMDSCNCD28379D controlCard with a docking station. I am using CC 12.3.0.00005.

I am trying to get the C:\ti\c2000\C2000Ware_4_03_00_00\driverlib\f2837xd\examples\cpu1\usb\usb_ex7_host_msc.c to build.

I import the project and get the following error:

Building target: "usb_ex7_host_msc.out"
Invoking: C2000 Linker
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --define=ccs_c2k --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"usb_ex7_host_msc.map" --heap_size=0x200 --stack_size=0x3F8 --warn_sections -i"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/lib" -i"C:/ti/c2000/C2000Ware_4_03_00_00" -i"C:/Users/brentw/workspace_v12/usb_ex7_host_msc/CPU1_RAM/syscfg" -i"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --reread_libs --define=RAM --diag_wrap=off --display_error_number --xml_link_info="usb_ex7_host_msc_linkInfo.xml" --entry_point=code_start --rom_model -o "usb_ex7_host_msc.out" "./cmdline.obj" "./fat_usbmsc.obj" "./ff.obj" "./scistdio.obj" "./usb_ex7_host_msc.obj" "./syscfg/board.obj" "./syscfg/c2000ware_libraries.obj" "./usb_hal.obj" "./ustdlib.obj" "./device/F2837xD_CodeStartBranch.obj" "./device/device.obj" "../2837xD_RAM_lnk_cpu1_USB.cmd" "C:/ti/c2000/C2000Ware_4_03_00_00/driverlib/f2837xd/driverlib/ccs/Debug/driverlib.lib" "C:/ti/c2000/C2000Ware_4_03_00_00/libraries/communications/usb/f2837xd/lib/usblib.lib" -lc2000ware_libraries.cmd.genlibs -llibc.a
<Linking>
"../2837xD_RAM_lnk_cpu1_USB.cmd", line 64: 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 ".data" size 0x44f page 1. Available memory ranges:
RAMGS6to11_combined size: 0x6000 unused: 0xad max hole: 0xad
error #10010: errors encountered during linking; "usb_ex7_host_msc.out" not built

>> Compilation failure
makefile:150: recipe for target 'usb_ex7_host_msc.out' failed
gmake[1]: *** [usb_ex7_host_msc.out] Error 1
makefile:146: recipe for target 'all' failed
gmake: *** [all] Error 2

I am not sure why this is not building out of the box?

Not sure what I need to do to get this to build?

Any help would be greatly appreciated.

  • I was able to take some memory from RAMGS12 to add to RAMGS6to11_combined.

    SECTIONS
    {
    codestart : > BEGIN, PAGE = 0
    .text : > RAMGS6to11_combined, PAGE = 1
    .cinit : > RAMM0, PAGE = 0
    .switch : > RAMM0, PAGE = 0
    .reset : > RESET, PAGE = 0, TYPE = DSECT /* not used, */
    .stack : > RAMM1, PAGE = 1

    #if defined(__TI_EABI__)
    .bss : >> RAMGS5 | RAMGS6to11_combined | RAMGS12, PAGE = 1
    .bss:output : > RAMLS3, PAGE = 0
    .bss:cio : > RAMGS2, PAGE = 1
    .init_array : > RAMM0, PAGE = 0
    .const : >> RAMGS5 | RAMGS6to11_combined, PAGE = 1
    .data : > RAMGS6to11_combined, PAGE = 1
    .sysmem : > RAMGS6to11_combined, PAGE = 1
    #else
    .pinit : > RAMM0, PAGE = 0
    .ebss : > RAMGS4, PAGE = 1
    .econst : >> RAMGS5 | RAMGS6to11_combined, PAGE = 1
    .esysmem : > RAMGS6to11_combined, PAGE = 1
    .cio : > RAMGS2, PAGE = 1

    #endif

    where 

    RAMGS6to11_combined : origin = 0x012000, length = 0x006000
    RAMGS12 : origin = 0x018000, length = 0x001000 /* Only Available on F28379D, F28377D, F28375D devices. Remove line on other devices. */
    RAMGS13 : origin = 0x019000, length = 0x001000 /* Only Available on F28379D, F28377D, F28375D devices. Remove line on other devices. */
    RAMGS14 : origin = 0x01A000, length = 0x001000 /* Only Available on F28379D, F28377D, F28375D devices. Remove line on other devices. */
    RAMGS15 : origin = 0x01B000, length = 0x000FF8 /* Only Available on F28379D, F28377D, F28375D devices. Remove line on other devices. */