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.

XF28P650DK9PTP

 1

"syscfg/device_cmd.cmd", line 69: 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 0x238 page 0. Available memory ranges:

RAMLS5 size: 0x800 unused: 0x18d max hole: 0x18d
>> Compilation failure
makefile:145: recipe for target 'Universal ProjectMODOUBUSLAVEADDRESS.out' failed
error #10010: errors encountered during linking; "Universal ProjectMODOUBUSLAVEADDRESS.out" not built
gmake[1]: *** [Universal ProjectMODOUBUSLAVEADDRESS.out] Error 1
gmake: *** [all] Error 2

 2

 3

Figure 1 is the problem, error, data over limit, after changing CMD file(Figure2/3), there are many reminders, may I ask why these reminders appear, will it affect the operation of the program

  • The program runs, as soon as the program stops, it jumps here, how do I solve this problem

  • Hi Apologies for the delayed response,

    As mentioned in the error message,  .data" section is of size 0x238 and only 0x18d is available in RAMLS5.

    You can use more RAMs for allocating .data section. 

    Please note that the linker cmd files provided in C200ware are for reference and is used for the examples provided in it. They may be updated as per the application need.

    Regards,

    Veena

  • Regarding the warning, as mentioned in the warning message, you are using integers intead of passing the the enums SYSCTL_MCANCLK_DIV_xx. Recommended to use the enums instead of actual values

    You may ignore the error on Sysctl_delay function. The function is written in assembly and you may view them in Disassembly window.

    Regards,

    Veena