;-------------------------------------------------------------------------- ; ; ; PEEDI target configuration file for Freescale MC13224 microcontroller ; ; Ronetix ; ; Supported devices : MC13224 ; ; Revision : 1.0 ; ; Date : August 24, 2010 ; ; The file is delivered "AS IS" without warranty or condition of any ; kind, either express, implied or statutory. This includes without ; limitation any warranty or condition with respect to merchantability or ; fitness for any particular purpose, or against the infringements of ; intellectual property rights of others. ; ;-------------------------------------------------------------------------- ;-------------------------------------------------------------------------- ; 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 is ARM [PLATFORM_ARM] JTAG_CHAIN = 4 ; list of IR length of all ; TAP controller in JTAG chain JTAG_CLOCK = 5, 4000 ; JTAG Clock in [kHz] - 10kHz ; JTAG clock for init operations and ; 10MHz for normal work TRST_TYPE = PUSHPULL ; type of TRST output: OPENDRAIN ; or PUSHPULL ;WAKEUP_TIME = 200 ; time between releasing the reset and ; starting the jtag communication RESET_TIME = 20 ; length of RESET pulse in ms; 0 means ; no RESET CORE0 = ARM7TDMI ; TAP is ARM7TDMI CPU CORE0_STARTUP_MODE = RESET ; Let the core enable the JTAG port CORE0_BREAK_PATTERN = 0xDFFFDFFF ; software breakpoint pattern CORE0_BREAKMODE = soft ; breakpoint mode: ; soft - use software breakpoints ; hard - use hardware breakpoints CORE0_INIT = INIT_MC13224 ; init section CORE0_FLASH = FLASH_SPI25 ; FLASH section parameters CORE0_ENDIAN = LITTLE ; MC13224 works in BIG endian CORE0_WORKSPACE = 0x00400000, 0x1A00 ; workspace for flash CORE0_FILE = "myfile.bin", BIN, 0x00400000 ; default file CORE0_PATH = "tftp://192.168.3.1" ; default path [INIT_MC13224] mem or 0x80003048 0x00000080 ; enable flash power [FLASH_SPI25] CHIP = SPI25_FLASH CPU = MC1322X SPI_DIV = 0 FILE = "myfile.bin", BIN, 0 ; file to program AUTO_ERASE = NO ; erase before program [SERIAL] ; serial port configuration BAUD = 115200 STOP_BITS = 1 PARITY = NONE TCP_PORT = 0 ; enable CLI over RS232 ;TCP_PORT = 2023 ; enable serial over TCP/IP [TELNET] PROMPT = "mc13224> " ; 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 flash verify