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.

2812官方的bootloader文件有错误,是什么原因?



在TI官网下载了F2812 Boot Rom 的源文件,编译的时候显示如下问题:

[Linking...] "C:\Program Files\C2000 Code Generation Tools 5.0.0 Beta2\bin\cl2000" -@"Debug.lkf"
<Linking>
>> error: can't allocate .InitBoot, size 0000002c (page 0) in BOOT (avail:
00000015)
>> error: errors in input - ./Debug/f2812_boot_rom.out not built

>> Compilation failure

Build Complete,
3 Errors, 0 Warnings, 0 Remarks.

这个错误说是地址不够了,源文件的CMD配置如下:

MEMORY
{
PAGE 0 :
TABLES : origin = 0x3FF000, length = 0x000b50
RSVD1 : origin = 0x3FFb50, length = 0x0000B0
BOOT : origin = 0x3FFC00, length = 0x0002A4
RSVD2 : origin = 0x3FFEA4, length = 0x000116
VERSION : origin = 0x3FFFBA, length = 0x000002
CHECKSUM : origin = 0x3FFFBC, length = 0x000004
VECS : origin = 0x3FFFC0, length = 0x000040

PAGE 1 : STACK : origin = 0x400, length = 0x200

SYSTEM (RW) : origin = 0x007010, length = 0x000020
SPI_A (RW) : origin = 0x007040, length = 0x000010
SCI_A (RW) : origin = 0x007050, length = 0x000010
GPIOMUX(RW) : origin = 0x0070C0, length = 0x000020
GPIODAT(RW) : origin = 0x0070E0, length = 0x000020

}

SECTIONS
{
IQmathTables : load = TABLES, PAGE = 0
.InitBoot : load = BOOT, PAGE = 0
.text : load = BOOT, PAGE = 0
.BootVecs : load = VECS, PAGE = 0
.Checksum : load = CHECKSUM, PAGE = 0
.Version : load = VERSION, PAGE = 0

.stack : load = STACK, PAGE = 1
.SysCtrlRegs : load = SYSTEM, PAGE = 1
.SPIARegs : load = SPI_A, PAGE = 1
.SCIARegs : load = SCI_A, PAGE = 1
.GPIOMuxRegs : load = GPIOMUX, PAGE = 1
.GPIODataRegs: load = GPIODAT, PAGE = 1

rsvd1 : load = RSVD1, PAGE = 0
rsvd2 : load = RSVD2, PAGE = 0

}

这个怎么解决?

还有我能把这F2812 Boot Rom的文件放到2812片子里运行进行观察吗?