; bdiGDB configuration file for MPC8349E-QS board ; ----------------------------------------------- ; [INIT] ; LAW @ 0x40000000 WM32 0xff400028 0x40000000 WM32 0xff40002c 0x8000001d WM32 0xff4050d4 0x00008 ; close LAW @ 0x0 WM32 0xff400024 0 ; CS0 WM32 0xff405000 0x40001001 WM32 0xff405004 0xf8000fff ;WM32 0xff405004 0xf8000ff7 ;CS3 WM32 0xff405018 0x4e000801 ;WM32 0xff40501c 0xfe0010f0 WM32 0xff40501c 0xfe001ff7 ;WM32 0xff40501c 0xfffe10f0 ; CS1 WM32 0xff405008 0x4c000801 WM32 0xff40500c 0xfe0000f0 ; DDR SDRAM ;DDRLAW WM32 0xff4000A0 0x00000000 WM32 0xff4000A4 0x8000001c ; CS0 WM32 0xff402000 0x00000007 WM32 0xff402080 0x80000101 ; CFG 1 WM32 0xff402108 0x36443322 ; CFG 2 WM32 0xff40210c 0x00000800 ; DDR CFG WM32 0xff402110 0x42020000 ; DDR MODE WM32 0xff402118 0x20000162 ; DDR INTERVAL WM32 0xff402124 0x045b0100 DELAY 200 ; DDR CFG enable WM32 0xff402110 0xc2020000 DELAY 200 [TARGET] CPUTYPE 8349 ;the CPU type JTAGCLOCK 0 ;use 16 MHz JTAG clock POWERUP 2000 ;start delay after power-up detected in ms WAKEUP 500 ;give reset time to complete STARTUP RESET ;halt immediatelly at the boot vector ;RCW 0xa0608004 0x04040000 ;override reset configuration words ;BOOTADDR 0xfff00100 ;boot address used for start-up break ;BOOTADDR 0x00000100 ;boot address used for start-up break BREAKMODE HARD ;SOFT or HARD, HARD uses PPC hardware breakpoint STEPMODE TRACE ;TRACE or HWBP, HWBP uses a hardware breakpoint [HOST] IP 193.102.136.2 ;FILE E:\cygwin\home\demo\mpc860\fibo.elf ;FORMAT ELF ;FILE E:\temp\dump512k.bin FORMAT BIN 0x10000 LOAD MANUAL ;load code MANUAL or AUTO after reset PROMPT 8349> [FLASH] CHIPTYPE AM29F ;Flash type: Micron Q-Flash MT28F640J3 CHIPSIZE 0x1000000 ;The size of one flash chip in bytes BUSWIDTH 16 ;The width of the flash memory bus in bits (8 | 16 | 32 | 64) WORKSPACE 0x10000 ;workspace FILE root.8347 FORMAT BIN 0x44000000 ERASE 0x44000000 chip ;ERASE 0x44010000 ;ERASE 0x44020000 ;ERASE 0x44030000 ;ERASE 0x44040000 ;ERASE 0x44050000 ;ERASE 0x44060000 ;ERASE 0x44100000 ;erase sector 8 ;ERASE 0x44120000 ;erase sector 9 ;ERASE 0x44140000 ;erase sector 10 ;ERASE 0x44160000 ;erase sector 11 [REGS] ;FILE $reg8349e.def