;-------------------------------------------------------------------------- ; ; ; PEEDI sample target configuration file ; ; Supported devices : Cirrus Logic EP9307 ; Board : evaluation board EDB9307 ; ; Revision : 1.0 ; ; Date : 18-01-2010 ; ;-------------------------------------------------------------------------- ;-------------------------------------------------------------------------- ; The following section contains licenses that are required for PEEDI to ; operate. These licenses must be filled before using this file. ; The [LICENSE] section may contain license keys for one or more PEEDIs. ; ; Example: ; [LICENSE] ; KEY = UPDATE_24MAY2010, 1111-1111-1111-1 ; KEY = XXXXX, 2222-2222-2222-2 ; ; The [LICENSE] section may point to an external file which contains ; license keys for one or more PEEDIs. The external file must include ; the text [LICENSE] followed by all keys. ; ; Example: ; [LICENSE] ; FILE = tftp://192.168.3.1/license.txt ; or ; FILE=eep:license.txt ; or ; FILE = ftp://user:password@192.168.3.1/license.txt ; ; ; PEEDI is shipped with license keys stored in "eep:license.txt" and ; printed on a label on the bottom side of PEEDI. ; [LICENSE] FILE=eep:license.txt ;-------------------------------------------------------------------------- [DEBUGGER] PROTOCOL = gdb_remote ; gdb remote REMOTE_PORT = 2000 ; TCP/IP port [TARGET] PLATFORM = ARM [PLATFORM_ARM] JTAG_CHAIN = 4 ; list of IR lenght of all TAP controller in JTAG chain JTAG_CLOCK = 20, 20000 ; JTAG Clock in [kHz] - 10kHz jtag clock for init operations and 20MHz for normal work ;JTAG_CLOCK = adaptive ; JTAG Clock Adaptive TRST_TYPE = PUSHPULL ; type of TRST output: OPENDRAIN or PUSHPULL RESET_TIME = 20 ; length of RESET pulse in ms; 0 means no RESET WAKEUP_TIME = 20 ; time between releasing the reset and starting the jtag communication CORE0 = ARM920T ; TAP 0 is ARM920T CORE0_BREAK_PATTERN = 0xDFFFDFFF ; software breakpoint pattern CORE0_BREAKMODE = soft ; breakpoint mode: ; soft - software breakpiont ; hard - use hardware breakpoints instead of software CORE0_INIT = INIT_EDB9307 ; init section for board CORE0_STARTUP_MODE = RESET ; if RESET than no code is executed after reset ; if STOP then PEEDI lets the target execute code for 300 ms. ; if RUN then the target excutes code until stopped by the telnet "halt" command CORE0_FLASH = NOR_FLASH CORE0_ENDIAN = little CORE0_WORKSPACE = 0x0, 0x10000 ; for FLASH programmer CORE0_FILE = "myfile.bin", BIN, 0x30010000 ; default file CORE0_PATH = "tftp://192.168.1.1" ; default path ;------------------------------------------------------------------- ; CORE_VECTOR_CATCH_MASK ; ---------------------- ; ARM9 only: If one of the bits is set HIGH and the corresponding exception occurs, the ; processor enters debug state as if a breakpoint has been set on an instruction fetch ; from the relevant exception vector. ; ; bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 ;---------------------------------------------------------- ;| fiq | irq | res |d_abort| p_abort| swi | undef | reset | ;---------------------------------------------------------- CORE_VECTOR_CATCH_MASK = 0x00 [INIT_EDB9307] ; init PLL mem wr 0x80930020 0x02A4A3D7 wait 100 mem wr 0x80930024 0x30D1C317 wait 100 ; init SDRAM mem wr 0x8006001C 0x00210028 mem wr 0x80060004 0x80000003 wait 100 mem re 0x00000000 mem re 0x00200000 mem re 0x00400000 mem re 0x00600000 mem wr 0x80060008 0x00210028 wait 100 mem wr 0x80060008 0x00210028 mem re 0x00008800 mem re 0x00208800 mem re 0x00408800 mem re 0x00608800 mem wr 0x80060004 0x80000000 [NOR_FLASH] CHIP = MT28F128J3 ; flash chip ACCESS_METHOD = AGENT ; program method auto CHECK_ID = YES ; check chip ID CHIP_WIDTH = 16 ; chip is in 16 bit configuration CHIP_COUNT = 2 ; one chip is used BASE_ADDR = 0x60000000 ; chip is mapped at 0x60000000 FILE = "sam.cfg", BIN, 0x60000000 ; file to program AUTO_ERASE = NO ; erase before program AUTO_LOCK = NO ; lock after program [SERIAL] BAUD=115200 STOP_BITS=1 PARITY=NONE TCP_PORT = 0 ; enable CLI over RS232 ;TCP_PORT = 2023 ; enable serial over TCP/IP [TELNET] PROMPT = "edb9307> " ; telnet prompt ;BACKSPACE=127 ; comment out for autodetect [DISPLAY] BRIGHTNESS = 20 ; LED indicator brightness VOLUME = 25 ; beeper volume [ACTIONS] ; user defined scripts ;AUTORUN = 2 ; executed on every target connect 1 = erase 2 = prog 3 = dump_ram 4 = dump_flash [erase] ; erase flash flash erase [prog] ; program flash flash prog [dump_ram] ; dump part of RAM memory dump 0x02000000 0x01000 ram.bin [dump_flash] ; dump part of FLASH memory dump 0x01000000 0x10000 flash.bin