Xilinx ML403 specifications Setting Up the Chipscope Trigger

Page 20

Using ChipScope with OPB IIC

R

The waveform viewer is more readable when buses rather than discrete signals are displayed. The Reverse Bus Order operation below Add to Bus in the figure can be useful in analyzing ChipScope results.

X979_24_022307

Figure 24: Setting Up the Chipscope Trigger

11.Set the trigger in the Trigger Setup window. The trigger used depends on the problem being

debugged. Change the Windows to N samples to a setting of 100. Arm the trigger by selecting Trigger Setup Arm, or clicking on the Arm icon.

As shown in Figure 24, the trigger setup is to trigger when gen_start is High.

12.Run XMD and/or GDB to activate the trigger patterns which cause ChipScope to display meaningful output.

XAPP979 (v1.0) February 26, 2007

www.xilinx.com

20

Image 20
Contents Summary Included SystemsIntroduction IntroductionIIC Primer Data Transfer on the IIC Bus Reference System Specifics Reference System SpecificsML403 XC4VFX12 Address Map OPB IIC RegistersOPB IIC Registers Address OPB IIC Control Register Bits Name DescriptionStatus Register SR Status Register Bit Definitions Contd Configuring the OPB IIC Core Microchip 24LC04ML40x Schematic for IIC Connections 24LC04 Control Byte AllocationML40x Resistors Expansion Header TotalPhase Aardvark Adapter Fpga IIC PinsAardvark Control Center Executing the Reference System from EDK Software ProjectsProjects interfacing to Aardvark Adapter Project Running the ApplicationsRunning the Applications HyperTerminal Parameters Run Start → Programs → ChipScope Pro → ChipScope Inserter Using ChipScope with OPB IICInvoke XPS. Run Hardware → Generate Netlist Making Net Connections in ChipScope Inserter Start → Programs → ChipScope Pro → ChipScope Pro AnalyzerSetting Up the Chipscope Trigger Linux Kernel Linux KernelBSP Settings Connected Peripherals Simulation SimulationSignal Name Functionality OPB IIC SimulationComplete Simulation Arbitrartion Lost Test Simulation Arbitration Lost Test Code Simulation with iicAA as Master Test code with iicAA as Master X97934012907 Test Code for Simulation with iic20 as Master Revision HistoryReferences Revision