Difference: AMC13PythonSoftware (1 vs. 39)

Revision 3904 Aug 2016 - SemirayGirgisChyla

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page describes new (as of early 2015) python bindings to the AMC13 software. This is very much a work in progress, but at least one demo program now works.

Revision 3812 Mar 2015 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Changed:
<
<
WARNING!!!! PyChips is no longer supported for IPbus v2.0 devices and higher. This, unfortunately, removes Python as a valid software interface to
  • Virtex FPGAs with firmware versions >0x25
  • Spartan FPGAs with firmware versions >0x11
  • All Kintex FPGAs
In summary, if you have been using Python releases, you will need to move to the uHAL-based AMC13 software. We apologize for the inconvenience!!

Releases

>
>
This page describes new (as of early 2015) python bindings to the AMC13 software. This is very much a work in progress, but at least one demo program now works.
 
Changed:
<
<

Installation

In order to use the Python software, you will need to have PyChips installed on your Scientific Linux machine. For instructions on how to obtain the PyChips libraries, visit the CACTUS Installation page.
>
>
See AMC13ObsoletePyChipsSoftware if for some reason you want the no-longer-supported PyChips based software.
 
Changed:
<
<
On a Scientific Linux system with PyChips installed:
>
>
The python code is included as of v1.1.0

The python code is installed with the regular package. Check out the code from SVN, go to the top level directory and execute:

  $ source env.sh
  $ make

There are some sample scripts in ...dev_tools/python. You'll need a connection file, which needs to reference the address table files distributed with the software. The way I handle this is to create a symbolic link to the ...etc/amc13 directory:

  $ cd .../dev_tools/python
  $ ln -s ../../amc13/etc/amc13 .

Then the connection file can use the symlink to find the address tables. Sample connection file:

 
Deleted:
<
<
  1. Download one of the above tarballs. For example:
       $ wget amc13_python_2013-01-31.tar.gz
       
  2. Unpack the tarball and make sure it decompressed successfully:
       $ tar -zxvf amc13_python_2013-01-31.tar.gz
       $ ls amc13_python_2013-01-31/
       addresstables_amc13  firmware_amc13  README.txt  src_amc13
       
  3. The software is now ready for use. For example, to run p_flash.py:
 
Changed:
<
<
$ cd amc13_python_2013-01-31/src_amc13 $ python p_flash.py
>
>
 
Changed:
<
<

AMC13 Python Software Links

Additional Links
<-- -->
Sorted ascending
amc13_control
p_flash
| Archived Software from old BU SVN
>
>
Finally you can run your script as follows:

  $ ./printversion.py connectionSN43_ch.xml
  Using AMC13 software ver:35051
  T1 firmware version 0x4016
  T2 firmware version 0x25

 
Changed:
<
<
-- EricHazen - 24 Jan 2012
>
>
-- EricHazen - 12 Mar 2015

Revision 3714 Jul 2014 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
WARNING!!!! PyChips is no longer supported for IPbus v2.0 devices and higher. This, unfortunately, removes Python as a valid software interface to
  • Virtex FPGAs with firmware versions >0x25
Line: 53 to 53
 
Additional Links
amc13_control
p_flash
Added:
>
>
| Archived Software from old BU SVN
  -- EricHazen - 24 Jan 2012

Revision 3630 May 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Added:
>
>
WARNING!!!! PyChips is no longer supported for IPbus v2.0 devices and higher. This, unfortunately, removes Python as a valid software interface to
  • Virtex FPGAs with firmware versions >0x25
  • Spartan FPGAs with firmware versions >0x11
  • All Kintex FPGAs
In summary, if you have been using Python releases, you will need to move to the uHAL-based AMC13 software. We apologize for the inconvenience!!
 

Releases

  • amc13_python_noTests.tar.gz – SPECIAL TEST RELEASE. No firmware. Modified to bypass both Spartan and Virtex start-up checks. Useful for debugging IPbus problems.
  • amc13_python_noVirtexTest.tar.gz – SPECIAL TEST RELEASE. No Firmware. Modified to bypass Virtex start-up checks. Useful for debugging IPbus problems.

Revision 3518 Apr 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

Releases

Changed:
<
<
>
>
  • amc13_python_noTests.tar.gz – SPECIAL TEST RELEASE. No firmware. Modified to bypass both Spartan and Virtex start-up checks. Useful for debugging IPbus problems.
  • amc13_python_noVirtexTest.tar.gz – SPECIAL TEST RELEASE. No Firmware. Modified to bypass Virtex start-up checks. Useful for debugging IPbus problems.
 

Revision 3409 Apr 2013 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

Releases

Added:
>
>
 

Revision 3327 Mar 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

Releases

Line: 21 to 21
 

Installation

