Hi,
I managed to run a debug session on FPGA by building a new bit stream using the
"jump" example (CONFIG=Nexys4DebugConfig make jump).
Previously, I was using the prebuilt bitstream hosted at
https://github.com/lowRISC/lowrisc-chip/releases/download/v0.3/nexys4ddr_...,
which seems to have problem.
Thanks and regards,
Imran Wali
________________________________
From: lowrisc-dev-bounces(a)lists.lowrisc.org <lowrisc-dev-bounces(a)lists.lowrisc.org>
on behalf of Imran Wali
Sent: Thursday, May 31, 2018 1:58:43 PM
To: Philipp Wagner; lowrisc-dev(a)lists.lowrisc.org
Subject: Re: [lowrisc-dev] Problem running a debug session on FPGA
Hi Philipp,
Thanks for your reply.
As suggested, I updated my local GLIP repository to the current master and rebuild the
glip and opensocdebug software.
But still facing the same problem.
Do you have any clues, what's going wrong?
Best regards,
Imran Wali
________________________________
From: lowrisc-dev-bounces(a)lists.lowrisc.org <lowrisc-dev-bounces(a)lists.lowrisc.org>
on behalf of Philipp Wagner <lists(a)philipp-wagner.com>
Sent: Wednesday, May 30, 2018 5:03:29 PM
To: lowrisc-dev(a)lists.lowrisc.org
Subject: Re: [lowrisc-dev] Problem running a debug session on FPGA
Hi,
On 05/30/2018 04:26 PM, Imran Wali wrote:
Hi,
I am trying to run a debug session on FPGA as described on
http://www.lowrisc.org/docs/debug-v0.3/fpga/.
After programming the nexys4ddr board with the provided debug enabled FPGA bitstream,
following error is encountered while trying to open the debug daemon:
$ opensocdebugd uart device=/dev/ttyUSB1 speed=12000000
Open SoC Debug Daemon
Backend: uart
opensocdebugd: ../../src/regaccess.c:60: osd_reg_read16: Assertion `packet[0] == 3'
failed.
Aborted (core dumped)
$
Could you please identify what's going wrong here.
this looks like a bug in GLIP that we already fixed. Could you try
updating the GLIP code in your lowrisc version to current master and try
again?
Best,
Philipp