trabucayre / openFPGALoader

Universal utility for programming FPGA
https://trabucayre.github.io/openFPGALoader/
Apache License 2.0
1.1k stars 232 forks source link

Cannot find Board or Programming cable #469

Open Tommy0295 opened 3 days ago

Tommy0295 commented 3 days ago

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 commented 3 days ago

There is a typo:

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

Tommy0295 commented 3 days ago

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?