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.

新舊版 Compiler ramfuncs & .TI.ramfunc 問題

嗨~

目前把舊版Compiler v6.4.6換成目前18.12.1,目前有ㄧ個警告

#10247-D null: creating output section "ramfuncs" without a SECTIONS specification 

查了一下是因為舊版跟新板ramfuncs和.TI.ramfunc使用上的問題,若使用舊版本是用ramfuncs,新版本是用.TI.ramfunc

但是我把cmd檔改成下面這樣

#ifdef __TI_COMPILER_VERSION__
   #if __TI_COMPILER_VERSION__ >= 15009000
    .TI.ramfunc : {} LOAD = FLASHA | FLASHB
                         RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3,
                         LOAD_START(_RamfuncsLoadStart),
                         LOAD_SIZE(_RamfuncsLoadSize),
                         LOAD_END(_RamfuncsLoadEnd),
                         RUN_START(_RamfuncsRunStart),
                         RUN_SIZE(_RamfuncsRunSize),
                         RUN_END(_RamfuncsRunEnd),
                         PAGE = 0, ALIGN(4)
   #else
   ramfuncs            : LOAD = FLASHA | FLASHB
                         RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3,
                         LOAD_START(_RamfuncsLoadStart),
                         LOAD_SIZE(_RamfuncsLoadSize),
                         LOAD_END(_RamfuncsLoadEnd),
                         RUN_START(_RamfuncsRunStart),
                         RUN_SIZE(_RamfuncsRunSize),
                         RUN_END(_RamfuncsRunEnd),
                         PAGE = 0, ALIGN(4)
   #endif
#endif

 

且把使用到ramfuncs的值改成.TI.ramfunc,這個警告還是一直跑出來,有什麼方式可以解決嗎?

  • 嗨~

    目前把舊版Compiler v6.4.6換成目前18.12.1,目前有ㄧ個警告

    #10247-D null: creating output section "ramfuncs" without a SECTIONS specification 

    查了一下是因為舊版跟新板ramfuncs和.TI.ramfunc使用上的問題,若使用舊版本是用ramfuncs,新版本是用.TI.ramfunc

    但是我把cmd檔改成下面這樣

    #ifdef __TI_COMPILER_VERSION__
       #if __TI_COMPILER_VERSION__ >= 15009000
        .TI.ramfunc : {} LOAD = FLASHA | FLASHB
                             RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3,
                             LOAD_START(_RamfuncsLoadStart),
                             LOAD_SIZE(_RamfuncsLoadSize),
                             LOAD_END(_RamfuncsLoadEnd),
                             RUN_START(_RamfuncsRunStart),
                             RUN_SIZE(_RamfuncsRunSize),
                             RUN_END(_RamfuncsRunEnd),
                             PAGE = 0, ALIGN(4)
       #else
       ramfuncs            : LOAD = FLASHA | FLASHB
                             RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3,
                             LOAD_START(_RamfuncsLoadStart),
                             LOAD_SIZE(_RamfuncsLoadSize),
                             LOAD_END(_RamfuncsLoadEnd),
                             RUN_START(_RamfuncsRunStart),
                             RUN_SIZE(_RamfuncsRunSize),
                             RUN_END(_RamfuncsRunEnd),
                             PAGE = 0, ALIGN(4)
       #endif
    #endif

    且把使用到ramfuncs的值改成.TI.ramfunc,這個警告還是一直跑出來,有什麼方式可以解決嗎?

  • 你好,参考一下这个E2E帖子的解决方案,看是否有效:
    e2e.ti.com/.../2584219
  • 我上面是把我原本的CMD檔改為裡面的來使用,把位置做修改而已,
    他那篇題提到使用C200WARE的CMD檔,我這邊應該也是一樣意思
  • 我後來發現,有一些地方沒改到.TI.ramfunc,改掉就不會跳了
x 出现错误。请重试或与管理员联系。