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.
哪个大神知道?
waring:section flash.out(.text) at 0600008h falls in unconfigured memory (skipped)
.
.
.
好多这样的警告;
hex6x makefile.cmd
flash.out
-a
-order L
-memwidth 8
-image
-map memory.map
ROMS
{
FLASH: org = 0xB0000000, len = 0x40000, romwidth = 8, files = {image.hex}
}
/****************************************************************************************/
link.cmd
MEMORY
{
VEC: o = 0x00800000 l = 0x200
BOOTRAM: o = 0x00800200 l = 0x200
// L2_PRAM: o = 0x00800400 l = 0xFFC00
// L2_BRAM: o = 0x00900000 l = 0x100000
boot: o = 0xB0000000 l = 0x400
FLASH: o = 0xB0000400 l = 0x3FFD00
// DDR2: o = 0xE0000000 l = 0x10000000
}
SECTIONS
{
"bootload" > boot run =BOOTRAM
.text > FLASH run = IRAM, LOAD_START(FLASH_TEXT_START), RUN_START(RAM_TEXT_START), SIZE(TEXT_SIZE)
.cinit > FLASH run = IRAM, LOAD_START(FLASH_CINIT_START), RUN_START(RAM_CINIT_START), SIZE(CINIT_SIZE)
.const > FLASH run = IRAM, LOAD_START(FLASH_CONST_START), RUN_START(RAM_CONST_START), SIZE(CONST_SIZE)
.switch > FLASH run = IRAM, LOAD_START(FLASH_SWITCH_START), RUN_START(RAM_SWITCH_START), SIZE(SWITCH_SIZE)
.data > IRAM
.stack > IRAM
.bss > IRAM
.far > IRAM
.sysmem > IRAM
.cio > IRAM
.vecs > FLASH run = VEC, LOAD_START(FLASH_VECTOR_START), RUN_START(RAM_VECTOR_START), SIZE(VECTOR_SIZE)
}
/***********************************************************************************************************************************************************/
还有DSP/BIOS的.cmd
然后就warning了
从报错信息看,是.text段地址没有在hex cmd里的ROMS里定义。
你看一下bios配置文件里有没有给各个段分配load address, 类似下面的Figure 2. Load/Run Address Specification Using DSP/BIOS GCONF Interface表。
http://www.ti.com/lit/an/spra999a/spra999a.pdf
是不是.trace, .log, .sts这几个段?这几个段在编译时作为初始化段,所以hex工具也会去转换它们,但这些段又是分配在IRAM的而且只在调试阶段有用,所以会有warning, 你可以在hex cmd文件中添加下面的语句不转换。
-exclude .trace
-exclude .sts
-exclude .log
你好,non——bios是没问题的,烧写都成功,只要带有DSP/BIOS就会出现问题,这样的话还需要修改boot.asm么,我感觉主要的问题还是那个cmd,我参考你给的那个连接文档上面的,修改了里面的各个段在LOAD 和RUN 情况下存放的位置了。没成功,你觉得是哪里出了问题呢?
你可以用仿真器跟一下boot过程,看是没有正确搬移还是搬移后执行有问题。具体方法见下面的网站。
http://processors.wiki.ti.com/index.php/Debugging_Boot_Issues#.22Load_Symbols.22_instead_of_.22Load_Program.22