Skip to content

Commit bc7d36d

Browse files
committed
udev rules: add missing Altera USB Blaster devices
All Altera USB Blaster devices require a dedicated line in the udev rules, but some USB VID/PID present in interface and board config file is missing in udev rules. Add the missing Altera USB Blaster devices in udev rules. While there, fix an incorrect pair VID/PID that are reported swapped inside a comment. Change-Id: I2d67e90b10db99ef2638405585859c1393456f65 Signed-off-by: Antonio Borneo <[email protected]> Reviewed-on: http://openocd.zylin.com/6102 Tested-by: jenkins
1 parent 5df8488 commit bc7d36d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

contrib/60-openocd.rules

+6
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ ATTRS{idVendor}=="0640", ATTRS{idProduct}=="0032", MODE="660", GROUP="plugdev",
121121

122122
# Altera USB Blaster
123123
ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6001", MODE="660", GROUP="plugdev", TAG+="uaccess"
124+
# Altera USB Blaster2
125+
ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6010", MODE="660", GROUP="plugdev", TAG+="uaccess"
126+
ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6810", MODE="660", GROUP="plugdev", TAG+="uaccess"
124127

125128
# Amontec JTAGkey-HiSpeed
126129
ATTRS{idVendor}=="0fbb", ATTRS{idProduct}=="1000", MODE="660", GROUP="plugdev", TAG+="uaccess"
@@ -166,6 +169,9 @@ ATTRS{idVendor}=="15ba", ATTRS{idProduct}=="002a", MODE="660", GROUP="plugdev",
166169
# Olimex ARM-USB-OCD-H
167170
ATTRS{idVendor}=="15ba", ATTRS{idProduct}=="002b", MODE="660", GROUP="plugdev", TAG+="uaccess"
168171

172+
# ixo-usb-jtag - Emulation of a Altera Bus Blaster I on a Cypress FX2 IC
173+
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="06ad", MODE="660", GROUP="plugdev", TAG+="uaccess"
174+
169175
# USBprog with OpenOCD firmware
170176
ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c63", MODE="660", GROUP="plugdev", TAG+="uaccess"
171177

tcl/board/altera_sockit.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ adapter driver usb_blaster
1212
source [find target/altera_fpgasoc.cfg]
1313

1414
# If the USB Blaster II were supported, these settings would be needed
15-
#usb_blaster_vid_pid 0x6810 0x09fb
15+
#usb_blaster_vid_pid 0x09fb 0x6810
1616
#usb_blaster_device_desc "USB-Blaster II"
1717

1818
adapter speed 100

0 commit comments

Comments
 (0)