;------------------------------------------------------------------------------- ; ; mpc5746r.cfg ; ----------- ; ; PEEDI target configuration file for Freescale MPC5745R CPU ; ; ; Ronetix GmbH ; ; Supported devices : MPC5745R, MPC5746R, MPC5743R ; ; Board : MPC57XX MOTHERBOARD + MPC5745R ; ; Revision : 1.0 ; ; Date : February 17, 2016 ; ; 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. ; ; *) NOTE: In order to connect to the board via the 14-pin JTAG header, ; jumpers J6 and J7 must be set between jumper pins 2 and 3. ; ;------------------------------------------------------------------------------- ;-------------------------------------------------------------------------- ; 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_24MAY2020, 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 = MPC5500 [PLATFORM_MPC5500] MPC5XXX_AUX_TAP_CMD = 6, 0x29 ; select core 1 JTAG_CHAIN = 10 ; list of IR lenght of all TAP controller in JTAG chain JTAG_CLOCK = 10000 ; JTAG Clock in [kHz] - 10kHz jtag clock for init operations and 10MHz for normal work TRST_TYPE = PUSHPULL ; type of TRST (JCOMP) output: OPENDRAIN or PUSHPULL RESET_TIME = 20 ; lenght of RESET pulse in ms; 0 means no RESET CORE0 = MPC5XXX CORE0_AUX_TAP_CMD = 6, 0x29 ; select core 1 CORE0_STARTUP_MODE = RESET CORE0_BREAKMODE = soft ; breakpoint mode: ; soft - software breakpiont ; hard - use hardware breakpoints instead of software CORE0_INIT = INIT_MPC57XX ; init section for MPC5604 CORE0_FLASH0 = FLASH_MPC5XXX ; flash section parameters CORE0_ENDIAN = BIG ; core is big endian CORE0_WORKSPACE_ADDR = 0x40000000 ; start address of workspace for flash programmer CORE0_WORKSPACE_LEN = 0x4000 ; length of workspace in bytes CORE0_USE_NEXUS3_ACCESS = NO ; use faster mem access for a given region CORE0_PATH = "tftp://192.168.3.60" ;CORE0_PATH = "card://" CORE0_FILE = "myfile.bin", 0x40000000 CORE1 = MPC5XXX CORE1_AUX_TAP_CMD = 6, 0x28 ; select core 0 CORE1_STARTUP_MODE = RESET CORE1_BREAKMODE = soft ; breakpoint mode: ; soft - software breakpiont ; hard - use hardware breakpoints instead of software ;CORE1_INIT = INIT_MPC57XX ; init section for MPC5604 CORE1_ENDIAN = BIG ; core is big endian CORE1_USE_NEXUS3_ACCESS = NO ; use faster mem access for a given region CORE1_PATH = "tftp://192.168.3.60" CORE1_FILE = "myfile.bin", 0x40000000 CORE1_WORKSPACE = 0x40000000, 0x4000 [INIT_MPC57XX] ; disable SWT WD timer mem write 0xFC054010 0x0000C520 mem write 0xFC054010 0x0000D928 mem write 0xFC054000 0xFF00000A set IVPR 0x40000000 ; IVPR points to valid memory space echo Please wait, initializing SRAM... ; mem write doesn't initialize the memory. ; "mem test" or "mem speed" should be used mem speed 0x40000000 0x40000 ; 256 KB ;mem speed 0x50000000 0 0x4000/4 ; Core 0 I-MEM 16KB ;mem speed 0x50800000 0 0x8000/4 ; Core 0 D-MEM 32KB ;mem speed 0x51000000 0 0x4000/4 ; Core 1 I-MEM 16KB ;mem speed 0x51800000 0 0x8000/4 ; Core 1 D-MEM 32KB [core0_start] mem write 0xFFFB81E4 0x40000001 mem write16 0xFFFB81C6 0x1C mem write 0xFFFB8004 0x30005AF0 mem write 0xFFFB8004 0x3000A50F [FLASH_MPC5XXX] CHIP = MPC5xxx ; internal FLASH AGENT_MODE = VLE ; VLE or BOOKE: depends on the SRAM configuration FILE = "test32k.bin", BIN, 0x800000 [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 = "mpc5746r> " ; telnet prompt ;BACKSPACE = 127 ; comment out for autodetect [DISPLAY] BRIGHTNESS = 20 ; LED indicator brightness VOLUME = 25 ; zummer volume [ACTIONS] ; user defined scripts 1 = erase 2 = prog 3 = dump_ram 4 = dump_flash [erase] ; erase flash flash erase [prog] ; program flash flash prog