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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find Board or Programming cable #469

Open
Tommy0295 opened this issue Jul 4, 2024 · 4 comments
Open

Cannot find Board or Programming cable #469

Tommy0295 opened this issue Jul 4, 2024 · 4 comments

Comments

@Tommy0295
Copy link

Hello,

i tried using this project for Programming a custom artix-7 board via a J-Link Programming Cable.
I installed it in my msys2 with command "pacman -S mingw-w64-ucrt-x86_64-openFPGALoader"

when i try to program a arty-a7 board, an error occurs:
$ openFPGALoader -b arty_a7_a35t ./FPGA_Programming/test.bit Error: cannot find board 'arty_a7_a35t'

As well when i try to program my custrom board via the J-Link Cable.
$ openFPGALoader -c JLink --vid 1366 --pid 0101 ./FPGA_Programming/test.bit error : JLink not found

Do i need to do something that the USB devices are reachable for the msys2 shell? Unfortunatley I have poor understanding of this Linux/OS stuff :(

Thanks for your time

@trabucayre
Copy link
Owner

There is a typo:

  • arty_a7_a35t -> arty_a7_35t
  • JLink -> jlink or jlink_base

Unlike windows, GNU/Linux and openFPGALoader are case sensitive ;-)

@Tommy0295
Copy link
Author

Tommy0295 commented Jul 4, 2024

Thank you so much for the fast answer <3

The error message changed now. It doesnt make a difference if i connect the cable to the PC. So i assume the cable is not connected :(

$ openFPGALoader -b arty_a7_35t --vid 0403 --pid 6010 ./FPGA_Programming/test.bit
Cable VID overridden
Cable PID overridden
unable to open ftdi device: -3 (device not found)
JTAG init failed with: unable to open ftdi device

$ openFPGALoader -c jlink ./FPGA_Programming/test.bit
Error: no device found
JTAG init failed with: can't find compatible device

Do i need to pass some other parameter to the program?

@trabucayre
Copy link
Owner

Could you try using sudo? If your user has no write access to the device you can't use the JTAG interface.
These errors are classic when the user is not in the required group

@trabucayre
Copy link
Owner

Any news?

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

2 participants