FAQs for BDM-PPC440 |
|
|||
|
||||
| ||||
![]() |
||
No Source Code shown on Xilinx Targets (MICROBLAZE) |
||
![]() |
Virtex: after loading an ELF file (PPC or Microblaze) to the target, no source code is displayed. Why? | |
|
The Xilinx compilers from the EDK operate inside a Cygwin environment and therefore create debug information with non-standard path names. Use the option /cygdrive when loading these ELF files: data.load.elf eventgen_ppc/executable.elf /CYGDRIVE |
||
![]() |
||
Connection to Target Fails (PPC440) |
||
![]() |
Why does the connection to the target fails? | |
|
When connecting to XILINX targets be sure to use a recent version of the debug cable (see picture). With the old version of the debug cable target connection will fail or be unreliable.
Debug Cable Versions (282K)
|
||
![]() |
||
No Source Code shown on Xilinx Targets (PPC440) |
||
![]() |
Virtex: after loading an ELF file (PPC or Microblaze) to the target, no source code is displayed. Why? | |
|
The Xilinx compilers from the EDK operate inside a Cygwin environment and therefore create debug information with non-standard path names. Use the option /cygdrive when loading these ELF files: data.load.elf eventgen_ppc/executable.elf /CYGDRIVE |
||
![]() |
||
Enable/configure mixed TRACE Interface (PPC440GX) |
||
![]() |
How to enable/configure muxed trace interface for TRACE | |
|
1. Enable Trace Broadcast:
|
||
![]() |
||
Software Breakpoints Problem (PPC4XX) |
||
![]() |
Error message: software breakpoints not possible with current system setting | |
|
One reason for this error message is that the option sys.o.icflush is OFF. Without being able to flush the ICache the debugger cannot write software breakpoints. Use the following command to allow the debugger to flush the ICache after writing a SW breakpoint: sys.o.icflush ON |
||
![]() |
||
Stepping over TLBWE instruction (PPC4xx) |
||
![]() |
Stepping over TLBWE instruction result in another program flow as in run mode. | |
|
There is a difference between stepping and running over a tlbwe instruction sequence. In run mode, the CPU performs the code as usual, the execution of a tlbwe instruction changes the UTLB contents but does not cause a context synchronization and thus does not invalidate or otherwise update the shadow TLB entries. Any modification in the UTLB will not be active until the next context synchronizing (ISYNC, RFI, RFCI, SC, interrupts) takes place. In usual, the application prepare the hole new MMU map, and switch to the new MMU table with a context synchronising instruction at the end of the TLB instruction sequence. If debug mode, CPU is stopped and the debugger have access to register and memory, each single step forces implicit an ISYNC command. This is a special behaviour of the debug mode and mean, with each step a context synchronizing will be forced. Therefore its not possible to step over the standard MMU initialisation sequence. A recommendation is to set at breakpoint (BP) at the end or after of the TLB init loop. May be at the ISYNC instruction, and run over the TLB setup routine to the BP. |
||
![]() |
||
ISOCM Access in Xilinx VirtexFX Chips (VIRTEX-PPC440) |
||
![]() |
How can I enable access to ISOCM memory in Xilinx VirtexFX chips? | |
|
For accessing the ISOCM memory (instruction side OCM) attached to the PPC405 in Xilinx VirtexFX chips, a special access mechanism via DCR is required. This mechanism is only available from Virtex4 onwards. It is not supported in Virtex2Pro. For enabling the ISOCM access in Trace32 use the option sys.o.isocm BASEADDR where BASEADDR is the beginning of the ISOCM memory. The default value is 0xFFFF.FFFF (disabled). The feature requires Trace32 SW from 2006-10-20 or later. |
||
![]() |
||
Debugging and Tracing Embedded PPC Cores in Xilinx FPGAs (Virtex-PPC4XX) |
||
![]() |
How should I connect TRACE32-ICD JTAG connector to a Xilinx target? What are the correct IRPRE/IRPOST and DRPRE/DRPOST settings? | |
|
This document describes for Xilinx Virtex chips how to:
Application Note (250K)
|
||

|
Copyright © 2012 Lauterbach GmbH, Altlaufstr.40, D-85635 Höhenkirchen-Siegertsbrunn, Germany Impressum The information presented is intended to give overview information only. Changes and technical enhancements or modifications can be made without notice. Last generated/modified: 1-Feb-2012 |