; bdiGDB configuration for Pepercon FA526 board ; --------------------------------------------- ; [INIT] ;WREG CPSR 0x000000d3 ;set superviser mode ;WGPR 15 0x00000000 ;set PC = 0 ;WCP15 0x0001 0x00000078 ;CP15 Control : disable caches ; WM32 0x90100010 0x00080000 ;AHB slave 4 Base/Size Register WM32 0x90100018 0x100b0000 ;AHB slave 6 Base/Size Register WM32 0x90200000 0x10000031 ;Memory Bank 0 Configuration Register WM32 0x90200004 0x000ff3ff ;Memory Bank 0 Timing Register WM32 0x90300000 0x00033623 ;SDRAM Timing Parameter 0 WM32 0x90300004 0x00480180 ;SDRAM Timing Parameter 1 WM32 0x90300008 0x00001125 ;SDRAM Configuration Register 1 WM32 0x9030000c 0x10 ;SDRAM: Pre-Charge WM32 0x9030000c 0x04 ;SDRAM: Set-Mode WM32 0x9030000c 0x08 ;SDRAM: Refresh WM32 0x90300010 0x00001100 ;External Bank0 Base/Size Register WM32 0x90300034 0x18 ;Flush Request Register WM32 0x90100088 0x00000001 ;Interrupt Control Register [TARGET] CPUTYPE FA526 ;CLOCK 1 ;BDI2000: JTAG clock 16MHz CLOCK 2 ;BDI3000: JTAG clock 16MHz RESET HARD 1000 ;assert reset for 1 second WAKEUP 200 ;give reset time to complete ;STARTUP STOP 2000 ;let U-boot setup the system ENDIAN LITTLE ;memory model (LITTLE | BIG) VECTOR CATCH 0x1f ;catch D_Abort, P_Abort, SWI, Undef and Reset ;BREAKMODE SOFT 0xDFFFDFFF ;SOFT or HARD, ARM / Thumb break code BREAKMODE HARD [HOST] IP 151.120.25.119 FILE E:\cygwin\home\bdidemo\arm\vxworks FORMAT COFF LOAD MANUAL ;load VxWorks code MANUAL or AUTO after reset PROMPT FA526> [FLASH] WORKSPACE 0x00200002 ;workspace in target RAM for fast programming algorithm CHIPTYPE AM29BX16 ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16) ;CHIPTYPE STRATAX16 ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16) ;CHIPTYPE I28BX16 ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16) CHIPSIZE 0x1000000 ;The size of one flash chip in bytes (e.g. AM29F040 = 0x80000) BUSWIDTH 16 ;The width of the flash memory bus in bits (8 | 16 | 32) FILE e:\temp\dump16k.bin FORMAT BIN 0x1000 [REGS] FILE $regFA526.def