EasyManua.ls Logo

Abatron BDI2000 - Page 35

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 35
© Copyright 1997-2015 by ABATRON AG Switzerland V 1.13
Example for a register definition (MPC107):
Entry in the configuration file:
[REGS]
DMM1 0xFC000000 ;Embedded utility memory base address
IMM1 0xFEC00000 0xFEE00000 ;configuration registers at byte offset 0
IMM2 0xFEC00000 0xFEE00001 ;configuration registers at byte offset 1
IMM3 0xFEC00000 0xFEE00002 ;configuration registers at byte offset 2
IMM4 0xFEC00000 0xFEE00003 ;configuration registers at byte offset 3
FILE E:\cygnus\root\usr\demo\sp7450\mpc107.def
The register definition file:
;name type addr size
;-------------------------------------------
;
gpr0 GPR 0
sp GPR 1
;
xer SPR 1
lr SPR 8
ctr SPR 9
sprg0 SPR 272
sprg1 SPR 273
sprg2 SPR 274
sprg3 SPR 275
....
;
;
; IMMx must be set to the configuration registers
;
vendor IMM1 0x00000080 16 SWAP
device IMM3 0x00000080 16 SWAP
;
lmbar IMM1 0x10000080 32 SWAP
;
pmcr1 IMM1 0x70000080 16 SWAP
pmcr2 IMM3 0x70000080 8
odcr IMM4 0x70000080 8
cdcr IMM1 0x74000080 16 SWAP
eumbbar IMM1 0x78000080 32 SWAP
msar1 IMM1 0x80000080 32 SWAP
....
Now the defined registers can be accessed by name via the Telnet interface:
BDI> rd lmbar
BDI>rm sprg0 0xFF801801

Other manuals for Abatron BDI2000