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.

IQmathtable问题



在烧写FLASH的cmd文件里,如果把IQmathtable直接放到RAM里,如下,可以吗?

IQmath               : > RAML3,    PAGE = 0 /* Math Code */
IQmathTables    : > RAML3,    PAGE = 0

  • 放在RAM中只能通过仿真器调试,芯片自启动时这些数据会丢失。

  • 您好,芯片自启动时,想放到RAM里 ,那就必须得用下面的语句了吧

        IQmathTables : LOAD = FLASHA,     /*指定加载地址*/
                                   RUN = RAML2,  /*指定运行地址*/
                                   LOAD_START(_ IQmathTablesLoadStart),
                                   LOAD_END(_ IQmathTablesLoadEnd),
                                   RUN_START(_ IQmathTablesRunStart),
                                   PAGE = 0

  • 是的,在使用 IQmathTables之前,还需要用memcpy()函数将其copy到RAM。