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.
用户1053025 2006-10-11 13:51