Download bdiGDB User Manual
Transcript
bdiGDB for BDI2000 (PowerPC MPC85xx) User Manual 4 1.2 BDI Configuration As an initial setup, the IP address of the BDI2000, the IP address of the host with the configuration file and the name of the configuration file is stored within the flash of the BDI2000. Every time the BDI2000 is powered on, it reads the configuration file via TFTP. Following an example of a typical configuration file: ;bdiGDB configuration file for MPC8560ADS ;---------------------------------------; [INIT] ; init core register ; ; ; load TLB entries, helper code @ 0xfffff000 WM32 0xfffff000 0x7c0007a4 ;tlbwe WM32 0xfffff004 0x7c0004ac ;msync WM32 0xfffff008 0x48000000 ;loop ; WSPR 624 0x10030000 ;MAS0: TLB1, Index 3 WSPR 625 0x80000800 ;MAS1: valid, 64 Mbyte WSPR 626 0x00000008 ;MAS2: 0x00000000, I WSPR 627 0x0000003f ;MAS3: 0x00000000, UX,SX,UW,SW,UR,SR EXEC 0xfffff000 ; ; ; [TARGET] CPUTYPE 8560 ;the CPU type JTAGCLOCK 1 ;use 8 MHz JTAG clock BREAKMODE SOFT ;SOFT or HARD, HARD uses PPC hardware breakpoint [HOST] IP FILE FORMAT LOAD 151.120.25.119 E:\cygwin\home\demo\e500\fibo.elf ELF MANUAL ;load code MANUAL or AUTO after reset [FLASH] CHIPTYPE CHIPTYPE CHIPSIZE BUSWIDTH WORKSPACE FILE FORMAT ERASE STRATAX16 AM29BX16 0x800000 ;The size of one flash chip in bytes 32 ;The width of the flash memory bus in bits (8 | 16 | 32) 0x40080000 ;workspace in dual port RAM E:\cygwin\home\bdidemo\e500\ads8560.cfg BIN 0xFF800000 0xFF800000 ;erase sector 0 [REGS] FILE E:\cygwin\home\bdidemo\e500\reg8560.def Based on the information in the configuration file, the target is automatically initialized after every reset. © Copyright 1997-2006 by ABATRON AG Switzerland V 1.05