; bdiGDB configuration file for IQ80331 board ; ------------------------------------------- ; The DDR setup was read back after RedBoot has setup the board. ; The used DDR parameters may not mach your configuration. ; Let RedBoot setup your board, for example with "reset run". ; Then read back the relevant SDRAM registers. ; ; [INIT] WCP15 0x2001 0x00000001 ;Disable Write Buffer Coalescing WCP15 0x010F 0x000020C1 ;Enable CP0, CP6, CP7 and CP13 access [TARGET] CPUTYPE IOP331 ;the target CPU type SCANPRED 0 0 ;there is no TAP before the XScale core SCANSUCC 1 7 ;there is a second TAP (TLU) JTAGCLOCK 1 ;use 16 MHz JTAG clock DBGHANDLER 0xFFFF0800 ;debug handler base address ENDIAN LITTLE ;memory model (LITTLE | BIG) BREAKMODE HARD ;SOFT or HARD ;VECTOR CATCH 0xDE ;trap all vectors VTABLO 0xe59ff018 ;Use fixed vetors "ldr pc, [pc, #18]" VTABHI 0xffffffff ;Do not update relocated vector table [HOST] IP 151.120.25.119 FILE E:\cygwin\home\bdidemo\xscale\iop331\redboot.bin FORMAT BIN 0x00010000 LOAD MANUAL ;load code code MANUAL or AUTO after reset [FLASH] WORKSPACE 0x00001000 ;workspace in SDRAM for fast programming algorithm CHIPTYPE STRATAX8 ;Flash type CHIPSIZE 0x800000 ;The size of one flash chip in bytes BUSWIDTH 8 ;The width of the flash memory bus in bits (8 | 16 | 32) FILE E:\cygwin\home\bdidemo\xscale\iop331\redboot.bin FORMAT BIN 0xC0080000 ERASE 0xC0080000 ;erase sector 4 ERASE 0xC00A0000 ;erase sector 5 ERASE 0xC00C0000 ;erase sector 6 ERASE 0xC00E0000 ;erase sector 7 ERASE 0xC0100000 ;erase sector 8 ERASE 0xC0120000 ;erase sector 9 ERASE 0xC0140000 ;erase sector 10 ERASE 0xC0160000 ;erase sector 11 ERASE 0xC0180000 ;erase sector 12 ERASE 0xC01A0000 ;erase sector 13 ERASE 0xC01C0000 ;erase sector 14 ERASE 0xC01E0000 ;erase sector 15 [REGS] FILE $reg80331.def