Changed:
<
<
In order to use the Python software, you will need to have PyChips installed on your Scientific Linux machine. For instructions on how to obtain the PyChips libraries, visit the PyChips page.
>
>
In order to use the Python software, you will need to have PyChips installed on your Scientific Linux machine. For instructions on how to obtain the PyChips libraries, visit the CACTUS Installation page.
  On a Scientific Linux system with PyChips installed:

Revision 3201 Mar 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

Releases

Line: 21 to 21
 

Installation

Changed:
<
<
In order to use the Python software, you will need to have PyChips installed on your Scientific Linux machine. For instructions on how to obtain the PyChips libraries, visit the PyChips page.
>
>
In order to use the Python software, you will need to have PyChips installed on your Scientific Linux machine. For instructions on how to obtain the PyChips libraries, visit the PyChips page.
  On a Scientific Linux system with PyChips installed:

Revision 3131 Jan 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Changed:
<
<
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
>
>

Releases

 
Line: 15 to 15
 
Deleted:
<
<
 
    • Note: this is not a complete release, but updates for only the .py scripts. Untar, then copy .py files to src_amc13 in i.e. the release below
  • amc13_python_2012-05-17.tar.gz – updated release. Use with T2 firmware V6 and later. Works with stock SL5 python 2.4 now
  • amc13_python_2012-03-14.tar.gz – updated release. See README.txt. Now includes amc13_control.py.
  • amc13_python_2012-02-21.tar.gz – Interim release of Python scripts. See README.txt for some details.

Installation

Added:
>
>
In order to use the Python software, you will need to have PyChips installed on your Scientific Linux machine. For instructions on how to obtain the PyChips libraries, visit the PyChips page.
 
Changed:
<
<
On a Scientific Linux system, here is a quick tutorial:
>
>
On a Scientific Linux system with PyChips installed:
 
Changed:
<
<
   (make sure you have PyChips installed and the environment set correctly)
   (download one of the tarballs above)
   $ tar -xzf amc13_python_2012-xx-xx.tar.gz
   $ cd amc13_python_2012-xx-xx/src_amc13
   $ python p_flash.py     (for example, to program the flash)
>
>
  1. Download one of the above tarballs. For example:
       $ wget amc13_python_2013-01-31.tar.gz
       
  2. Unpack the tarball and make sure it decompressed successfully:
       $ tar -zxvf amc13_python_2013-01-31.tar.gz
       $ ls amc13_python_2013-01-31/
       addresstables_amc13  firmware_amc13  README.txt  src_amc13
       
  3. The software is now ready for use. For example, to run p_flash.py:
       $ cd amc13_python_2013-01-31/src_amc13
       $ python p_flash.py
       

AMC13 Python Software Links

Additional Links
amc13_control
p_flash
  -- EricHazen - 24 Jan 2012

Revision 3031 Jan 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
Added:
>
>
 
Line: 32 to 33
  $ python p_flash.py (for example, to program the flash)
Deleted:
<
<
AMC13PythonSoftwareToDoList
 -- EricHazen - 24 Jan 2012 \ No newline at end of file

Revision 2916 Jan 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
Added:
>
>
 

Revision 2807 Dec 2012 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
  • amc13_python_2012-11-07.tar.gz – updated release. Contains latest Virtex firmware version 0x1f with DAQ link functionality, as well new amc13_control.py commands for sending local triggers

Revision 2704 Dec 2012 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
  • amc13_python_2012-11-07.tar.gz – updated release. Contains latest Virtex firmware version 0x1f with DAQ link functionality, as well new amc13_control.py commands for sending local triggers

Revision 2607 Nov 2012 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
Added:
>
>
  • amc13_python_2012-11-07.tar.gz – updated release. Contains latest Virtex firmware version 0x1f with DAQ link functionality, as well new amc13_control.py commands for sending local triggers
 

Revision 2510 Oct 2012 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
Added:
>
>
 

Revision 2407 Oct 2012 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.

Revision 2302 Oct 2012 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
Added:
>
>
 

Revision 2228 Sep 2012 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
Changed:
<
<
>
>
 

Revision 2114 Sep 2012 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.

Added:
>
>
 
  • amc13_python_2012-09-11.tar.gz – interim release. Fixed bug in 'dump file' command and added 'firmware version' command
  • amc13_python_2012-09-07.tar.gz – updated release. New features of 'amc13_control.py' include functional block/fifo read/write commands, an improved status display, and an improved initialization command.
  • amc13_python_2012-08-06.tar.gz – updated release. Includes new status display for AMC13 counters in 'amc13_control.py' as well as better firmware-file handling for 'p_flash.py'

Revision 2011 Sep 2012 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.

Added:
>
>
 
  • amc13_python_2012-09-07.tar.gz – updated release. New features of 'amc13_control.py' include functional block/fifo read/write commands, an improved status display, and an improved initialization command.
  • amc13_python_2012-08-06.tar.gz – updated release. Includes new status display for AMC13 counters in 'amc13_control.py' as well as better firmware-file handling for 'p_flash.py'
  • amc13_python_2012-08-02.tar.gz – Interim release with updated p-flash.py to handle Golden and Spartan '.mcs' files together

