|
Frequently Asked Questions
|
|
|
|
|
|
|
|
|
|
A402 - The BDI mode LED keeps blinking or stays on, what does it mean?
When the BDI mode (Red) led is blinking once a second it means that you have no firmware loaded on your BDI2000. If it blinks at a faster rate of about 3 times a second, it means the init Jumper (see manual page 16) is in the init position and is set to clear the firmware logic in the BDI. A solid mode led indicates that the power supply is malfunctioning; it is not at the right power level.
|
|
|
|
|
|
|
|
|
C401 - How do I make a config File?
Generating a proper config file is the most difficult part of starting out with the BDI. The config file is used to initialize your board up to the point where SDRAM and FLASH are usable.
|
|
|
|
|
|
|
|
|
|
|
P101 - Flash Programming Failed
After programming the first 512 bytes into flash the BDI2000 gives an error and stops programming. Same thing happens when we run a verify. When we read back the flash it appears to be programmed correctly.
|
|
|
|
|
|
|
P401 - How do I make a config File?
Generating a proper config file is the most difficult part of starting out with the BDI2000. The config file is used to initialize your board up to the point where SDRAM and FLASH are usable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A403 - How do I make a config File?
Generating a proper config file is the most difficult part of starting out with the BDI2000. The config file is used to initialize your board up to the point where SDRAM and FLASH are usable. After this you can put an initial boot agent onto the board or replace the existing boot agent
|
|
|
|
|
|
|
|
|
|
|
|
|
P202 - Error: JTAG instruction stuff overrun
When in debug mode the PPC4xx fetches normal PPC instructions from the JTAG port. The error "# PPC: JTAG instruction stuff overrun" is raised when the processor stops fetching from the JTAG port, possibly because the processor hangs at an un-terminated memory transfer.
|
|
|
|
|
|
|
|
|
|
|
X301 - Having problems booting Linux with BDI attached on Xscale
Having problems booting Linux with BDI attached on Xscale. BDI telnet prompt shows it entered debug mode, doing "info" at the prompt reveals:
Core number : 0 Core state : debug mode (ARM) Debug entry cause : Vector Trap (PREFETCH ABORT)Current PC : 0xffff0840 Current CPSR : 0x600000d2 (IRQ)
|
|
|
|
|
|
|
|
|
A404 - Cannot open file on host
You will get this error when the BDI tries to access a file on the TFTP server and the file either does not exist or it cannot communicate with the TFTP server.
|
|
|
|
|
C403 - The BDI mode LED keeps blinking or stays on, what does it mean?
When the BDI mode (Red) led is blinking once a second it means that you have no firmware loaded on your BDI2000. If it blinks at a faster rate of about 3 times a second, it means the init Jumper (see manual page 16) is in the init position and is set to clear the firmware logic in the BDI. A solid mode led indicates that the power supply is malfunctioning; it is not at the right power level.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A304 - Why can't I hit breakpoints in my Kernel, Uboot or program?
Breakpoints are not immediately set when you put a "bi" command in the BDI or a "break" in GDB. They are set as soon as you hit "go" and are cleared as soon as you stop. This way they do not influence debugging. You will never see the breakpoints in the DBCR0 or DBCR1 registers. For debugging Linux kernels, set the initial breakpoint after Uboot has booted up and before the kernel is loaded. This way Uboot will not clear the kernel breakpoint during its startup.
|
|
|
|
|
C304 - GDB will not single step
When I connect GDB to the BDI everything seems fine but the PC does not seem to single step, I get an error from GDB. Everything else like registers, memory, breakpoints and continue seem to be working. Doing an “n” from gdb results in a memory access error.
|
|
|
C404 - Cannot open file on host
You will get this error when the BDI tries to access a file on the TFTP server and the file either does not exist or it cannot communicate with the TFTP server.
|
|
|
|
|
L404 - How do I make a config File?
Generating a proper config file is the most difficult part of starting out with the BDI2000. The config file is used to initialize your board up to the point where SDRAM and FLASH are usable.
|
|
|
|
|
|
|
|
|
|
|
|
|
X204 - BDI says "Communication with Debug Handler Failed"
Normally this error occurs during target startup. First of all make sure that the Debug Handler is located in the Mini IC. Be sure to add the line DBGHANDLER into the [TARGET] section of the config file and point it to the Mini IC. Pointing it to an invalid location will result is this error.
|
|
|
|
|
|
|
|
|
|
|
|
|
L405 - Cannot open file on host
You will get this error when the BDI tries to access a file on the TFTP server and the file either does not exist or it cannot communicate with the TFTP server.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
P206 - PPC Core timeout waiting for freeze
If you are using a PPC82xx processor and are getting this error during the BDI startup sequence then possibly TRST and HRESET are wired together in some manner causing some unknown behavior resulting in a timeout. Please check the JTAG circuitry and make sure TRST and HRESET are not tied together.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
P207 - JTAG Exits Check Failed, JTAG Bypass Check Failed
If you get a JTAG Exits check failed message after a JTAG Bypass check message then it means the JTAG Chain is disabled for some reason. The BDI tries to read the bypass register but can't. The message will appear in this sequence In the BDI Telnet prompt.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
P408 - Cannot open file on host
You will get this error when the BDI tries to access a file on the TFTP server and the file either does not exist or it cannot communicate with the TFTP server.
|
|
|
X307 - GDB will not single step
When I connect GDB to the BDI everything seems fine but the PC does not seem to single step, I get an error from GDB. Everything else like registers, memory, breakpoints and continue seem to be working. Doing an “n” from gdb results in a memory access error.
|
|
|
A309 - GDB will not single step
When I connect GDB to the BDI everything seems fine but the PC does not seem to single step, I get an error from GDB. Everything else like registers, memory, breakpoints and continue seem to be working. Doing an “n” from gdb results in a memory access error.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
P311 - GDB cannot communicate with target System
I am trying to use GDB to debug our PPC85xx system, my connection errors out when I try and connect GDB to the BDI. When I do connect to the BDI the PC is at an incorrect location and single stepping does not work?
|
|
|
|
|
X403 - How do I make a config File?
Generating a proper config file is the most difficult part of starting out with the BDI2000. The config file is used to initialize your board up to the point where SDRAM and FLASH are usable.
|
|
|
|
|
P212 - What is the reset sequence of a COP target?
Here is the sequence is simple terms of how the Reset Signals are toggled during bring up of the Board:
- The BDI asserts HRESET - BDI Toggles TRST and resets the TAP controller - PPC asserts HRESET and SRESET - The BDI releases HRESET - BDI waits until HRESET and SRESET are inactive - Then it waits for debug mode entry
|
|
|
|
|
|
|
X404 - Cannot open file on host
You will get this error when the BDI tries to access a file on the TFTP server and the file either does not exist or it cannot communicate with the TFTP server.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
P315 - GDB will not single step.
When I connect GDB to the BDI everything seems fine but the PC does not seem to single step, I get an error from GDB. Everything else like registers, memory, breakpoints and continue seem to be working. Doing an “n” from gdb results in a memory access error.
|
|
|
|
|
|
|
|