Datasheets.org.uk - 100 Million Datasheets from 7500 Manufacturers.    


Datasheet Search Engine
  
 
Part # or Description: • 5V RS232 Driver • 2SC5066* • "Real Time Clock" • "USB connector" • "blue led" 5mm • 10 watt zener diode • 2N3055* motorola
 
Search Tip: Try entering the part number only. Include a wildcard (eg. lm317* or 1n4148*)

 

 

ML403


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet


PLB CONNECTOR - PLB CONNECTOR  
ML403* - ML403*  
ML403 - ML403  

XAPP981(v1.0) February 2007
Using BDI-2000 Interface Debug Linux Kernel ML403 Embedded Development Platform
Author: Meinelt, Lester Sanders
Summary
This application note describes debug Linux Kernel using BDI-2000 JTAG Debug Interface Debugger. example uses reference system On-Chip Peripheral Inter (OPB IIC) core using PowerPC405 Processor (PPC405) based embedded system ML403 Embedded Development Platform. configuration building Linux kernel BDI-2000 discussed. Software hardware setup procedures given. step step flow debugging Linux kernel provided.
Included Systems
This application note includes reference system: project name used xapp981.zip ml403_ppc_bdi.
Required Hardware/Tools
Users must have following tools, cables, peripherals, licenses available installed: Xilinx 8.2.02i 8.2.03i Xilinx Download Cable (Platform Cable Parallel Cable Monta Vista Linux v2.4 Development BDI-2000 Software BDI-2000 Hardware
Introduction
This application note uses system built ML403 development board. Figure block diagram system used this flow.
INTC UART 16550 PowerPC Processor BRAM
X981_01_013007
Figure Reference System Block Diagram system uses embedded PowerPC (PPC) microprocessor core.
2007 Xilinx, Inc. rights reserved. Xilinx trademarks, registered trademarks, patents, further disclaimers listed PowerPC trademark Inc. other trademarks registered trademarks property their respective owners. specifications subject change without notice. NOTICE DISCLAIMER: Xilinx providing this design, code, information is." providing design, code, information possible implementation this feature, application, standard, Xilinx makes representation that this implementation free from claims infringement. responsible obtaining rights require your implementation. Xilinx expressly disclaims warranty whatsoever with respect adequacy implementation, including limited warranties representations that this implementation free from claims infringement implied warranties merchantability fitness particular purpose.
XAPP981(v1.0) February 2007
www.xilinx.com
Configuring Building Kernel
Configuring Building Kernel
This section provides steps configure build Linux kernel which specific using BDI-2000. Figure shows menu which provided after running make xconfig command Linux machine. After configuring kernel general functions, select Kernel Hacking.
X981_02_013007
Figure make xconfig Menu
XAPP981(v1.0) February 2007
www.xilinx.com
Configuring Building Kernel
Select Kernel hacking Include BDI-2000 user context switcher shown Figure This sets pointers allow locate page tables. head4xx.S pgtable.c files contain page table information needed software breakpoints. Include BDI-2000 user context switcher option prevents kernel from modifying debug registers ppc4xx_setup.c.
X981_03_013007
Figure Kernel Hacking
XAPP981(v1.0) February 2007
www.xilinx.com
Software Setup Edit Makefile option CFLAGs shown Figure Note: makefile depends characters. replace them with spaces. make clean zImage.initrd. location system.map vmlinux linux kernel root directory. compressed kernel, zImage.initrd.elf, uncompressed kernel vmlinux
X981_04_013007
Figure Makefile Edits
Software Setup
Software available BDI-2000 from Abatron. installation this software documented JTAG debug interface Debugger User Manual (see References section). ml403_bdi.cfg file (included design files) used software setup.The ml403_bdi.cfg following settings. 149.199.109.4 FILE FORMAT STARTUP RESET WM32 0x000000f0 0x00000000 XLAT 149.199.109.4 address TFTP server. XLAT needed debug Linux after virtual addressing enabled. Because Linux bootloader registers initialization, INIT statements ml403_bdi.cfg must commented avoid possible conflict.
XAPP981(v1.0) February 2007
www.xilinx.com
Software Setup
Figure shows setup invoked running b20pp4gd.exe command prompt. When configuration mode, BDI-2000 flashes. Click both Connect Transmit. stops flashing after setup. Another setup method command: bdisetup -i149.199.109.220 -h149.199.109.4 -fml403_bdi.cfg After setup, disconnect serial cable from connect ML403 Teraterm.
Network Specific
X981_05_022107
Figure Setup
XAPP981(v1.0) February 2007
www.xilinx.com
Hardware Setup Invoke terminal emulation window TeraTerm HyperTerminal shown Figure Baud rate 9600.
X981_06_013007
Figure TeraTerm Settings
Hardware Setup
hardware setup involves connecting BDI-2000 ML403 Ethernet Depending flow, various phases process, hardware connections require changes. Figure shows hardware initial setup configuring firmware downloading bitstream into FPGA.
Cross-over Ethernet Serial JTAG
X981_07_013007
ML403
Figure Initial Setup After these functions have been completed, connect ML403 JTAG port Target port using16-pin ribbon connector. Figure shows connections ML403 after initial setup. JTAG connection between BDI-2000 ML403 consists ribbon cables.
Serial
BD12000
JTAG
ML403
Ethernet Jack
Ethernet
X981_08_013007
Figure Connections
XAPP981(v1.0) February 2007
www.xilinx.com
Using BDI-2000
Using BDI2000
BDI-2000: Using XPS, download bitstream ml403_ppc_bdi project into FPGA ML403 board. From command prompt, tftpsrv dH:\designs\ml403_ppc_bdi\bdi\. From command prompt, b20pp4gd invoke BDI-2000 setup software. Enter Address ml403_bdi.cfg Configuration file, click Connect, then click Transmit. command prompt, telnet using command telnet 149.199.109.220 Figure shows Telnet window with BDI> prompt displayed along with Help information commands.
X981_09_013007
Figure Telnet Help Window Using instructions, breakpoint start_kernel routine using instruction, which located just after turned Address translation errors will occur enabled before enabled. System.map provides location start_kernel. address start_kernel, grep start_kernel System.map. first part kernel code cannot debugged. target responds with Target must debug mode this action, type halt re-issue command 0xC015a46c <start_kernel> telnet session, enter load zImage.initrd.elf ELF. Note: absolute path zImage.init.elf.
XAPP981(v1.0) February 2007
www.xilinx.com
Using BDI-2000 Figure shows telnet session.
X981_10_013007
Figure Telnet Session instructions below:
instruction clears breakpoints. Figure shows Teraterm output which Linux boot process stops booting kernel.
X981_11_013007
Figure TeraTerm Output From computer with Monta Vista Linux software, enter: ppc_405-gdb vmlinux target remote 149.199.109.220:2001
XAPP981(v1.0) February 2007
www.xilinx.com
Conclusion 149.199.109.220:2001 address connected port 2001. Figure shows Telnet window session.
X981_12_013007
Figure Starting Session Figure shows Telnet window with debug session with gdb.
X981_13_013007
Figure Debugging with Some example instructions given below. These remove breakpoint then create breakpoints.
break MMU_init break sched_init
Conclusion
This application note describes BDI-2000 debug Linux kernel problems. This done Monta Vista Linux kernel running Xilinx ML403 Evaluation Platform.
XAPP981(v1.0) February 2007
www.xilinx.com
References
References
JTAG Debug Interface Debugger PowerPC User Manual v1.14 BDI-2000 Using BDI2000 Debug Linux Kernel Ultimate Solutions #02-001a, Michael Turney Hardware Assisted Debug with Embedded Linux Ultimate Solutions #02-002 Debugging Linux with BDI-2000 bdiGDB #04-002 Ultimate Solutions, Fahd Abidi DS434 Interface (v1.02a) XAPP765 Getting Started with MontaVista Linux Specification Version January 2000 Philips Semiconductors Building Embedded Linux Systems, O'Reilly
Revision History
This table below shows revision history this document.
Date 2/23/07 Version Initial Xilinx release. Revision
XAPP981(v1.0) February 2007
www.xilinx.com

Other recent searches


THS6092 - THS6092   THS6092 Datasheet
THS6093 - THS6093   THS6093 Datasheet
SPDS104A-04A - SPDS104A-04A   SPDS104A-04A Datasheet
RPI-124 - RPI-124   RPI-124 Datasheet
MN3718MFE - MN3718MFE   MN3718MFE Datasheet
MN3718MAE - MN3718MAE   MN3718MAE Datasheet
LU1S041F - LU1S041F   LU1S041F Datasheet
KM23C4000D - KM23C4000D   KM23C4000D Datasheet
KM23C4000DG - KM23C4000DG   KM23C4000DG Datasheet

 

Privacy Policy | Disclaimer
© 2013 Datasheets.org.uk