Revision 1907 Sep 2012 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.

Added:
>
>
  • amc13_python_2012-09-07.tar.gz – updated release. New features of 'amc13_control.py' include functional block/fifo read/write commands, an improved status display, and an improved initialization command.
 

Revision 1810 Aug 2012 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.

Line: 11 to 11
 
    • Note: this is not a complete release, but updates for only the .py scripts. Untar, then copy .py files to src_amc13 in i.e. the release below
  • amc13_python_2012-05-17.tar.gz – updated release. Use with T2 firmware V6 and later. Works with stock SL5 python 2.4 now
  • amc13_python_2012-03-14.tar.gz – updated release. See README.txt. Now includes amc13_control.py.
Changed:
<
<
>
>

Installation

On a Scientific Linux system, here is a quick tutorial:

   (make sure you have PyChips installed and the environment set correctly)
   (download one of the tarballs above)
   $ tar -xzf amc13_python_2012-xx-xx.tar.gz
   $ cd amc13_python_2012-xx-xx/src_amc13
   $ python p_flash.py     (for example, to program the flash)
  AMC13PythonSoftwareToDoList

Revision 1706 Aug 2012 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
Added:
>
>
  • amc13_python_2012-08-06.tar.gz – updated release. Includes new status display for AMC13 counters in 'amc13_control.py' as well as better firmware-file handling for 'p_flash.py'
 

Revision 1602 Aug 2012 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
Added:
>
>
 

Revision 1531 Jul 2012 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
Changed:
<
<
>
>
 
  • amc13_python_2012-05-31.tar.gz – updated release. Incorporate Rohlf's firmware programming bug fix and add some more of Charlie's enhancements.
  • source_28may2012 – readline command history, AMC13Tool, bug fix in flash programming
    • Note: this is not a complete release, but updates for only the .py scripts. Untar, then copy .py files to src_amc13 in i.e. the release below

Revision 1427 Jul 2012 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
Changed:
<
<
>
>
 
  • amc13_python_2012-05-31.tar.gz – updated release. Incorporate Rohlf's firmware programming bug fix and add some more of Charlie's enhancements.
  • source_28may2012 – readline command history, AMC13Tool, bug fix in flash programming
    • Note: this is not a complete release, but updates for only the .py scripts. Untar, then copy .py files to src_amc13 in i.e. the release below

Revision 1314 Jun 2012 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
Added:
>
>
 
  • source_28may2012 – readline command history, AMC13Tool, bug fix in flash programming
    • Note: this is not a complete release, but updates for only the .py scripts. Untar, then copy .py files to src_amc13 in i.e. the release below
  • amc13_python_2012-05-17.tar.gz – updated release. Use with T2 firmware V6 and later. Works with stock SL5 python 2.4 now

Revision 1230 May 2012 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.

Added:
>
>
    • Note: this is not a complete release, but updates for only the .py scripts. Untar, then copy .py files to src_amc13 in i.e. the release below
 

Revision 1127 May 2012 - JimRohlf

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
Deleted:
<
<

NOTE: Flash programming utility requires Python v2.7 which is not stock in SL5 as of this writing.
 
Changed:
<
<
>
>
 

Revision 1027 May 2012 - JimRohlf

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
NOTE: Flash programming utility requires Python v2.7 which is not stock in SL5 as of this writing.
Added:
>
>
  • source – readline command history
 

Revision 927 May 2012 - JimRohlf

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
NOTE: Flash programming utility requires Python v2.7 which is not stock in SL5 as of this writing.
Added:
>
>
 

Revision 826 May 2012 - JimRohlf

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
NOTE: Flash programming utility requires Python v2.7 which is not stock in SL5 as of this writing.
Added:
>
>
 

Revision 717 May 2012 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
NOTE: Flash programming utility requires Python v2.7 which is not stock in SL5 as of this writing.
Changed:
<
<
>
>
 

Revision 617 May 2012 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
NOTE: Flash programming utility requires Python v2.7 which is not stock in SL5 as of this writing.
Added:
>
>
 

Revision 511 Apr 2012 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Changed:
<
<
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library
>
>
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library.
NOTE: Flash programming utility requires Python v2.7 which is not stock in SL5 as of this writing.
 

Revision 414 Mar 2012 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library
Added:
>
>
 

AMC13PythonSoftwareToDoList

Revision 322 Feb 2012 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library

Added:
>
>
AMC13PythonSoftwareToDoList
 -- EricHazen - 24 Jan 2012 \ No newline at end of file

Revision 221 Feb 2012 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library
Changed:
<
<
>
>
  -- EricHazen - 24 Jan 2012 \ No newline at end of file

Revision 124 Jan 2012 - EricHazen

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="HcalDTC"
This page contains documentation and download links for AMC13 test software written in Python and using the PyChips library

-- EricHazen - 24 Jan 2012

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback