Cross-compiling
for AT91SAM7 using ARM ADS
A default MCP file is
delivered with this example.
The processor selected
must be ARM7TDMI for compiler and assembler.
The compiler option “Enable
debug inline function” must be enabled.
The first object file to
be linked is cstartup.o. Then entry point symbol is __ENTRY.
ARM ADS Use specific format file for assembler file and Macro file. These files are grouped in the directory:SrcARM and the standard extension are:
.s to assembly file and .mac to Assembly macro file
ARM ADS need also a specific initialization file for set the Heap and C setting retarget.c and the standard microcontroller file Cstartup_SAM7.c
Run multi-ice server.
Run AXD and load project.axf
In the Project Interface you can select the debugger icon in this case one specific file is sent to the debugger for primary initialization (these files are .dat extension)