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.

关于BootRom

TMS320x2833x, 2823x Boot ROM Reference Guide

中说道的Boot ROM中存储了:引导程序,IQ格式的函数表,等等,且是出厂设定的。

那么,这些函数或者信息,无论使用不使用都是固化在ROM中。

为什么在cmd文件中,还需要对这些东西进行存储空间分配:

MEMORY

{

PAGE 0 :

IQTABLES (R) : origin = 0x3FE000, length = 0x000b50

 IQTABLES2 (R) : origin = 0x3FEB50, length = 0x00008c 

 }

SECTIONS { 

 IQmathTables : load = IQTABLES, type = NOLOAD, PAGE = 0

IQmathTables2 > IQTABLES2, type = NOLOAD, PAGE = 0

 {

IQmath.lib<IQNexpTable.obj> (IQmathTablesRam)

}

IQmathTablesRam : load = DRAML1, PAGE = 1

 

  • 首先明确虽然BOOTROM里的东西是固化好的,但是也是在DSP内部统一编址的。CMD里的东西相当于一个路径,它告诉编译器当你调用BOOTROM里的内容时去哪个地址找它。