;-------------------------------------------------------------------------- ; ; ; PEEDI target configuration file for PowerPC PPC440EP processor ; ; Ronetix ; ; Supported devices : PPC440EP ; ; Board : Custom ; ; Revision : 1.0 ; ; Date : June 13, 2012 ; ;-------------------------------------------------------------------------- ;-------------------------------------------------------------------------- ; 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 = ARM7, 2222-2222-2222-2 ; ; The minimum required licenses are provided when PEEDI is purchased ; and are printed on the bottom side of PEEDI. ; [LICENSE] ; The license keys for one or more PEEDIs can be loaded from an external file FILE = eep:license.txt ;------------------------------------------------------------------------------- [DEBUGGER] PROTOCOL = gdb_remote REMOTE_PORT = 2000 ; TCP/IP port [TARGET] PLATFORM = PPC400 ; platform is PPC400 [PLATFORM_PPC400] JTAG_CHAIN = 8 ; list of IR lenght of all TAP controller in JTAG chain JTAG_CLOCK = 4000, 25000 ; JTAG Clock in [kHz] - 10kHz jtag clock for init operations and 16MHz for normal work TRST_TYPE = PUSHPULL ; type of TRST output: OPENDRAIN or PUSHPULL RESET_TIME = 10 ; lenght of RESET pulse in ms; 0 means no RESET TIME_AFTER_RESET = 200 CORE0 = PPC440 CORE0_INIT = INIT_PPC440 CORE0_STARTUP_MODE = RESET CORE0_BREAKMODE = HARD ; breakpoint mode: CORE0_ENDIAN = BIG ; core is little endian CORE0_FLASH0 = FLASH_NOR CORE0_WORKSPACE = 0xE0010000, 0x4000 ; length of workspace in bytes 1.5KB agent + 8KB data buffer (min. 2048(0x800) bytes) ; Default path to be used if only a file name (without the full path) is ; provided to a PEEDI command or for the FILE parameter in the Flash sections ; Examples: ; In a console: ; "flash prog tftp://192.168.3.1/image.elf" ; is equal to ; "flash prog image.elf" ; ; In a Flash Profile: ; FILE="tftp://192.168.3.1/image.bin", BIN, 0 ; is equal to ; FILE="image.bin", BIN, 0 ; CORE0_PATH = "tftp://192.168.3.1" ;CORE0_PATH = "card://" CORE0_FILE = "u-boot.bin", BIN, 0x0010000 ; default file for mem commands [INIT_PPC440] set CCR0 0x00300000 ; CCR0: disable store gathering for flash programming ; Setup TLB set mmucr 0x00050000 mem management tlbc 0 63 ; clear all TLB entries mem management tlbw 0 0xF0000290 0xF0000001 0x0000053F ; Boot Space 256MB mem management tlbw 0 0xE0010220 0xE0010000 0x0000053F ; On-chip SRAM - 16 KB ; Setup On-chip SRAM set dcr 0x380 0xE0010580 ; Setup base address as 0xE0010000, size 16 KB, read/write access set dcr 0x38A 0x00000000 ; Disable parity checking ; Setup Peripheral Bus set dcr 0x12 0x10 ; B0AP: NOR Flash set dcr 0x13 0x03017300 set dcr 0x12 0x00 ; B0CR: 64MB at 0xFC000000, r/w, 16bit set dcr 0x13 0xFC0DA000 [FLASH_NOR] CHIP = CFI_FLASH ; flash chip ACCESS_METHOD = AGENT ; program method auto BASE_ADDR = 0xFC000000 ; chip is mapped at 0xFFF80000 FILE = "u-boot.bin", BIN, 0xFFF80000 ; file to program 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 [TELNET] PROMPT = "ppc440> " ; telnet prompt ;BACKSPACE = 127 ; comment out for autodetect [DISPLAY] BRIGHTNESS = 20 ; LED indicator brightness VOLUME = 100 ; zummer volume [ACTIONS] ; user defined scripts 1 = erase 2 = prog [erase] ; erase flash flash erase [prog] ; program flash flash program