mirror of
https://github.com/litex-hub/litex-boards.git
synced 2025-01-03 03:43:36 -05:00
prog: Add generic openocd_usb_blaster/2 OpenOCD config files.
This commit is contained in:
parent
a0b7811c54
commit
33d1569fb8
2 changed files with 20 additions and 0 deletions
10
litex_boards/prog/openocd_usb_blaster.cfg
Normal file
10
litex_boards/prog/openocd_usb_blaster.cfg
Normal file
|
@ -0,0 +1,10 @@
|
|||
source [find interface/altera-usb-blaster.cfg]
|
||||
|
||||
if { [info exists CHIPNAME] } {
|
||||
set _CHIPNAME $CHIPNAME
|
||||
} else {
|
||||
# FIXME: Avoid specific chip.
|
||||
set _CHIPNAME 10m50
|
||||
}
|
||||
|
||||
jtag newtap $_CHIPNAME tap -irlen 10
|
10
litex_boards/prog/openocd_usb_blaster2.cfg
Normal file
10
litex_boards/prog/openocd_usb_blaster2.cfg
Normal file
|
@ -0,0 +1,10 @@
|
|||
source [find interface/altera-usb-blaster2.cfg]
|
||||
|
||||
if { [info exists CHIPNAME] } {
|
||||
set _CHIPNAME $CHIPNAME
|
||||
} else {
|
||||
# FIXME: Avoid specific chip.
|
||||
set _CHIPNAME 10m50
|
||||
}
|
||||
|
||||
jtag newtap $_CHIPNAME tap -irlen 10
|
Loading…
Reference in a new issue