Re: [ARTIQ] installing ARTIQ

2016-03-16 Thread Robert Jördens
Hey Jonathan,

On Wed, Mar 16, 2016 at 4:55 AM, Jonathan Mizrahi  wrote:
> What do you think is the fastest way to get to the point of controlling the 
> KC705 board?

You should be able to use both ISE or Vivado to flash the three images
to the KC705 flash.

Robert.
___
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq


Re: [ARTIQ] installing ARTIQ

2016-03-15 Thread Sébastien Bourdeauducq
On Wednesday, 16 March 2016 3:55:53 AM HKT Jonathan Mizrahi wrote:
> Ah, adding the dev channel allowed me to install it. The installation
> instructions say that the dev channel is only necessary to use the
> development version of ARTIQ, so I had not added it.

Well, there aren't any non-development versions of ARTIQ right now, though we 
should release the first one in a few weeks.
 
> Where is the required FPGA support code, if it's not in the OpenOCD
> releases?

It is in its Git repository, from which they should make a release at some 
point:
http://openocd.org/repos/
https://github.com/ntfreak/openocd

Sébastien

___
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq


Re: [ARTIQ] installing ARTIQ

2016-03-15 Thread Jonathan Mizrahi
Ah, adding the dev channel allowed me to install it. The installation 
instructions say that the dev channel is only necessary to use the development 
version of ARTIQ, so I had not added it. 

Where is the required FPGA support code, if it's not in the OpenOCD releases?

What do you think is the fastest way to get to the point of controlling the 
KC705 board?

Thanks for the help!

Jonathan

-Original Message-
From: Sébastien Bourdeauducq [mailto:s...@m-labs.hk] 
Sent: Tuesday, March 15, 2016 10:49 PM
To: artiq@lists.m-labs.hk
Cc: Jonathan Mizrahi <jmizr...@umd.edu>
Subject: Re: [ARTIQ] installing ARTIQ

Hi,

On Tuesday, 15 March 2016 6:32:19 PM HKT Jonathan Mizrahi wrote:
> I am trying to get ARTIQ installed on a Windows system using the KC705 
> board, following the instructions 
> here<http://m-labs.hk/artiq/manual/installing.html>. This has proven 
> difficult and frustrating (and not yet successful), so I thought I 
> would share what problems I've had. First, I installed 64 bit 
> Anaconda, and then attempted to install the ARTIQ package using the "conda 
> create" command.
> This repeatedly returned an error that the specified package was not 
> available for win-64.

My guess is you forgot to add the dev channel. Do this:
conda config --add channels http://conda.anaconda.org/m-labs/channel/dev

If that does not help, please post the exact commands you typed and the exact 
error messages you received. The conda packages are supposed to work correctly 
on Windows, in fact we automatically test them on our CI server:
http://buildbot.m-labs.hk/builders/artiq-win64-test

OpenOCD is indeed a bit difficult to install right now, and may need to be 
built from source (this is probably easier on Linux) as the releases do not 
contain the required FPGA support code yet. We could look into providing conda 
packages for it.

Sébastien

___
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq


Re: [ARTIQ] installing ARTIQ

2016-03-15 Thread Sébastien Bourdeauducq
Hi,

On Tuesday, 15 March 2016 6:32:19 PM HKT Jonathan Mizrahi wrote:
> I am trying to get ARTIQ installed on a Windows system using the KC705
> board, following the instructions
> here. This has proven
> difficult and frustrating (and not yet successful), so I thought I would
> share what problems I've had. First, I installed 64 bit Anaconda, and then
> attempted to install the ARTIQ package using the "conda create" command.
> This repeatedly returned an error that the specified package was not
> available for win-64. 

My guess is you forgot to add the dev channel. Do this:
conda config --add channels http://conda.anaconda.org/m-labs/channel/dev

If that does not help, please post the exact commands you typed and the exact 
error messages you received. The conda packages are supposed to work correctly 
on Windows, in fact we automatically test them on our CI server:
http://buildbot.m-labs.hk/builders/artiq-win64-test

OpenOCD is indeed a bit difficult to install right now, and may need to be 
built 
from source (this is probably easier on Linux) as the releases do not contain 
the required FPGA support code yet. We could look into providing conda 
packages for it.

Sébastien

___
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq


[ARTIQ] installing ARTIQ

2016-03-15 Thread Jonathan Mizrahi
Hello,

I am trying to get ARTIQ installed on a Windows system using the KC705 board, 
following the instructions here. 
This has proven difficult and frustrating (and not yet successful), so I 
thought I would share what problems I've had. First, I installed 64 bit 
Anaconda, and then attempted to install the ARTIQ package using the "conda 
create" command. This repeatedly returned an error that the specified package 
was not available for win-64. It did not matter which ARTIQ package I chose. 
The same was true after installing 32 bit miniconda, with the error now reading 
that the packages were not available for win-32. Running "anaconda search -t 
conda artiq" shows me a list of ARTIQ packages and on which platforms they are 
supported. All of the main ARTIQ packages list "Platforms" as "None-None." This 
suggests that none of the ARTIQ packages would install via the "conda create" 
mechanism, on any operating system, which confuses me.

At this point I considered trying to install from source. However, the 
instructions to do so rely on Linux tools and assume a Linux system.

Next, the installation instructions ask me to "install OpenOCD," with no other 
comment. This appears to be non-trivial. How, exactly, do I install OpenOCD on 
Windows? My attempts to do so using Windows binaries available online all gave 
me errors that I needed a .cfg file, and needed to specify a debug adapter. I 
assume these things are specific to a given FPGA? Are there any guidelines as 
to how to do this?

It would be enormously helpful to me (and, I suspect, many other potential 
ARTIQ users) if true step-by-step installation instructions were provided for 
Windows. Any help in getting up and running with the KC705 would be very 
appreciated.

Thanks,

Jonathan Mizrahi
Research Scientist
Joint Quantum Institute
University of Maryland
301-314-1903

___
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq