Intelligent real-time controllers for compact fieldpoint (42 pages)
Summary of Contents for artisan Achronix Bitporter
Page 1
Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...
Page 2
Bitporter User Guide UG004 v1.1 – March 20, 2009 www.achronix.com...
Preface About this Guide This guide provides details about device programming within the Achronix CAD Environment (ACE), starting with an existing bitstream through to downloading and device configuration. This guide consists of the following chapters: Chapter 1 – “Configuration Overview” provides an overview of configuring Achronix FPGAs.
Page 7
Conventions Used in this Guide www.achronix.com PAGE v Bitporter User Guide...
Advanced Encryption Standard (AES) algorithm in Cipher Block Chaining (CBC) mode. The device contains a small non-volatile memory for the storage of the required AES key. This guide covers configuration via the JTAG port using the Achronix Bitporter pod. Mode and Status Pins...
JTAG Configuration using the Bitporter Pod Configuration Overview JTAG Configuration using the Bitporter Pod The Bitporter pod (Figure 1-2) connects between a host PC via either a 10/100 Ethernet or USB 2.0 connection and an EJTAG-compliant connector on the target system. When connected, the Bitporter pod supports device configuration and debug, along with flash memory programming.
Configuration Overview Minimum Hardware Requirements • For acx_stapl_player with Ethernet-connected Bitporter pods: ♦ Red Hat Enterprise Linux Release 5, 32-bit ♦ Red Hat Enterprise Linux WS Release 4, 32-bit ♦ CentOS 5, 32-bit ♦ Microsoft Windows XP Professional SP2 32-bit (other versions may work, but are untested) Note: Other 32-bit versions of Linux may work, but are unsupported.
Page 11
Board-Level Device Connections Configuration Overview Side View PCB Top View PCB 5.84 mm 2.54 mm 0.64 mm 2.54 mm Note: Pin 12 removed to allow for key. ug004_c01_04_v01 Figure 1-4: JTAG Header Mechanical Specifications www.achronix.com PAGE 4 Bitporter User Guide...
Chapter 2 – Software and Driver Install Introduction Prior to device configuration, both the STAPL player (acx_stapl_player) and, if required, the USB drivers for the Bitporter pod must be installed on the host system. Currently, the USB drivers and STAPL player are installed concurrently with the Achronix CAD Environment (ACE) software;...
Page 13
Standalone STAPL Player and USB Driver Install Software and Driver Install From the wizard, click Next > to open the License Acceptance dialog box. Click I Agree to continue. UG004_c02_02_v01 Figure 2-2: Achronix CAD Environment Setup Wizard From the License Agreement dialog box (Figure 2-3), click I Agree after reviewing the license.
Page 14
Software and Driver Install Standalone STAPL Player and USB Driver Install From the Choose Components dialog box (Figure 2-4), select the desired components to install. Click Next > to continue. UG004_c02_04_v01 Figure 2-4: Choose Components Dialog Box From the Choose Install Location dialog box (Figure 2-5), set the desired installed directory by either typing the path under Destination Folder or using the Browse...
Standalone STAPL Player and USB Driver Install Software and Driver Install From the Choose Start Menu Folder dialog box, select the desired folder and click Install to start file extraction and begins installation. Once the install completes, click Close from the final dialog box (Figure 2-6).
Chapter 3 – Connecting the Bitporter Pod Introduction Choosing a Connection Type — USB versus Ethernet Ethernet • Ethernet-connected Bitporter pods are visible from multiple PCs at once: ♦ However, users can overwrite each other's programs. The Achronix acx_stapl_player/Bitporter programming system does prevent multiple users from programming the device simultaneously but does not ensure that the con- nected hardware is not already mid-test.
Page 17
Connecting the Bitporter Pod Connecting the Bitporter Pod Note: When the power cable is plugged into the Bitporter, the Bitporter ignores the USB interface and only utilizes the Ethernet interface. • Be sure to have the USB appropriate drivers installed. See Chapter 2 –...
Page 18
Connecting the Bitporter Pod Connecting the Bitporter Pod At the next window of the wizard (Figure 3-2), select Install the software automati- cally (Recommended), followed by Next >. ug004_c03_02_v01 Figure 3-2: Found New Hardware Wizard After the wizard has found the Bitporter firmware loader, at the Windows Logo test- ing warning window, click Continue Anyway.
Page 19
The wizard appears twice during the install: once for the Achronix Bitporter Firm- ware Loader and then again for the Achronix Bitporter Pod drivers. The first driver downloads firmware to the Bitporter pod; the second driver connects to the pod for JTAG operations.
Connecting the Bitporter Pod Connecting the Bitporter Pod Connect the USB cable to the Bitporter. Note: During the pod initialization, the Bitporter pod’s power LED turns on and the COMM LED may flash. Once pod initialization completes successfully, the power LED remains lit, and the COMM LED turns off.
Disconnecting the Bitporter Pod Connecting the Bitporter Pod Disconnecting the Bitporter Pod To end a programming session and disconnect the Bitporter pod from the target hardware: Wait until acx_stapl_player.exe finishes running. Turn off the power to the target hardware. Disconnect the USB cable for USB-connected pods, or the power cable for Ethernet- connected pods.
"No available Achronix Bitporter products with matching serial num- ber found on USB port." In enumerating the devices attached to the USB port, at least one Achronix Bitporter pod was found but the pod with the specified serial number was not found or was already in use.
The program attempted to connect to a pod at the supplied address, but the device at the that location does not appear to be a Achronix Bitporter pod. Verify the IP address of the desired pod and that the correct address was specified.
Connecting the Bitporter Pod Handling Multiple Pods Connected to the Same PC ****************************************** * Attempting to find all reachable pods: * ****************************************** Attempting to auto-detect Bitporter pods (USB pods and Ethernet pods on this subnet)..found 3 pods. |==========|=================| | (Ethernet only) | Name | Owner's IP addr | |==========|=================|...
Page 25
Handling Multiple Pods Connected to the Same PC Connecting the Bitporter Pod www.achronix.com PAGE 18 Bitporter User Guide...
Chapter 4 – Using the Achronix STAPL Player Introduction The Achronix STAPL Player (axc_stapl_player.exe) takes the bitstream output of the Achronix CAD Environment (ACE) in STAPL format, and then runs (or plays) the STAPL program. The program causes the Bitporter pod to pass these commands to the JTAG port of an Achronix FPGA.
Bitporter Pod Naming Conventions Using the Achronix STAPL Player Table 4-1: acx_stapl_player.exe Command Options (Continued) Option Description Sends program output to a log file as well as the console. -l<filename> Specifies a pod by name, which the tool should use to load the STAPL -p<podname>...
Using the Achronix STAPL Player Picking a STAPL Action (-a option) Table 4-2 lists the standard STAPL actions which can be found in STAPL files generated by ACE. Table 4-2: STAPL Actions Generated by ACE Action Name Description Returns the IEEE 1149.1 IDCODE of the target device. read_idcode Programs the device.
Picking a STAPL Action (-a option) Using the Achronix STAPL Player Disabling a Recommended Procedure The -d<proc=0> command-line option can be used to disable a recommended procedure. Multiple recommended procedures can be disabled within a single action, but each require its own command-line option to disable.
Using the Achronix STAPL Player Picking a STAPL Action (-a option) Table 4-6: Procedures Called During program (Continued) Procedure Name Optional Recommended DO_ENTER_USER_MODE DO_READ_STATE DO_EXIT_JTAG The Action verify The verify action verifies that the design contained in the STAPL file is the same design found in the target device, with results reported to the command-line.
Page 31
Picking a STAPL Action (-a option) Using the Achronix STAPL Player Block[0] WORD[3] WORD[2] WORD[1] WORD[0] Block[1] WORD[7] WORD[6] WORD[5] WORD[4] Block[2] WORD[11] WORD[10] WORD[9] WORD[8] • • • Block[7] WORD[31] WORD[30] WORD[29] WORD[28] ug004_c04_01_v01 Figure 4-1: Core Configuration Memory Output Successful Output Example The example below shows truncated results for a single core configuration memory address read (actual results would contain on the order of 36,735 addresses).
Using the Achronix STAPL Player Picking a STAPL Action (-a option) Failed Output Example If there are any regions of memory encountered in the read which fail their read request, the program reports the read address, which 32-bit word from that address had the failure, and then exits immediately.
Page 33
Picking a STAPL Action (-a option) Using the Achronix STAPL Player Default Fail Example Command entered: acx_stapl_player primitivedff.jam -aREAD_STATE The command returns: Achronix STAPL Player (acx_stapl_player) -- Version 2.1 (c) Copyright 2007, 2008 Achronix Semiconductor Corp. All rights reserved. contains elements of Jam STAPL Player Version 2.5 (20040526) Copyright (C) 1997-2004 Altera Corporation Entering JTAG programming mode...
Using the Achronix STAPL Player Picking a STAPL Action (-a option) error at bit: 20 error at bit: 21 error at bit: 22 error at bit: 23 error at bit: 24 error at bit: 25 error at bit: 26 error at bit: 27 error at bit: 28 error at bit: 29 error at bit: 30...
Querying the Availability of Connected Pods (-q option) Using the Achronix STAPL Player Querying the Availability of Connected Pods (-q option) The Bitporter pod query mode is used when multiple Bitporter pods are visible to the host running acx_stapl_player. This mode returns the current state of all connected pods (whether in use or not).
Using the Achronix STAPL Player Connecting to Specific Pods by Name (-p option) In this example, pod 12345 is connected via USB, and is currently not in use. Pod 12346 is visible via Ethernet, but is already in use by a host at IP address 192.168.1.123. Pod 12347 is also visible via Ethernet, currently has no owner, and is thus available for use.
Configuring the Bitporter Pod's IP address (-i Option) Using the Achronix STAPL Player Configuring the Bitporter Pod's IP address (-i Option) The user may query a pod's current Ethernet IP configuration with the -iq option, set the configuration to dynamic/DHCP with the -id option, or set a static IP with the -is option. Bitporter Pod MAC Addresses When adding devices to a network, network administrators frequently need to know the MAC address of the device.
Using the Achronix STAPL Player Configuring the Bitporter Pod's IP address (-i Option) Attempting to connect to user-specified pod(s): Successfully opened Bitporter pod usb54321. Current Bitporter IP Configuration: DHCP = on Configuration the Pod for DHCP (Dynamic IP Address) By default, Bitporter pods are configured to obtain their IP address via DHCP. Note: At this time, there is no way to ask the Bitporter pod for its current IP address.
Configuring the Bitporter Pod's IP address (-i Option) Using the Achronix STAPL Player Setting new network configuration... Success! Updated Bitporter IP Configuration: DHCP = on Configuring the Pod to Use a Static IP Address Reconfiguring the pod to use a static IP requires contacting the network administrator to determine the required information: •...
Using the Achronix STAPL Player Programming a Device Setting new network configuration... Success! Updated Bitporter IP Configuration: DHCP = off ip = 192.168.1.123 mask = 255.255.255.0 gateway = 192.168.1.1 Programming a Device Once the user has generated a bitstream for the design, the following steps are used to program the device: Connect the Bitporter pod to the target systems per Chapter 3 –...
Page 41
Programming a Device Using the Achronix STAPL Player www.achronix.com PAGE 34 Bitporter User Guide...
Revision History The following table lists the revision history of this document. Version Revision Initial release version. • Document title changed from ACE Programming Guide to Bitporter User Guide. • Added support for Ethernet-connected Bitporter pods. • Added support for Linux installations. Chapter 4 –...
Page 43
www.achronix.com PAGE 36 Bitporter User Guide...
Page 44
Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...
Need help?
Do you have a question about the Achronix Bitporter and is the answer not in the manual?
Questions and answers