jeandet / grlib

5 stars 4 forks source link

grmon unble to connect digilent basys3 #2

Open srinivasboppu opened 6 years ago

srinivasboppu commented 6 years ago

Hi,

I have synthesized my design for Basys3 digilent board. I used the design "leon3-digilent-basys3", the design got synthesized correctly and the bitfile is generated. I have problems in connecting to the design through grmon. I am getting the following error.

grmon-eval-3.0.7/linux/bin64> ./grmon -digilent -uart /dev/ttyUSB1

GRMON LEON debug monitor v3.0.7 64-bit eval version

Copyright (C) 2018 Cobham Gaisler - All rights reserved. For latest updates, go to http://www.gaisler.com/ Comments or bug-reports to support@gaisler.com

This eval version will expire on 25/11/2018

using port /dev/ttyUSB1 @ 115200 baud UART initialization failure, retrying UART initialization failure, retrying UART initialization failure, retrying UART initialization failure, retrying UART initialization failure, retrying UART initialization failure, retrying UART initialization failure, retrying UART initialization failure, retrying UART initialization failure, retrying UART initialization failure, retrying ERROR! UART failed to connect

My SW(0) is "1" so that Debug UART is connected. Any hints on how to debug this issue?

jeandet commented 6 years ago

Hi @srinivasboppu, I don't ave this board, I don't know if there is any tips. I would first look at place and route timings analysis then if there is any activity on UART lines. There could be many reasons, is the reset line at the right level? Are you using any PLL? Is it locked?

Then maybe asking on Leon-Sparc ML here https://groups.yahoo.com/neo/groups/leon_sparc/info.