Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Launch_Vivado.app with non-default folder #20

Open
gri11 opened this issue Sep 4, 2023 · 17 comments
Open

Open Launch_Vivado.app with non-default folder #20

gri11 opened this issue Sep 4, 2023 · 17 comments

Comments

@gri11
Copy link

gri11 commented Sep 4, 2023

Hello again 馃槃,
My goal now is connect Vivado with Basys 3 Board via USB.
I'm installed Vivado completed in folder name vivado-on-silicon-mac-main 3
I ran it. Got this error.
image
So, I use Launch_Vivado.app in broken installation folder name vivado-on-silicon-mac-main
And got this error.
image
Current situation:

  • no connection with Basys 3 board
Screenshot 2566-09-04 at 9 37 17 PM

Connection

  • Micro USB wire connected with board
  • Micro USB wire connected with Macbook via USB-C hub.

Is there anyway that I can solve these problem?

@ichi4096
Copy link
Owner

ichi4096 commented Sep 4, 2023

Maybe there is an error because the path of the directory contains a space? Anyway, permission denied errors for the xvcd binary could possibly stem from you not allowing its execution in the Settings app, or because the file permissions aren't set correctly. Try chmod +x xvcd in a terminal.

The "device not found" errors are to be expected whenever the board isn't plugged in. When you do plug in the board, there is no success message and the errors aren't cleared. If the errors keep repeating, try lsusb in a terminal and see if your board is even picked up by your Mac.

@gri11
Copy link
Author

gri11 commented Sep 4, 2023

It could be true that my board didn't even get picked up by Mac. Is that the problem could happened from USB dongle.
If that true, Is there a way I can fix this?

here is my lsusb result:

Bus 000 Device 002: ID 05e3:0626 Genesys Logic, Inc. USB3.1 Hub 
Bus 000 Device 001: ID 05e3:0610 Genesys Logic, Inc. USB2.1 Hub 
Bus 001 Device 001: ID 0781:55ae SanDisk Corporation Extreme 55AE  Serial: 323332354548343034303831
Bus 000 Device 000: ID 05e3:0626 Genesys Logic, Inc. USB 3.1 Bus 
Bus 000 Device 000: ID 0781:55ae SanDisk Corporation USB 3.1 Bus

@dmendat
Copy link

dmendat commented Sep 4, 2023

It's possible that the dongle isn't working well with the Mac? I've definitely had issues in the past with some USB dongles/hubs not working with embedded devices, for example.

@ichi4096
Copy link
Owner

ichi4096 commented Sep 4, 2023

I could get it to work with a dongle, the problem was with the micro usb cables, since a lot of them only have the power wires and no data wires.

@dmendat
Copy link

dmendat commented Sep 4, 2023

Yes that's definitely another common issue.

@gri11
Copy link
Author

gri11 commented Sep 4, 2023

Oh I see, so I could try to connect my board with micro usb cable with power wires and data wires right? Thanks a lot!

@ichi4096
Copy link
Owner

ichi4096 commented Sep 4, 2023

Yes. xvcd could only connect to your board if it shows up in lsusb.

@gri11
Copy link
Author

gri11 commented Sep 5, 2023

There're still error that existed when I already found the board in local machine:
image
The error:
image
Could be the problem because I install Vivado on external SSD?

@ichi4096
Copy link
Owner

ichi4096 commented Sep 5, 2023

Try first plugging in the board, then check with lsusb to make sure it's connected properly (the "Future Technology Devices International" device) and then opening up Vivado. If that doesn't work, does the xvcd terminal window display error messages?

@gri11
Copy link
Author

gri11 commented Sep 5, 2023

Right now, this an error after I use openFPGALoader to load bitstring to the board
bind: Address already in use
Screenshot 2566-09-05 at 8 31 12 PM

@ichi4096
Copy link
Owner

ichi4096 commented Sep 5, 2023

What command did you use exactly? Also make sure that no instance of xvcd is running since it will make the board unavalailable to any other program.

@gri11
Copy link
Author

gri11 commented Sep 5, 2023

I use this command
openFPGALoader -b basys3 main.bit # Loading in SRAM
and
openFPGALoader -b basys3 -f main.bit # Writing in flash

@ichi4096
Copy link
Owner

ichi4096 commented Sep 5, 2023

Does the error persist when you stop xvcd and Vivado?

@gri11
Copy link
Author

gri11 commented Sep 5, 2023

No, when exited Vivado, xvcd will be exited too.
image

@james-kollross
Copy link

I'm having a very similar issue with getting the hardware manager to connect to my Basys 3. It shows up in lsusb and in System Information, albeit only if I connect it through a USB hub and not directly with a dongle.

image

lsusb result:
image

@gri11
Copy link
Author

gri11 commented Sep 13, 2023

@james-kollross For the workaround, I use openFPGALoader to load bitstream generated from Vivado.

@ichi4096
Copy link
Owner

I'm rewriting the script such that the docker instance will be logged in an open terminal window while xvcd has a little window of it's own, indicating that it is running / connected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants