; bdiGDB configuration for Marvell Feroceon ARM926 (88W8618) ; ---------------------------------------------------------- ; ; [INIT] ; ;WREG CPSR 0x000000d3 ;set superviser mode ;WGPR 15 0x00000000 ;set PC = 0 ;WGPR 11 0x00000020 ;set frame pointer to free RAM ;WM32 0x00000020 0x00000028 ;dummy stack frame ; ;MMAP 0x00000000 0x01FFFFFF ;enable access to SDRAM ; [TARGET] CPUTYPE FERO926 ;CLOCK 0 4 ;JTAG clock : start with 1 MHz then use adaptive CLOCK 1 ;JTAG clock : without adaptive clocking cable TRST PUSHPULL ;TRST driver type (OPENDRAIN | PUSHPULL) RESET HARD 500 ;NONE | HARD (ms) ;STARTUP STOP 5000 ;let the monitor setup the memory controller. STARTUP RESET ENDIAN LITTLE ;memory model (LITTLE | BIG) BREAKMODE SOFT ;Use ARM9E BKPT instruction STEPMODE HWBP ;FEROCEON supports only HWBP single step WAKEUP 500 ;SCANINIT r1:w100000:r0:w1000 ;toggle RESET ;SCANPOST r1:w100000:r0:w1000 ;toggle RESET [HOST] IP 151.120.25.119 FILE E:\temp\dump512k.bin FORMAT BIN 0x00010000 LOAD MANUAL ;load code MANUAL or AUTO after reset PROMPT 88W8618> [FLASH] WORKSPACE 0x00001002 ;workspace at 0x1000, don't use DCC CHIPTYPE AT49X16 ;flash type is SST 39VF6401B CHIPSIZE 0x800000 ;8M (4M x 16) BUSWIDTH 16 FILE E:/temp/dump128k.bin FORMAT BIN 0xffbd0000 ERASE 0xffbd0000 ERASE 0xffbe0000 [REGS] FILE $reg926e.def