`OpenOCD` uses a line like this by default for the LFE-5U-85F (n.b. no "M"):
`jtag newtap lfe5u85 tap -expected-id 0x41113043 -irlen 8 -irmask 0xFF -ircapture 0x5`
I think the LFE-5UM-85F (n.b. with "M") needs:
`jtag newtap lfe5u85 tap -expected-id 0x01113043 -irlen 8 -irmask 0xFF -ircapture 0x5`
EMARD did some changed for ujprog for linux, maybe you can try and check is it working?
https://github.com/emard/ulx3s-bin/tree/master/usb-jtag/linux-amd64
Per comment in #30, this workaround works for now to get `ujprog` to work:
<pre>
usb-jtag/linux-amd64/ftx_prog --max-bus-power 500
usb-jtag/linux-amd64/ftx_prog --manufacturer "FER-RADIONA-EMARD"
usb-jtag/linux-amd64/ftx_prog --product "ULX3S FPGA 12K v3.0.3"
usb-jtag/linux-amd64/ftx_prog --new-serial-number 120001
usb-jtag/linux-amd64/ftx_prog --cbus 2 TxRxLED
usb-jtag/linux-amd64/ftx_prog --cbus 3 SLEEP
</pre>
$ ~/.local/bin/ujprog ./ULX3S-Blinky/TestPattern-ULX3S-85F/ulx3s_85f_ULX3S_85F.bit
ULX2S / ULX3S JTAG programmer v 3.0.92 (built Oct 21 2019 10:26:29)
Using USB cable: ULX3S FPGA 12K v3.0.3
Programming: 100%
Completed in 35.20 seconds.
This works now, for example:
<pre>
$ ~/.local/bin/ujprog ./ULX3S-Blinky/TestPattern-ULX3S-85F/ulx3s_85f_ULX3S_85F.bit
ULX2S / ULX3S JTAG programmer v 3.0.92 (built Oct 21 2019 10:26:29)
Using USB cable: ULX3S FPGA 12K v3.0.3
Programming: 100%
Completed in 35.20 seconds.
</pre>
Function Test JTAG
OpenOCD
uses a line like this by default for the LFE-5U-85F (n.b. no "M"):jtag newtap lfe5u85 tap -expected-id 0x41113043 -irlen 8 -irmask 0xFF -ircapture 0x5
I think the LFE-5UM-85F (n.b. with "M") needs:
jtag newtap lfe5u85 tap -expected-id 0x01113043 -irlen 8 -irmask 0xFF -ircapture 0x5
EMARD did some changed for ujprog for linux, maybe you can try and check is it working?
https://github.com/emard/ulx3s-bin/tree/master/usb-jtag/linux-amd64
@goran-mahovlic Thanks for all the pointers, I'll try to test this week(end?).
Per comment in #30, this workaround works for now to get
ujprog
to work:This works now, for example:
Cool!
So this issue is fixed