;------------------------------------------------------------------------------- ; ; mpc8260.cfg ; ----------- ; ; PEEDI target configuration file for EST8260 evaluation board ; ; ; Ronetix ; ; Supported devices : MPC8260 ; ; Revision : 1.0 ; ; Date : January 2, 2018 ; ; 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 = MPC5200 ; platform is MPC5200 [PLATFORM_MPC5200] JTAG_CHAIN = 8 ; list of IR lenght of all TAP controller in JTAG chain JTAG_CLOCK = 4000 ; JTAG Clock in [kHz] - 6MHz for normal work TRST_TYPE = PUSHPULL ; type of TRST output: OPENDRAIN or PUSHPULL RESET_TIME = 20 ; lenght of RESET pulse in ms; 0 means no RESET TIME_AFTER_RESET = 1500 CORE0 = MPC8260 CORE0_STARTUP_MODE = RESET CORE0_BREAKMODE = SOFT ; breakpoint mode: ; soft - software breakpiont ; hard - use hardware breakpoints instead of software CORE0_INIT = INIT_MPC8200 ; init section CORE0_FLASH0 = FLASH_NOR_SIM ; flash section CORE0_FLASH1 = FLASH_NOR ; flash section CORE0_ENDIAN = BIG ; core is big endian ;CORE0_BOOT_ADDR = 0x100 CORE0_BOOT_ADDR = 0xFFF00100 CORE0_WORKSPACE = 0, 0x800 ; start address of workspace for flash programmer CORE0_PATH = "tftp://192.168.3.60" CORE0_FILE = "myfile.bin" [INIT_MPC8200] set MSR 0x00000000 ; clear MSR mem write 0x0F0101A8 0x0F000000 ; IMMR == 0x0F000000 mem write 0x0F010004 0xFFFFFFC3 ; SYPCR == no watchdog mem write 0x0F010C80 0x00000001 ; SCCR == normal operations ; ; LED's ; mem write 0x0F01013C 0xFFFF03F6 ; OR7 mem write 0x0F010138 0x21000801 ; BR7 ; ; ; Memory controller ; ; These writes configure /CS0 to be the 2MB FLASH at 0xFE00000 ; and /CS6 to be the 4MB FLASH at 0xE000000 ; These writes configure: ; CHIP SELECT BASE ADDRESS SIZE COMMENTS ; ----------- ------------ ---- -------- ; /CS0 0xFE000000 2MB 2MB ON BOARD FLASH ; /CS6 0xE0000000 4MB 4MB FLASH SIMM ; ;mem write 0x0F010100 0xFE000801 ; BR0 ;mem write 0x0F010104 0xFE000060 ; OR0 ;mem write 0x0F010130 0xE0001801 ; BR6 ;mem write 0x0F010134 0xFF000856 ; OR6 ; Board configured as: ; CHIP SELECT BASE ADDRESS SIZE COMMENTS ; ----------- ------------ ---- -------- ; /CS0 0xFE000000 4MB 4MB FLASH SIMM ; /CS6 0xE0000000 2MB 2MB ON BOARD FLASH mem write 0x0F010100 0xFE001801 ; BR0 mem write 0x0F010104 0xFE000856 ; OR0 mem write 0x0F010130 0xE0000801 ; BR6 mem write 0x0F010134 0xFF000060 ; OR6 ; ; ; Initialize the SDRAM on the 60x bus. ; mem write16 0x0F010184 0x3200 ; MPTPR mem write8 0x0F01019C 0x0E ; PSRT mem write 0x0F010114 0xFF000C80 ; OR2 mem write 0x0F010110 0x00000041 ; BR2 mem write 0x0F010190 0x298EB452 ; PSDMR mem write8 0x00000000 0xFF ; Access SDRAM mem write 0x0F010190 0x098EB452 ; PSDMR: CBR Refresh mem write8 0x00000000 0xFF ; Access SDRAM mem write8 0x00000000 0xFF ; Access SDRAM mem write8 0x00000000 0xFF ; Access SDRAM mem write8 0x00000000 0xFF ; Access SDRAM mem write8 0x00000000 0xFF ; Access SDRAM mem write8 0x00000000 0xFF ; Access SDRAM mem write8 0x00000000 0xFF ; Access SDRAM mem write8 0x00000000 0xFF ; Access SDRAM mem write 0x0F010190 0x198EB452 ; PSDMR: Mode Set mem write8 0x00000000 0xFF ; Access SDRAM mem write 0x0F010190 0x418EB452 ; PSDMR: enable refresh, normal operation ; works fine [FLASH_NOR_SIM] CHIP = AM29F080B CHIP_COUNT = 4 CHIP_WIDTH = 8 ACCESS_METHOD = DIRECT BASE_ADDR = 0xFE000000 FILE = "test32k.bin", bin, 0xFE3F0000 ; Don't work [FLASH_NOR] CHIP = MBM29F016A CHIP_COUNT = 1 CHIP_WIDTH = 8 ACCESS_METHOD = DIRECT BASE_ADDR = 0xFE000000 FILE = "test32k.bin", bin, 0 [SERIAL] ; serial port configuration BAUD = 115200 STOP_BITS = 1 PARITY = NONE TCP_PORT = 0 [TELNET] PROMPT = "mpc8260> " ; 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 [erase] ; erase flash flash erase [prog] ; program flash flash program