beautypg.com

Bitporter pod mac addresses, Configuring the bitporter podʹs ip address (‐i, Option) – Achronix Bitporter User Manual

Page 42

background image

Configuring the Bitporter Pod's IP address (-i Option)

Using the Achronix STAPL Player

PAGE 36

www.achronix.com

Bitporter User Guide

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 DHCP (Dynamic Host Configuration Protocol) 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. The Bitporter pods are each shipped with documents describing
their  MAC  address.  If  the  MAC  address  documentation  for  a  pod  is  unavailable,  the  podʹs
MAC address can be calculated by one of the following methods:

Automatic MAC address calculation tool 

Achronix has provided a web page which customers can use to look up their podʹs 
MAC address based upon the podʹs serial number (the serial number is a five digit 
decimal number printed on a label stuck to the pod). The MAC address calculation 
web site is: 

https://secure.achronix.com/bitportermac.php

Manual MAC address calculation

The MAC address can also be manually derived from the pod’s serial number. 

MAC address = Manufacturer (prefix) : serial number (suffix) = 00:0F:75:00:30:39

Where:

Manufacturer = 00:0F:75 (this is constant for all Bitporters)

Serial number = 12345 (decimal) = 0x3039 (hex) = 0x003039 = 00:30:39

Querying the Bitporter Pod's Current Ethernet IP Configuration (-iq)

Note:

This option works whether the pod is connected via USB or via Ethernet.

Simply run acx_stapl_player with the -iq option. If multiple pods are connected, the desired
pod name must be specified with the -p option.

If  the  queried  pod  has  been  configured  for  a  static  IP,  the  query  will  report  that  DHCP  is
turned off, and will provide the configured IP address, subnet mask, and gateway.

When querying Ethernet pods from a Linux host, pods that are in DHCP mode will not return
their current IP address, subnet mask, or gateway. When querying Ethernet pods that are in
DHCP mode from a Windows host, the current IP address, subnet mask, and gateway will be
reported.

When  querying  USB  pods,  regardless  of  the  host  OS,  if  the  pod  is  in  DHCP  mode,  no  IP
address,  subnet  mask,  or  gateway  can  be  reported  ‐  these  will  be  dynamically  assigned
(through DHCP) once the pod is plugged into the Ethernet.

Example (USB pod, DHCP is on)

To query the IP configuration of a USB pod with serial number 54321:

acx_stapl_player.exe -iq -pusb54321

The command returns:

Achronix STAPL Player (acx_stapl_player)

(c) Copyright Achronix Semiconductor Corp. All rights reserved.

contains elements of Jam STAPL Player Version 2.5 (20040526)

Copyright (C) 1997-2004 Altera Corporation