;-------------------------------------------------------------------------- ; ; ; PEEDI sample target configuration file ; ; Ronetix ; ; Supported devices : FreeScale MCF5272 ; Board : Custom board ; ; Revision : 1.0 ; ; Date : March 23, 2007 ; ; 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. ; ; Example: ; [LICENSE] ; KEY = UPDATE_24MAY2007, 1111-1111-1111-1 ; KEY = COLDFIRE, 2222-2222-2222-2 ; ; The minimum required licenses are provided when PEEDI is purchased and ; are printed 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_6 ; BDM Clock is CLKOUT/6 RESET_TIME = 20 ; lenght of RESET pulse in ms; 0 means no RESET CORE = MCF5272 ; CPU is Coldfire V2 CORE_STARTUP_MODE = reset CORE_BREAKMODE = soft ; soft - software breakpiont ; hard - use hardware breakpoints instead of software CORE_INIT = INIT_MCF5272 ; init section for EB55800 board CORE_FLASH0 = FLASH_M29W160DB ; flash section parameters CORE_WORKSPACE_ADDR = 0x00000000 ; start address of workspace for flash programmer CORE_WORKSPACE_LEN = 0x10000 ; length of workspace in bytes ;CORE_WORKSPACE_ADDR = 0x20000000 ; start address of workspace for flash programmer ;CORE_WORKSPACE_LEN = 0x1000 ; length of workspace in bytes CORE_FILE = "myfile.bin", BIN, 0x2000000 ; default file CORE_PATH = "tftp://192.168.3.60" ; default path [INIT_MCF5272] ; Init SIM Module set MBAR 0x10000001 ;MBAR: SIM registers at 0x10000000 set RAMBAR 0x20000001 ;SRAMBAR: Internal SRAM at 0x20000000 ; Init Chip-Select Module mem w32 0x10000040 0xFF800201 ;CSBR0: Flash mem w32 0x10000044 0xFF800030 ;CSOR0: Flash mem w32 0x10000078 0x00000701 ;CSBR7: SDRAM mem w32 0x1000007C 0xFF00007C ;CSOR7: SDRAM ; ; Init SDRAM Controller mem w16 0x10000186 0xF539 ;SDTR: SDRAM Timing Register mem w16 0x10000182 0x6410 ;SDCR: SDRAM Configuration Register mem w16 0x10000182 0x6411 ;SDCR: Set INIT Bit mem w32 0x00000000 0x12345678 ;Access SDRAM to start initialization [FLASH_M29W160DB] CHIP = CFI_FLASH ; flash chip ACCESS_METHOD = agent ; proram method auto BASE_ADDR = 0xFF800000 ; chip is mapped at 0x1000000 CHIP_WIDTH = 16 CHIP_COUNT = 1 FILE = "test32k.bin" bin 0xFF800000 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 ;2023 [TELNET] PROMPT = "mcf5272> " ; 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