Hello

On Tue, Mar 5, 2013 at 7:25 PM, Jason Castro <[email protected]> wrote:
> I just loaded the latest version of tcpborphserver dated 2013-02-12T17:00:21
> for my ROACH2.  I've recompiled tutorial1 for a ROACH2 and I'm able to load
> the bof file to the FPGA, however when I try to read a register I get a
> communications error from the Roach and the personality of the FPGA is
> dumped.  The roach is still on the network and KATCP is still there, but I
> have to reload the BOF file.  It appears I can write to registers correctly.
> If I request say 5 bytes from the sys_stratchpad KATCP recovers gracefully
> with an error, but if I request 4 bytes I get the following error dump from
> the ROACH2, as read from the USB serial interface:

Just to check and help us debug things: Are you using ?wordread or
?read to access the data ?

?read sys_scratchpad 0 4
?wordread sys_scratchpad 0 1

(reads operate on byte quantities, wordreads on multiples of 32bits).

sys_scratchpad is only 1 word (4 bytes) long, so the 5 byte read will
be trapped by sanity checks before even a bus transaction occurs.


> Machine check in kernel mode.
> Data Read PLB Error
> Oops: Machine check, sig: 7 [#6]

Sig 7 is a bus error, so a transaction across the EPB timed out or failed.
A userspace application has difficulties recovering from this - for
most purposes it is handled similarly to a segmentation fault.

We are keen to understand what fails... let us know how things progress ...
Did the problem only appear after the new tcpborphserver install ? Did
it happen on other gateware images ?

regards

marc

Reply via email to