Ah. Yes. Ok, this is a problem with the software running on your raspberry
pi.
There is one version which works with the older Corr library and boffiles,
and a newer image for fpg files and CasperFpga.
I'll update the image online (I think this is a "Corr" one). For now you
can find an image in Berkeley at:
acme1:/home/kocz/rpi_casperfpga.img.gz

If you gunzip and burn this to an SD card, your pi should start working
with CasperFpga.

Cheers
Jack


On Fri, Jan 5, 2018, 7:01 PM [email protected] <[email protected]> wrote:

> Hi Jack,
>
> Yes, I was using raspberry pi. It gave me "True" when I ran
> "fpga.is_connected()". But it launched an error when I loaded the .fpg file.
> fpga.upload_to_ram_and_program('snap_tut_intro.fpg')
> RuntimeError: progremote request(Request to client snap failed.) on host
> snap failed
>
> Best wishes,
> Pei Xin
>
> ------------------------------
> Pei Xin
>
>
> *From:* Jack Hickish <[email protected]>
> *Date:* 2018-01-05 10:40
> *To:* casper <[email protected]>
> *Subject:* [CASS SPAM]Re: [casper] casperfpga using
>
> Hi pei xin,
>
> The short answer is, "yes". But there's clearly some work to be done on
> making the error handling cleaner.
> After those warnings, does the CasperFpga instance actually work? The
> first warning is the client attempting to connect using the microblaze
> interface (for SNAPs without RPIs) and failing (presumably because you are
> using a raspberry pi).
> The second warning I don't know anything about, but I just tried and even
> though that warning was thrown, things seemed to work fine.
>
> Thanks
> Jack
>
> On Fri, Jan 5, 2018, 5:34 PM 裴鑫 <[email protected]> wrote:
>
> Hi Casperites,
>>
>> Can I use casperfpga talk to SNAP? I got some errors when I was trying to
>> connect to SNAP.
>>
>> fpga = casperfpga.CasperFpga('snap')
>> WARNING:casperfpga.transport_tapcp:Tftp error on read -- retrying. 
>> 1515172180.414
>> WARNING:casperfpga.transport_katcp: snap: no ._stream instance found.
>>
>>
>> Thanks,
>>
>> Pei Xin
>>
>> Xinjiang Astronomical Observatory, CAS
>> RAL, UC Berkeley
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "[email protected]" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>>
> --
> You received this message because you are subscribed to the Google Groups "
> [email protected]" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to