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.

OMAPL138在dsp端加上bios系统后入口地址不对



在OMAPL138的dsp端加入bios系统,然后编译,查看编译生成的map文件,发现_c_int00不是1k字节对齐的。

map文件如下:

OUTPUT FILE NAME: <DSPPrj.out>
ENTRY POINT SYMBOL: "_c_int00" address: 11800300

所以将arm和dsp代码烧写进flash后,dsp是起不来的。

#1按照《OMAPL138 SOC的启动详解》中所述 带DSP/BIOS系统的工程,在工程中另加一个cmd文件,加入下面的语句:

SECTIONS

{  

         .vect:{

        C:\ti\bios_5_42_01_09\packages\ti\bios\lib\bios.a67P(.sysinit) }, align(1024)

}

按照上述方法进行处理后,发现map文件中"_c_int00"的地址其实还是 11800300。

map+cmd.rar