Hi Guillermo,

It seems to be snapshot specific. The intro tutorial doesn't use the snap
shot and that is why it works. This should work. I do recall seeing
something like this before - Wesley New might have encountered this.

Please can you send me the exact git hash of the mlib_devel and casperfpga
you are using. You could also try use the casperfpga in:
https://github.com/casper-astro/tutorials_devel/tree/workshop2019 as a
sanity check?

The caper-astro/casperfpga repo has recenty been updated and merged into
master: https://github.com/casper-astro/casperfpga/commits/master.
Therefore, the "tutorials2019" branch has been deleted for casperfpga.

I would first try the
https://github.com/casper-astro/tutorials_devel/tree/workshop2019 casperfpga
version used in the tutorials_devel repo and then the
https://github.com/casper-astro/casperfpga/commits/master. If the problem
still occurs for both then we can explore the toolflow version.

I assume you are still running casperfpga using Python 2.7 and the toolflow
in Python 3? I am now using python virtual environments.

Kind regards,

Adam Isaacson
South African Radio Astronomy Observatory (SARAO)
Hardware Manager
Cell: (+27) 825639602
Tel:  (+27) 215067300
email: [email protected]



On Fri, Aug 30, 2019 at 5:50 PM Guillermo Gancio <[email protected]> wrote:

> Hi all,
>
> I'm testing the tut_spec with a redpitaya (14bits) using just the
> example from the tutorial "python tut_spec.py -f tut_spec.fpg -r
> rp-xx.local " and I get an error on the line
>
> spec0=fpga.snapshots.accum0_snap_ss.read(arm=False)['data']
> ...
> (from snap.py).... RuntimeError: accum0_snap_ss.read_uint() - expected
> 16384 bytes, got 32
> ...
>
> I get the same error on tut_adc_dac, but the tut_intro works ok,
>
> The casperfpga and the tutorials_devel that I'm using are from the
> branch tutorials2019/workshop2019
>
> Thanks for any advice.
>
> Cheers.
>
>
>
>
> --
> Instituto Argentino de Radioastronomia
> [Argentine Institute of Radioastronomy]
>
> Guillermo M. Gancio
> Responsable Área Electrónica
> [Head of Electronic Department]
>
> Tel: (0054-0221) 482-4903 Int: 106
> Mail laboral    [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 view this discussion on the web visit
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CA%2BEePfQ-O%2B%3DvCcRGi8jD6CYCXGESYEm4ngYYM6Q2H7-pKEDbYQ%40mail.gmail.com
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CADTJ%3DnFDg_0%3Dhpk-OJ_DZ8f%2BWWXVfgo1Fg0JbKtLPXUUWvPTEA%40mail.gmail.com.

Reply via email to