; bdiGDB configuration file for PM826 Board ; -------------------------------------------- ; [INIT] ; init core register WREG MSR 0x00002000 ;clear MSR, but enable FPU for fast flash routines WM32 0x000101A8 0xF0000000 ;IMMR : internal space @ 0xF0000000 WM32 0xF0010004 0xFFFFFFC3 ;SYPCR: disable watchdog WM32 0xF0010C80 0x00000001 ;SCCR : normal operation ;WM32 0xF0010024 0x100C0000 ;BCR init WM32 0xF0010000 0x08200000 ;SIUMCR init WM32 0xF0010C94 0x00000000 ; init memory controller ; BTMD jumper for 64 bit flash: |= WM32 0xF0010104 0xFF800836 ;OR0 - map 8 MB WM32 0xF0010100 0xFF800001 ;BR0 - map at end of memory [TARGET] CPUTYPE 8260 ;the CPU type (603EV,750,8240,8260) JTAGCLOCK 0 ;use 16 MHz JTAG clock ;BOOTADDR 0x100 ;boot address used for start-up break BOOTADDR 0xFFF00100 WORKSPACE 0xFfffffff ;workspace in target RAM for fast download BDIMODE AGENT ;the BDI working mode (LOADONLY | AGENT | GATEWAY) BREAKMODE HARD ;SOFT or HARD, HARD uses PPC hardware breakpoints VECTOR NOCATCH ;catch unhandled exceptions DCACHE NOFLUSH ;data cache flushing (FLUSH | NOFLUSH) MMU XLAT ;translate effective to physical address POWERUP 2500 ;start delay after power-up detected in ms ;REGLIST SPR ;select register to transfer to GDB ;REGLIST ALL ;select register to transfer to GDB [HOST] IP 192.168.3.1 FILE /tftpboot/PM826/ppcboot.bin FORMAT BIN LOAD MANUAL ;load code MANUAL or AUTO after reset DEBUGPORT 2001 PROMPT PM826> ;new prompt for Telnet [FLASH] ;------------------------------------------- CHIPTYPE I28BX16 CHIPSIZE 0x200000 BUSWIDTH 64 ;------------------------------------------- ;CHIPTYPE AM29BX8 ;CHIPSIZE 0x80000 ;BUSWIDTH 8 ;------------------------------------------- WORKSPACE 0xF0000000 ;workspace in dual port RAM FILE ppcboot.bin FORMAT BIN [REGS] DMM1 0xF0000000 FILE reg8260.def