原创 .xcl/.mac文件说明

2010-3-27 17:00 889 2 2 分类: MCU/ 嵌入式

xxx_lnk_ram.xcl is a linker command file that allows to the test code to be targeted to the TMS470 Evaluation Board. This file basically indicates where code and data will be located in memory. Test code is assumed to be placed in RAM using a J-Tag emulator (in this case, a J-Link). Note that it’s assumed that the test code will run out of RAM. You should be able to relink the code using a different .XCL file to locate the code to the on-chip Flash.


xxx_setup_ram.mac is a macro file that tells the debugger how to configure the memory map and various clock registers for the targeted chip prior to main() being called. This is necessary in order to mirror the RAM to address 0x00 which is where the interrupt vectors are located.

PARTNER CONTENT

文章评论0条评论)

登录后参与讨论
我要评论
0
2
关闭 站长推荐上一条 /4 下一条