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.

Moving rts2800_ml.lib to RAM

Other Parts Discussed in Thread: TMS320F28035

Hi,

I'm working on a TMS320F28035 device.

I would like to have some of the code in RAM.

I'm doing it by adding the following to the linker command file:

ramFunctions : > progRAM, PAGE = 0
{
    rts2800_ml.lib(.text)
    DSP2803x_CpuTimers.obj(.text)
    C28x_InstaSPIN_BLDC_Lib.lib(.text)
    DLOG4CHC.obj(.text)
}

Where progRam is located in the RAM.

All works fine, except that I get an error at the "rts2800_ml.lib(.text)" statement. It says "file not found"

For all other files (DSP2803x_CpuTimers.obj, C28x_InstaSPIN_BLDC_Lib.lib and DLOG4CHC.obj) it works as expexted.

e.g. when I remove this line, the project is built correctly, and the specified functions located in the RAM.

What could be the problem? Should I explicitly add rts2800_ml.lib to the project? and if so, How do I remove the -ml option from the linker command?

Thanks, Isak.