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.

TMS320F28027: 如何将IQMath放到内存中运行?我写了一堆,它还是不对。

Part Number: TMS320F28027

这两个是代码中用到的函数,将它申明了一下

#pragma CODE_SECTION(_IQ20sin, "ramfuncs"); //也可以在FLASH运行
#pragma CODE_SECTION(_IQ20asin, "ramfuncs"); //也可以在FLASH运行

CMD文件 :

IQmath : > FLASHB PAGE = 0 /* Math Code */
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
IQmathTablesRam : > IQTABLES3 PAGE = 0, TYPE = NOLOAD

IQmathTables3 : > IQTABLES3, PAGE = 0, TYPE = NOLOAD
{

IQmath.lib<IQNasinTable.obj> (IQmathTablesRam)
//IQmath.lib<IQNasinTable.obj> (IQmathTablesRam)

}
IQmathfuncs : LOAD = FLASHB,
RUN = RAMM0|RAMM1|RAML0, PAGE = 0
LOAD_START(_IQmathFuncRamLoadStart),
LOAD_END(_IQmathFuncRamLoadEnd),
RUN_START(_IQmathFuncRamRunStart),
{
-l IQmath.lib<IQ20sin.obj>(IQmath)                //123行
-l IQmath.lib<IQ20asin.obj>(IQmath)
}

报错信息:"../cmd/F2802x_generic_flash.cmd", line 123: warning: no matching section