;bdiGDB configuration file for Sandpoint 7455 evaluation system ;-------------------------------------------------------------- ; [INIT] ; init core register WREG MSR 0x00000000 ;clear MSR WSPR 1008 0x84000000 ;HID0: disable cache, set TBEN bit WSPR 1017 0x00000000 ;L2CR: disable L2 cache [TARGET] CPUTYPE 7455 ;the CPU type (7450) JTAGCLOCK 0 ;use 16 MHz JTAG clock STARTUP STOP 5000 ;STOP mode is used to let the monitor init the system BREAKMODE SOFT ;SOFT or HARD, HARD uses PPC hardware breakpoint STEPMODE TRACE ;TRACE or HWBP, HWPB uses a hardware breakpoint [HOST] IP 151.120.25.119 ;FILE E:\cygwin\home\bdidemo\sp7450\fibo.elf ;FILE E:\Tornado\target\proj\sp7400_agt\default\vxWorks ;FORMAT ELF FILE E:\cygwin\home\bdidemo\sp7450\zImage.sandpoint FORMAT BIN 0x200000 START 0x210000 LOAD MANUAL ;load code MANUAL or AUTO after reset DEBUGPORT 2001 [FLASH] ; To program Am29LV800BB on local processor bus (RCS0) ; set PPMC7455 switch SW2-1 ON => Boot from PCI bus ; set PPMC7455 switch SW2-5 ON => Swap local flash to program ; set PPMC7455 switch SW2-6 OFF => Standard flash selected ; use DINK in PCI ROM to setup the system ; the local flash is mapped to 0xFF000000 CHIPTYPE AM29BX8 ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16) CHIPSIZE 0x100000 ;The size of one flash chip in bytes (e.g. Am29LV800BB = 0x100000) BUSWIDTH 8 ;The width of the flash memory bus in bits (8 | 16 | 32 | 64) WORKSPACE 0x00002000 ;workspace in SDRAM ;FILE D:\abatron\bdi360\cop\pro\dink_12_3.sss ;The file to program ;FORMAT SREC 0xFF100000 ;FILE E:\cygwin\home\bdidemo\sp7450\dink_l2off100802.src FILE E:\cygwin\home\bdidemo\sp7450\dink100802.src FORMAT SREC 0xFF000000 ERASE 0xFF000000 ;erase sector 0 of flash ERASE 0xFF004000 ;erase sector 1 of flash ERASE 0xFF006000 ;erase sector 2 of flash ERASE 0xFF008000 ;erase sector 3 of flash ERASE 0xFF010000 ;erase sector 4 of flash ERASE 0xFF020000 ;erase sector 5 of flash ERASE 0xFF030000 ;erase sector 6 of flash ERASE 0xFF040000 ;erase sector 7 of flash ERASE 0xFF050000 ;erase sector 8 of flash ERASE 0xFF060000 ;erase sector 9 of flash ERASE 0xFF070000 ;erase sector 10 of flash [REGS] DMM1 0xFC000000 ;Embedded utility memory base address IMM1 0xFEC00000 0xFEE00000 ;configuration registers at byte offset 0 IMM2 0xFEC00000 0xFEE00001 ;configuration registers at byte offset 1 IMM3 0xFEC00000 0xFEE00002 ;configuration registers at byte offset 2 IMM4 0xFEC00000 0xFEE00003 ;configuration registers at byte offset 3 FILE E:\cygwin\home\bdidemo\sp7450\sp7455.def