;-------------------------------------------------------------------------- ; ; ; PEEDI sample target configuration file ; ; Ronetix ; ; Supported devices : FreeScale MCF52235 ; Board : COBRA52235 ; ; 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 veriosn 2 CORE_STARTUP_MODE = reset CORE_BREAKMODE = soft ; soft - software breakpiont ; hard - use hardware breakpoints instead of software CORE_INIT = INIT_MCF52235 ; init section CORE_FLASH = FLASH_MCF52235 ; flash section parameters CORE_WORKSPACE_ADDR = 0x20000000 ; start address of workspace for flash programmer CORE_WORKSPACE_LEN = 0x1600 ; length of workspace in bytes CORE_FILE = "myfile.bin", BIN, 0 ; default file CORE_PATH = "tftp://192.168.3.1" ; default path [INIT_MCF52235] ; Turn on RAMBAR at address 20000000 set RAMBAR 0x20000021 mem write8 0x40120008 0x04 ; CCHR : PLL input = 1/5 ext. Clock mem write16 0x40120000 0x4003 ; SYNCR : change PLL to 60MHz wait 100 ; let PLL lock mem write16 0x40120000 0x4007 ; SYNCR : set fsys to 60MHz ; Init Flash Module set FLASHBAR 0x00000121 ; FLASHBAR: Internal Flash at 0x00000000 mem write 0x401D0010 0x00000000 ;CFMPROT : disable flash protection [FLASH_MCF52235] CHIP = MCF52235 ; flash chip BASE_ADDR = 0x00000000 ; chip is mapped at 0x00000000 IPS_BASE = 0x40000000 CPU_CLOCK = 60000 FILE = "test32k.bin" bin 0xFF800000 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 = "mcf52235> " ; 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 [erase] ; erase flash flash erase [prog] ; program flash flash prog