Function Test JTAG #35

Open
opened 5 years ago by jebba · 6 comments
jebba commented 5 years ago
Owner

Function Test JTAG

Function Test JTAG
jebba added this to the 3.0.8 milestone 5 years ago
jebba self-assigned this 5 years ago
jebba added the Function label 5 years ago
jebba commented 5 years ago
Poster
Owner

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

`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`
Ghost commented 5 years ago

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

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
jebba commented 5 years ago
Poster
Owner

@goran-mahovlic Thanks for all the pointers, I'll try to test this week(end?).

@goran-mahovlic Thanks for all the pointers, I'll try to test this week(end?).
jebba commented 5 years ago
Poster
Owner

Per comment in #30, this workaround works for now to get ujprog to work:

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
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>
jebba commented 5 years ago
Poster
Owner

This works now, for example:


$ ~/.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>
Ghost commented 5 years ago

Cool!

So this issue is fixed

Cool! So this issue is fixed
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: forksand/fs-ulx3s#35
Loading…
There is no content yet.