www.pudn.com > EBDSAM7S64-Basic-ADS.rar > Basic_ICE.dat


Com *     ATMEL Microcontroller Software Support  -  ROUSSET  - 
Com *-------------------------------------------------------------------------------------- 
Com *The software is delivered "AS IS" without warranty or condition of any 
Com *kind, either express, implied or statutory. This includes without 
Com *limitation any warranty or condition with respect to merchantability or 
Com *fitness for any particular purpose, or against the infringements of 
Com *intellectual property rights of others. 
Com *-------------------------------------------------------------------------------------- 
Com *File Name               : File LedSwing_ICE.dat 
Com *Object                  : Script file for axd debugger 
Com * 
Com *1.0 18/Feb/03   JPP     : Creation 
Com *-------------------------------------------------------------------------------------- 
Com Enable the semihosting. If you don't use printf and/or scanf functions, set semihosting_enabled to 0. 
spp semihosting_enabled 1 
 
Com Define the top of memory to store the buffer for semihosting calls. 
Com Needed when working with an ICE Interface and if you use C printf/scanf functions in your code. 
Com The value after $top_of_memory variable is the address of the buffer needed for the semihosting. 
Com Generally pointing to the top of Internal or External Memory. Change it according to your board configuration. 
Com Hereafter, $top_of_memory variable is defined at the top of the internal SRAM of the AT91R40008. 
 
let $top_of_memory 0x0002000 
 
Com Setup EBI to support all connected memories 
Com Setup for EB40A with external Flash memory only. Change the EBI value (i.e number of wait states, TDF, 8 or 16-bit memory, etc.. 
Com according to your external memories and peripherals. 
Com You can add other EBI Chip Select setting to fit your board configuration. 
Com EBI_CS0 for Flash access 
 
 
Com Disable all vector catch to not have AXD to warn you that a vector exception has been caught. 
spp vector_catch 0x0 
 
Com Remap Command 
setmem 0xFFFFFF00 0x1 32 
 
Com Load file 
ld Basic.axf