bdi
GDB
for BDI3000 (QorIQ P3/P4/P5)
User Manual
4
© Copyright 1997-2012 by ABATRON AG Switzerland
V 1.03
1.2 BDI Configuration
As an initial setup, the IP address of the BDI3000, the IP address of the host with the configuration
file and the name of the configuration file is stored within the flash of the BDI3000.
Every time the BDI3000 is powered on, it reads the configuration file via TFTP.
Following an example of a typical configuration file:
;bdiGDB configuration file for P4080-DS
;--------------------------------------
;
[INIT]
; Initialize LAWBAR's
WM32 0xfe000c00 0x00000000 ;LAWBAR0 : Flash @0_e0000000
WM32 0xfe000c04 0xe0000000
WM32 0xfe000c08 0x81f0001b ;LAWAR0 : eLBC 256MB
.......
; Release cores for booting
WM32 0xfe0E00E4 0x00000003 ;BRR: release core 0 and 1
;
;
[TARGET]
; common parameters
POWERUP 5000 ;start delay after power-up detected in ms
JTAGCLOCK 1 ;use 16 MHz JTAG clock
WAKEUP 1000 ;give reset time to complete
;
; CoreID#0 parameters (active vCPU after reset)
#0 CPUTYPE P4080 0 0 ;Core0 / SOC0
#0 STARTUP HALT ;halt at the reset vector (this halts all cores !!!)
;
; CoreID#1 parameters
#1 CPUTYPE P4080 1 0 ;Core1 / SOC0
#1 STARTUP HALT ;halt at the reset vector
;
[HOST]
IP 151.120.25.112
FILE E:\temp\dump1024k.bin
FORMAT BIN 0x10000
;
#0 PROMPT P4080#0>
#1 PROMPT P4080#1>
;
[FLASH]
; only to test execution of target code
WORKSPACE 0x80001000 ;workspace in CPC1/SRAM
CHIPTYPE AM29BX16 ;Flash type
CHIPSIZE 0x00200000 ;The size of one flash chip in bytes
BUSWIDTH 16 ;The width of the flash memory bus in bits
FILE E:\temp\dump16k.bin
FORMAT BIN 0x00300000
[REGS]
FILE $regP4080.def
Based on the information in the configuration file, the target is automatically initialized after every re-
set.