EasyManua.ls Logo

Abatron BDI2000 - BDI Configuration

Abatron BDI2000
51 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
bdiGDB for BDI2000 (PowerPC 7440/7450/86xx) User Manual 4
© Copyright 1997-2015 by ABATRON AG Switzerland V 1.13
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 Sandpoint 7450 evaluation system
;--------------------------------------------------------------
;
[INIT]
; init core register
;WREG MSR 0x00000000 ;clear MSR
; init memory controller (based on DINK32)
WM32 0xFEC00000 0x80000080 ;select MSAR1
WM32 0xFEE00000 0x00204060 ;
WM32 0xFEC00000 0x84000080 ;select MSAR2
WM32 0xFEE00000 0x80a0c0e0 ;
WM32 0xFEC00000 0x90000080 ;select MEAR1
WM32 0xFEE00000 0x1f3f5f7f ;
WM32 0xFEC00000 0x94000080 ;select MEAR2
WM32 0xFEE00000 0x9fbfdfff ;
WM32 0xFEC00000 0xa0000080 ;select MBEN
WM8 0xFEE00000 0x03 ;
WM32 0xFEC00000 0xa0000080 ;select MPM
WM8 0xFEE00003 0x32 ;
WM32 0xFEC00000 0xf0000080 ;select MCCR1
WM32 0xFEE00000 0x0000e075 ;do not set MEMGO
WM32 0xFEC00000 0xf4000080 ;select MCCR2
WM32 0xFEE00000 0xcc044004 ;
WM32 0xFEC00000 0xf8000080 ;select MCCR3
WM32 0xFEE00000 0x00004078 ;
WM32 0xFEC00000 0xfc000080 ;select MCCR4
WM32 0xFEE00000 0x39323235 ;
WM32 0xFEC00000 0xf0000080 ;select MCCR1
WM32 0xFEE00000 0x0000e875 ;now set MEMGO
;
WM32 0xFEC00000 0x78000080 ;select EUMBBAR
WM32 0xFEE00000 0x000000fc ;Embedded utility memory block at 0xFC000000
;
WM32 0xFEC00000 0xa8000080 ;select PICR1
WM32 0xFEE00000 0x901014ff ;enable flash write (Flash on processor bus)
;
[TARGET]
CPUTYPE 7450 ;the CPU type (7450)
JTAGCLOCK 1 ;use 8 MHz JTAG clock
WORKSPACE 0x00000000 ;workspace in target RAM for data cache flush and L3PM access
BDIMODE AGENT ;the BDI working mode (LOADONLY | AGENT | GATEWAY)
BREAKMODE SOFT ;SOFT or HARD, HARD uses PPC hardware breakpoint
DCACHE NOFLUSH ;data cache flushing (FLUSH | NOFLUSH)
[HOST]
IP 151.120.25.115
FILE E:\cygnus\root\usr\demo\mpc7450\vmlinux
FORMAT IMAGE
LOAD MANUAL ;load code MANUAL or AUTO after reset
Based on the information in the configuration file, the target is automatically initialized after every re-
set.

Other manuals for Abatron BDI2000