Vector VEC256 Especificaciones Pagina 183

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 346
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 182
Embedded System Tools Guide (EDK 6.2i) www.xilinx.com 183
UG111 (v1.4) January 30, 2004 1-800-255-7778
PowerPC Targets
R
Note: The simulators provide a non-intrusive method of debugging a program. Debugging using the
hardware target is intrusive because it needs an xmdstub to be running on the board.
Note: If the program has any I/O functions like print() or putnum(), that write output onto the UART
or JTAG Uart, it will be printed on the console/terminal where the xmd server was started. (Refer to
the MicroBlaze Libraries documentation for libraries and I/O functions information).
Compiling for Debugging on MicroBlaze targets
In order to debug a program, you need to generate debugging information when you
compile it. This debugging information is stored in the object file; it describes the data type
of each variable or function and the correspondence between source line numbers and
addresses in the executable code. The mb-gcc compiler for Xilinx’s MicroBlaze soft
processor includes this information when the appropriate modifier is specified.
The -g option in mb-gcc allows you to perform debugging at the source level. mb-gcc
adds appropriate information to the executable file, which helps in debugging the code.
mb-gdb provides debugging at source, assembly and mixed (both source and assembly)
together.
While initially verifying the functional correctness of a C program, it is also
advisable to not use any mb-gcc optimization option like -O2 or -O3 as mb-gcc does
aggressive code motion optimizations which may make debugging difficult to follow.
For
debugging with xmd in hardware mode, the mb-gcc option -xl-mode-xmdstub must be
specified. Refer to the XMD documentation for more information about compiling for
specific targets.
PowerPC Targets
GUI mode
Hardware debugging for the PowerPC405 on Virtex-II Pro is supported by powerpc-eabi-
gdb and xmd through the GDB Remote TCP protocol. To connect to a hardware PowerPC
target, first start xmd and connect to the board using the ppcconnect command as
described in the XMD chapter. Next, select
Run o Connect to target from GDB and in the
GDB target selection dialog, choose:
x Target: Remote/TCP
x Hostname: localhost
x Port: 1234
Click OK and powerpc-eabi-gdb attempts to make a connection to XMD. If successful, a
message is printed in the shell window where XMD was started.
Console mode
To start powerpc-eabi-gdb in the console mode type :
xilinx > powerpc-eabi-gdb -nw executable.elf
In the console mode, type the following two commands to connect to the board through
xmd.
(gdb) target remote localhost:1234
(gdb) load
For the consolse mode, these two commands can also be placed in the GDB startup file
gdb.ini in the current working directory.
Vista de pagina 182
1 2 ... 178 179 180 181 182 183 184 185 186 187 188 ... 345 346

Comentarios a estos manuales

Sin comentarios

Sharp LL-T15G1 manuales

Manuales del propietario y guías del usuario para Reproductores de dvd Sharp LL-T15G1.
Ofrecemos manuales en pdf Sharp LL-T15G1 para descargar gratis por tipos de documentos:






Más productos y manuales para Reproductores de dvd Sharp

Modelos Tipo de documento
20DV20U Manual de usuario   Sharp 20DV20U User's Manual, 52 paginas
AQUOS BD-HP21U Manual de usuario   Sharp AQUOS BD-HP21U User's Manual, 51 paginas
SD-PX2 Instrucciones de operaciones   Sharp SD-PX2 Operating instructions, 68 paginas
DV-560H Manual de usuario   Video Accessories, 11 paginas
BD-HP25S Manual de usuario   BD-HP25S/HP35S Operation-Manual FR, 74 paginas
LC-19AD22U Guía de usuario     Sharp LC-19AD22U User`s guide, 170 paginas
DV-SL80X Manual de usuario   Section I, 40 paginas
DV-SL16H Especificaciones   Sharp DV-SL16H Specifications, 44 paginas
DV-HR350S Manual de usuario   DV-HR350S/300S Operation-Manual DE [en] , 106 paginas
DV-SV80S(G) Manual de usuario   Sharp Lineup for Europe Specifications, 8 paginas
DV-S1(RU) Instrucciones de operaciones   Sharp DV-S1(RU) Operating instructions, 63 paginas
HT-SB350(BK) Manual de usuario   HT-SB350(W)/(BK) Operation-Manual NL, 20 paginas
DV-SL1500W Especificaciones   Sharp DV-SL1500W Product specifications, 17 paginas
SD-AT50 Manual de usuario   SD/DX-AT50H Operation-Manual DE, 65 paginas
SD-HX600 Instrucciones de operaciones   Sharp SD-HX600 Operating instructions, 78 paginas
XLDV50 Manual de usuario   XL-DV50H Operation-Manual DE, 65 paginas
LC-24LE240EX Operation Especificaciones   Sharp LC-24LE240EX Operation Specifications, 52 paginas
BD-HP90S Manual de usuario   BD-HP90S Operation-Manual DE, 65 paginas
XL-E171DVH Manual de usuario   XL-E171DVH Operation-Manual FI, 38 paginas
DV-S1UC Manual de instalación   Sharp DV-S1UC Unit installation, 18 paginas