Hey Katty, Laura
> If you produced this bof file from a Simulink model, you can look in the > model to find the correct register. > > Alternatively, you can log into your roach and run your .bof file as an > executable. When you see the process id, you can actually navigate to a > folder that will list all the registers ( > https://casper.berkeley.edu/wiki/Roach_Tutorial will show you). Perhaps > the register name in the .bof file differs from the python code slightly. > You may be able to infer the appropriate register from this list and > change the spelling in your python code. > > As well as logging into the ROACH and looking at the register directory, you can also use the listdev() katcp command, which will return a list of all the software registers in your firmware. This is probably a few seconds quicker and easier than the ssh-to-roach route. Cheers, Jack > > On Mon, May 20, 2013 at 9:47 AM, katherine viviana cortes urbina < > kattycort...@gmail.com> wrote: > >> Hi all, >> >> I am sorry but still I can not solve the error >> ---------- Forwarded message ---------- >> From: katherine viviana cortes urbina <kattycort...@gmail.com> >> Date: 2013/5/7 >> Subject: Fwd: .py >> To: Casper Lists <casper@lists.berkeley.edu> >> >> >> >> Hi all, >> >> I synthesized a Design this is spectrometer with 2048 channel, 1 GHz in >> clock ADC, mode Interleaved. But if I connected to the ROACH by >> tut3_interleave_4096.py I have the error in the register cnt_rst this is >> not found. >> >> error : >> ./tut3_interleave_4096.py 192.168.100.2 -b s1_2013_May_02_1157.bof >> >> <https://mail.google.com/mail/u/0/?ui=2&ik=8c869d2cff&view=att&th=13e7f3af7a3bb6af&attid=0.1&disp=safe&realattid=f_hgduebah0&zw> >> Connecting to server 192.168.100.2 on port 7147... ok >> >> ------------------------ >> Programming FPGA with s1_2013_May_02_1157.bof... done >> Configuring accumulation period... done >> Resetting counters... FAILURE DETECTED. Log entries: >> 192.168.100.2: Starting thread Thread-1 >> 192.168.100.2: #version poco-0.1 >> 192.168.100.2: #build-state poco-0.2804 >> 192.168.100.2: ?progdev s1_2013_May_02_1157.bof >> >> 192.168.100.2: !progdev ok 512 >> 192.168.100.2: Programming FPGA with s1_2013_May_02_1157.bof... ok. >> 192.168.100.2: ?write acc_len 0 \0 \0\0 >> >> 192.168.100.2: !write ok >> 192.168.100.2: ?read acc_len 0 4 >> >> 192.168.100.2: !read ok \0 \0\0 >> 192.168.100.2: Write 40000 to register acc_len at offset 0 ok. >> 192.168.100.2: ?write cnt_rst 0 \0\0\0 >> >> 192.168.100.2: #log error 371725520384 poco register\_cnt_rst\_not\_found >> 192.168.100.2: 371725520384 poco: register cnt_rst not found >> 192.168.100.2: !write fail register >> 192.168.100.2: Request write failed. >> Request: ?write cnt_rst 0 \0\0\0 >> Reply: !write fail register. >> None >> Traceback (most recent call last): >> File "./tut3_interleave_4096.py", line 155, in <module> >> exit_fail() >> File "./tut3_interleave_4096.py", line 132, in <module> >> >> fpga.write_int('cnt_rst',1) >> File "/usr/local/lib/python2.6/site-packages/corr/katcp_wrapper.py", >> line 411, in write_int >> self.write(device_name, data, offset*4) >> File "/usr/local/lib/python2.6/site-packages/corr/katcp_wrapper.py", >> line 351, in write >> self.blindwrite(device_name, data, offset) >> File "/usr/local/lib/python2.6/site-packages/corr/katcp_wrapper.py", >> line 375, in blindwrite >> self._request("write", device_name, str(offset), data) >> File "/usr/local/lib/python2.6/site-packages/corr/katcp_wrapper.py", >> line 67, in _request >> % (request.name, request, reply)) >> RuntimeError: Request write failed. >> Request: ?write cnt_rst 0 \0\0\0 >> Reply: !write fail register. >> >> any idea? >> >> Cheers katty >> >> >