Closed PedroAntunes178 closed 1 year ago
Hello,
The second issue give the answer for your first issue: you use -c digilent_hs2
. This cable is based on ft232H (with vid:pid = 0x0403:0x6014) but your interface has a vid:pid = 0x1d50:0x602b.
yes you needs to have access right on your USB interface as mentioned here and here.
I'm agree those sections are not much visible.
I haven't an iceSugar-pro but have colorlight i5 (more or less similar) and the interface as mentioned in the iceSugar repo's README is:
the on board debugger iCELink (base on ARM Mbed DAPLink)
This isn't an FTDI (or clone) and you have to use the right protocol.
This is a specific protocol implemented on the onboard microcontroler (U3 in board schematic).
So maybe trying with -b cmsisdap --vid=0x1d50 --pid0x602b
will resolve your issue.
Hey,
Nice, thank you! :)
The following command line worked:
openFPGALoader -c cmsisdap --vid=0x1d50 --pid=0x602b blink_1000.bit
Hello,
I am trying to program the IceSugar-pro board. That uses the ECP5 FPGA. I have encountered several errors.
First,
unable to open ftdi device: -3 (device not found)
which happened if I calledopenFPGALoader
without--busdev-num
. The command I used that bypassed this issue wasopenFPGALoader --busdev-num 003:005 -c digilent_hs2 blink_100.bit
. The bus and the device address can be obtained by executinglsusb
.Second,
unable to open ftdi device: -4 (libusb_open() failed)
which happened because my user did not have permissions to write to the Serial port. To solve this I followed issue https://github.com/trabucayre/openFPGALoader/issues/245 and added the following lines to/etc/udev/rules.d/99-openfpgaloader.rules
:The current issue I am having trouble solving is
unable to open ftdi device: -6 (ftdi_usb_reset failed)
. There does not seem to be much information about it.Any help is appreciated, Thank you in advance :)
Best, Pedro
Ps: openFPGALoader v0.11.0