Hello,
I am new to the Toolfow and I have been following the Red Pitaya tutorials.
I have Matlab 2018 and Vivado 2019 installed. I was able to follow the
first two tutorials which compiled and uploaded via casperfpga
successfully. When following the wide band spectrometer tutorial I tried to
program the red Pitaya with the fpg file provided for the tutorial here
<https://github.com/casper-astro/tutorials_devel/tree/master/red_pitaya/tut_spec>,
but got the following response/error;
Connecting to Red Pitaya: 192.168.200.151
Uploading: tut_spec.fpg
These are the devices in your design ...
['acc_cnt', 'acc_len', 'accum0_snap_ss_bram', 'accum0_snap_ss_ctrl',
'accum0_snap_ss_status', 'accum1_snap_ss_bram', 'accum1_snap_ss_ctrl',
'accum1_snap_ss_status', 'accumdat_snap_ss_bram', 'accumdat_snap_ss_ctrl',
'accumdat_snap_ss_status', 'adc_dv', 'adc_sample_cnt',
'adc_voltage_snap_ss_bram', 'adc_voltage_snap_ss_ctrl',
'adc_voltage_snap_ss_status', 'fft_sync_inc0', 'fft_sync_inc1',
'reg_cntrl', 'snap_gap', 'sync_cnt', 'sync_reg', 'sys_block',
'sys_board_id', 'sys_clkcounter', 'sys_rev', 'sys_rev_rcs',
'sys_scratchpad']
Traceback (most recent call last):
File "tut_spec.py", line 38, in <module>
spec0=fpga.snapshots.accum0_snap_ss.read(arm=False)['data']
File "/usr/local/lib/python2.7/dist-packages/casperfpga/snap.py", line
227, in read
rawdata, rawtime = self.read_raw(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/casperfpga/snap.py", line
333, in read_raw
bram_dmp['length'] / (self.width_bits / 8)))
RuntimeError: accum0_snap_ss.read_uint() - expected 16384 bytes, got 32
I also tried compiling the .slx file and got the same error while trying to
upload and program.
The version of casperfpga and mlib_devel are as follows:
mlib_devel commit id = a9e87d994cf5f512fa0ea555ec7495d8dedc0855
caspserfpga commit id = c2258ea014340a7376d504e7128198ed2cfa5442
What could be the problem?
Thanks,
Paul.
--
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/ac1e497b-3ebd-420c-a6c2-41d0beef7102n%40lists.berkeley.edu.