;-------------------------------------------------------------------------- ; ; ; PEEDI sample target configuration file ; ; Ronetix ; ; Supported devices : FreeScale MCF52233 ; Board : Axman M52233DEMO evaluation board ; ; Revision : 1.1 ; ; Date : April 12, 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 = COLDFIRE ; platform is ColdFire [PLATFORM_COLDFIRE] BDM_CLOCK = adaptive_8 ; BDM Clock is CLKOUT/8 RESET_TIME = 100 ; lenght of RESET pulse in ms; 0 means no RESET CORE = MCF5223x ; CPU is Coldfire V2 CORE_STARTUP_MODE = reset CORE_BREAKMODE = hard ; soft - software breakpiont ; hard - use hardware breakpoints instead of software CORE_INIT = INIT_COLDFIRE ; init section CORE_FLASH0 = FLASH_MCF52233 ; flash section parameters CORE_WORKSPACE_ADDR = 0x80000400 ; start address of workspace for flash programmer CORE_WORKSPACE_LEN = 0x7C00 ; length of workspace in bytes CORE_FILE = "myfile.bin", BIN, 0 ; default file CORE_PATH = "tftp://192.168.3.1" ; default path [INIT_COLDFIRE] set VBR 80000000 set RAMBAR 0x80000001 ; Internal SRAM at 0x80000000 mem write8 0x40000011 0x0 ; Disable watchdog timer mem write16 0x40120000 0x4103 ; Set PLL to 60MHz wait 100 mem write16 0x40120000 0x4003 wait 100 mem write16 0x40120000 0x4007 ; Init Flash Module set FLASHBAR 0x00000021 ; Internal Flash at 0x00000000 mem write16 0x401D0000 0x0 ; CFMMCR : disable lock and interrupts mem write8 0x401D0002 0x52 ; CFMCLKD : Flash clock divider for 60MHz ;mem write8 0x401D0002 0x54 ; CFMCLKD : Flash clock divider for 64MHz mem write32 0x401D0008 0x0 ; CFMSEC : disable security mem write32 0x401D0010 0x00000000 ; CFMPROT : disable flash protection [FLASH_MCF52233] CHIP = MCF52233 ; internal flash BASE_ADDR = 0x00000000 ; chip is mapped at 0x0000000 IPS_BASE = 0x40000000 CPU_CLOCK = 60000 FILE = "test32k.bin" bin 0x00000000 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 = "mcf52233> " ; telnet prompt ;BACKSPACE = 127 ; comment out for autodetect [DISPLAY] BRIGHTNESS = 20 ; LED indicator brightness VOLUME = 25 ; zummer 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 0x00000000 0x01000 tftp://192.168.1.1/ram.bin [dump_flash] ; dump part of FLASH memory dump 0xFFE00000 0x10000 tftp://192.168.1.1/flash.bin