;-------------------------------------------------------------------------- ; ; ; PEEDI sample target configuration file ; ; Ronetix ; ; Supported devices : Freescale MCF5208 ; Board : Intec MCF5208EVB 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_10 ; BDM Clock is CLKOUT/10 RESET_TIME = 100 ; lenght of RESET pulse in ms; 0 means no RESET CORE = MCF5208 ; CPU is Coldfire V2 CORE_STARTUP_MODE = reset CORE_BREAKMODE = soft ; soft - software breakpiont ; hard - use hardware breakpoints instead of software CORE_INIT = INIT_COLDFIRE ; init section CORE_FLASH0 = FLASH_AM29BDD160G ; flash section parameters CORE_WORKSPACE_ADDR = 0x40000000 ; start address of workspace for flash programmer CORE_WORKSPACE_LEN = 0x10000 ; length of workspace in bytes CORE_FILE = "myfile.bin", BIN, 0x40000000 ; default file CORE_PATH = "tftp://192.168.3.1" ; default path [INIT_COLDFIRE] set VBR 0x40000000 ; VBR - Set VBR to the beginning of SDRAM set RAMBAR 0x80000021 ; RAMBAR - Internal SRAM at 0x80000000 mem write16 0xFC08C000 0x0000 ; Disable watchdog timer ; ; Init flash chip select mem write 0xFC008000 0x00000000 ; CSAR0: map to 0x00000000 mem write 0xFC008008 0x00001FA0 ; CSCR0: 16-bit port, 7 wait states mem write 0xFC008004 0x001F0001 ; CSMR0: size is 2 MB r/w ; ;SDRAM Initialization, 0x40000000 mem write 0xFC0A8110 0x40000018 ; SDCS0 mem write 0xFC0A8008 0x43711630 ; SDCFG1 mem write 0xFC0A800C 0x56670000 ; SDCFG2 mem write 0xFC0A8004 0xE1092002 ; SDCR: Issue PALL mem write 0xFC0A8000 0x40010000 ; SDMR: Issue LEMR mem write 0xFC0A8000 0x058D0000 ; SDMR: Write mode register wait 100 mem write 0xFC0A8004 0xE1092002 ; SDCR: Issue PALL mem write 0xFC0A8004 0xE1092004 ; SDCR: Perform two refresh cycles mem write 0xFC0A8004 0xE1092004 ; SDCR mem write 0xFC0A8000 0x018D0000 ; SDMR mem write 0xFC0A8004 0x71092C00 ; SDCR wait 100 [FLASH_AM29BDD160G] CHIP = AM29BDD160G ; flash chip ACCESS_METHOD = agent ; program method CHECK_ID = YES ; check chip ID CHIP_WIDTH = 16 ; chip is in 16 bit configuration CHIP_COUNT = 1 ; one chip is used BASE_ADDR = 0 ; chip is mapped at 0x0 FILE = "tftp://192.168.3.1/test256k.bin" bin 0x000000 AUTO_ERASE = NO ; erase before program AUTO_LOCK = NO ; lock after 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 = "mcf5208> " ; 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