; bdiGDB configuration file for MPC8260-ADS board ; ----------------------------------------------- ; [INIT] ; init core register WREG MSR 0x00000000 ;clear MSR WM32 0x0F0101A8 0x04700000 ;IMMR : internal space @ 0x04700000 WM32 0x04710004 0xFFFFFFC3 ;SYPCR: disable watchdog WM32 0x04710C80 0x00000001 ;SCCR : normal operation ; init memory controller WM32 0x04710104 0xFF800836 ;OR0: Flash 8MB, CS early negate, 6 w.s., Timing relax WM32 0x04710100 0xFF801801 ;BR0: Flash @0xFF800000, 32bit, no parity WM32 0x0471010C 0xFFFF8010 ;OR1: BCSR 32KB, all types accesse, 1 w.s. WM32 0x04710108 0x04501801 ;BR1: BCSR @0x04500000, 32bit, no parity WM32 0x04500004 0x3D000000 ;BCSR1: enable RS232-1 ; init SDRAM Init (PPC bus) WM16 0x04710184 0x1900 ;MPTPR: Divide Bus clock by 26 WM8 0x0471019C 0x21 ;PSRT : Divide MPTPR output by 34 ;WM8 0x0471019C 0x14 ;PSRT : Divide MPTPR output by 21 WM32 0x04710114 0xFF000C80 ;OR2 : 16MB, 2 banks, row start at A9, 11 rows WM32 0x04710110 0x00000041 ;BR2 : SDRAM @0x00000000, 64bit, no parity WM32 0x04710190 0x296EB452 ;PSDMR: Precharge all banks WM8 0x00000000 0xFF ;Access SDRAM WM32 0x04710190 0x096EB452 ;PSDMR: CBR Refresh WM8 0x00000000 0xFF ;Access SDRAM WM8 0x00000000 0xFF ;Access SDRAM WM8 0x00000000 0xFF ;Access SDRAM WM8 0x00000000 0xFF ;Access SDRAM WM8 0x00000000 0xFF ;Access SDRAM WM8 0x00000000 0xFF ;Access SDRAM WM8 0x00000000 0xFF ;Access SDRAM WM8 0x00000000 0xFF ;Access SDRAM WM32 0x04710190 0x196EB452 ;PSDMR: Mode Set WM8 0x00000000 0xFF ;Access SDRAM WM32 0x04710190 0x416EB452 ;PSDMR: enable refresh, normal operation ; ; some read accesses RM8 0x00000207 RM16 0x00000206 RM32 0x00000204 RM64 0x00000200 ; ; test UPM write WM32 0x0471011C 0xFF000000 ;OR3 WM32 0x04710118 0x10000081 ;BR3 WM32 0x04710170 0x10000000 ;MAMR : setup for array write SUPM 0x10000000 0x04710188 ;set address of UPM range and MDR WUPM 0x00000000 0xaba00000 ;write UPM array WUPM 0x00000000 0xaba00001 WUPM 0x00000000 0xaba00002 WUPM 0x00000000 0xaba00003 WUPM 0x00000000 0xaba00004 WUPM 0x00000000 0xaba00005 WUPM 0x00000000 0xaba00006 WUPM 0x00000000 0xaba00007 WUPM 0x00000000 0xaba00008 WUPM 0x00000000 0xaba00009 WUPM 0x00000000 0xaba0000A WUPM 0x00000000 0xaba0000B WUPM 0x00000000 0xaba0000C WUPM 0x00000000 0xaba0000D WUPM 0x00000000 0xaba0000E WUPM 0x00000000 0xaba0000F WUPM 0x00000000 0xaba00010 WUPM 0x00000000 0xaba00011 WUPM 0x00000000 0xaba00012 WUPM 0x00000000 0xaba00013 WUPM 0x00000000 0xaba00014 WUPM 0x00000000 0xaba00015 WUPM 0x00000000 0xaba00016 WUPM 0x00000000 0xaba00017 WUPM 0x00000000 0xaba00018 WUPM 0x00000000 0xaba00019 WUPM 0x00000000 0xaba0001A WUPM 0x00000000 0xaba0001B WUPM 0x00000000 0xaba0001C WUPM 0x00000000 0xaba0001D WUPM 0x00000000 0xaba0001E WUPM 0x00000000 0xaba0001F WUPM 0x00000000 0xaba00020 WUPM 0x00000000 0xaba00021 WUPM 0x00000000 0xaba00022 WUPM 0x00000000 0xaba00023 WUPM 0x00000000 0xaba00024 WUPM 0x00000000 0xaba00025 WUPM 0x00000000 0xaba00026 WUPM 0x00000000 0xaba00027 WUPM 0x00000000 0xaba00028 WUPM 0x00000000 0xaba00029 WUPM 0x00000000 0xaba0002A WUPM 0x00000000 0xaba0002B WUPM 0x00000000 0xaba0002C WUPM 0x00000000 0xaba0002D WUPM 0x00000000 0xaba0002E WUPM 0x00000000 0xaba0002F WUPM 0x00000000 0xaba00030 WUPM 0x00000000 0xaba00031 WUPM 0x00000000 0xaba00032 WUPM 0x00000000 0xaba00033 WUPM 0x00000000 0xaba00034 WUPM 0x00000000 0xaba00035 WUPM 0x00000000 0xaba00036 WUPM 0x00000000 0xaba00037 WUPM 0x00000000 0xaba00038 WUPM 0x00000000 0xaba00039 WUPM 0x00000000 0xaba0003A WUPM 0x00000000 0xaba0003B WUPM 0x00000000 0xaba0003C WUPM 0x00000000 0xaba0003D WUPM 0x00000000 0xaba0003E WUPM 0x00000000 0xaba0003F WM32 0x04710170 0x00000000 ;MAMR : setup for normal mode [TARGET] CPUTYPE 8260 ;the CPU type (603EV,750,8240,8260) JTAGCLOCK 1 ;use 16 MHz JTAG clock BOOTADDR 0xfff00100 ;boot address used for start-up break ;BOOTADDR 0x00000100 ;boot address used for start-up break WORKSPACE 0x04700000 ;workspace in target RAM for fast download BDIMODE AGENT ;the BDI working mode (LOADONLY | AGENT | GATEWAY) BREAKMODE SOFT ;SOFT or HARD, HARD uses PPC hardware breakpoints ;STEPMODE HWBP ;TRACE or HWBP, HWPB uses a hardware breakpoint VECTOR CATCH ;catch unhandled exceptions DCACHE NOFLUSH ;data cache flushing (FLUSH | NOFLUSH) ;MMU XLAT ;translate effective to physical address POWERUP 5000 ;start delay after power-up detected in ms ;REGLIST SPR ;select register to transfer to GDB ;REGLIST ALL ;select register to transfer to GDB ;VIO 7 9600 ;TCP port for virtual IO, BCSR1: enable RS232-1 !!! ;SIO 7 9600 ;TCP port for serial IO, check BCSR1: enable RS232-1 !!! [HOST] IP 151.120.25.119 ;FILE $vxWorks FILE E:\Tornado\target\proj\ads8260_agt\default\vxWorks ;FILE E:\cygwin\home\bdidemo\mpc8260\vxworks ;FILE E:\cygwin\home\bdidemo\mpc8260\fibo.exe FORMAT ELF LOAD MANUAL ;load code MANUAL or AUTO after reset DEBUGPORT 2001 PROMPT MPC8260> ;new prompt for Telnet DUMP E:\temp\dump.bin ;DUMP dump.bin ;Linux: dump.bin must already exist and public writable [FLASH] CHIPTYPE MIRRORX8 BUSWIDTH 8 REVERSE FILE $vads8260.cfg FORMAT BIN 0x00010000 ;CHIPTYPE I28BX8 ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16) CHIPSIZE 0x200000 ;The size of one flash chip in bytes (e.g. AM29F010 = 0x20000) ;BUSWIDTH 32 ;The width of the flash memory bus in bits (8 | 16 | 32 | 64) ;WORKSPACE 0x04700000 ;workspace in dual port RAM ;WORKSPACE 0x00000000 ;workspace in SDRAM ;FILE E:\cygwin\home\bdidemo\mpc8260\vxWorks ;FORMAT BIN 0xFF900000 ; ;ERASE 0xFF800000 ;erase sector 0 of flash SIMM (LH28F016SCT) ;ERASE 0xFF840000 ;erase sector 1 of flash SIMM ;ERASE 0xFF880000 ;erase sector 2 of flash SIMM ;ERASE 0xFF8C0000 ;erase sector 3 of flash SIMM ERASE 0xFF900000 ;erase sector 4 of flash SIMM ERASE 0xFF940000 ;erase sector 5 of flash SIMM ERASE 0xFF980000 ;erase sector 6 of flash SIMM ERASE 0xFF9C0000 ;erase sector 7 of flash SIMM ;ERASE 0xFFA00000 ;erase sector 8 of flash SIMM ;ERASE 0xFFA40000 ;erase sector 9 of flash SIMM ;ERASE 0xFFA80000 ;erase sector 10 of flash SIMM ;ERASE 0xFFAC0000 ;erase sector 11 of flash SIMM ;ERASE 0xFFB00000 ;erase sector 12 of flash SIMM ;ERASE 0xFFB40000 ;erase sector 13 of flash SIMM ;ERASE 0xFFB80000 ;erase sector 14 of flash SIMM ;ERASE 0xFFBC0000 ;erase sector 15 of flash SIMM ;ERASE 0xFFC00000 ;erase sector 16 of flash SIMM ;ERASE 0xFFC40000 ;erase sector 17 of flash SIMM ;ERASE 0xFFC80000 ;erase sector 18 of flash SIMM ;ERASE 0xFFCC0000 ;erase sector 19 of flash SIMM ;ERASE 0xFFD00000 ;erase sector 20 of flash SIMM ;ERASE 0xFFD40000 ;erase sector 21 of flash SIMM ;ERASE 0xFFD80000 ;erase sector 22 of flash SIMM ;ERASE 0xFFDC0000 ;erase sector 23 of flash SIMM ;ERASE 0xFFE00000 ;erase sector 24 of flash SIMM ;ERASE 0xFFE40000 ;erase sector 25 of flash SIMM ;ERASE 0xFFE80000 ;erase sector 26 of flash SIMM ;ERASE 0xFFEC0000 ;erase sector 27 of flash SIMM ;ERASE 0xFFF00000 ;erase sector 28 of flash SIMM ;ERASE 0xFFF40000 ;erase sector 29 of flash SIMM ;ERASE 0xFFF80000 ;erase sector 30 of flash SIMM ;ERASE 0xFFFC0000 ;erase sector 31 of flash SIMM [REGS] DMM1 0x04700000 FILE E:\cygwin\home\bdidemo\mpc8260\reg8260.def ;FILE $reg8260.def