Good Day, List!

This mail is call for help, advice and to stir interest.

While playing with open source workflow for FPGA chips
I found with pleasure that not only GoWin FPGAs supported by open
source tools, but also all needed tools easily built on OpenBSD
(working on ports now). yosys, project apycula, nextpnr-gowin,
openFPGAloader all successfully build.

But I can't flash "compiled" bitstream to hardware device with
openFPGAloader.

Here is description of problem:

After building software and attaching HW I can successfully scan usb

found 10 USB device
Bus device vid:pid probe type manufacturer serial product
000 001 0x0000:0x0000 xvc-client Generic none xHCI root hub
001 001 0x0000:0x0000 xvc-client Generic none xHCI root hub
001 005 0x0403:0x6010 FTDI2232 SIPEED FactoryAIOT Pro JTAG Debugger

but cant detect or flash bitstream with next error

doas openFPGALoader -b tangnano9k pack.fs --verbose-level=3
try to open 403 6010 0 0
iProduct : JTAG Debugger
8
b
8
b
fail to read data usb bulk read failed
JTAG init failed with: low level FTDI init failed


here dmesg

    uftdi0 at uhub3 port 3 configuration 1 interface 0 "SIPEED JTAG
Debugger" rev 2.00/5.00 addr 5 ucom0 at uftdi0 portno 1
    uftdi1 at uhub3 port 3 configuration 1 interface 1 "SIPEED JTAG
Debugger" rev 2.00/5.00 addr 5 ucom1 at uftdi1 portno 2

and also usbdevs outputs

    addr 05: 0403:6010 SIPEED, JTAG Debugger
    full speed, power 90 mA, config 1, rev 5.00, iSerial FactoryAIOT Pro
    driver: uftdi0
    driver: uftdi1


I also posted issue to original github
https://github.com/trabucayre/openFPGALoader/issues/382

Any tips and tricks on how to debug it? Any interest in helping?

-- 
Nerfur Dragon
-==(UDIC)==-

Reply via email to