2022-06-12 16:50:59 -05:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2010-03-08 06:45:14 -06:00
|
|
|
#
|
|
|
|
# Buspirate with OpenOCD support
|
|
|
|
#
|
|
|
|
# http://dangerousprototypes.com/bus-pirate-manual/
|
|
|
|
#
|
|
|
|
|
2019-08-23 08:49:58 -05:00
|
|
|
adapter driver buspirate
|
2010-03-08 06:45:14 -06:00
|
|
|
|
|
|
|
# you need to specify port on which BP lives
|
2021-08-01 07:05:19 -05:00
|
|
|
#buspirate port /dev/ttyUSB0
|
2010-03-08 06:45:14 -06:00
|
|
|
|
|
|
|
# communication speed setting
|
2021-08-01 07:05:19 -05:00
|
|
|
buspirate speed normal ;# or fast
|
2010-03-08 06:45:14 -06:00
|
|
|
|
|
|
|
# voltage regulator Enabled = 1 Disabled = 0
|
2021-08-01 07:05:19 -05:00
|
|
|
#buspirate vreg 0
|
2010-03-08 06:45:14 -06:00
|
|
|
|
2017-01-25 18:12:18 -06:00
|
|
|
# pin mode normal or open-drain (jtag only)
|
2021-08-01 07:05:19 -05:00
|
|
|
#buspirate mode normal
|
2010-03-08 06:45:14 -06:00
|
|
|
|
|
|
|
# pullup state Enabled = 1 Disabled = 0
|
2021-08-01 07:05:19 -05:00
|
|
|
#buspirate pullup 0
|
2010-03-08 06:45:14 -06:00
|
|
|
|
|
|
|
# this depends on the cable, you are safe with this option
|
|
|
|
reset_config srst_only
|