blob: 8d8584651055904f9bf89edc7e0707ebf3144da5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# =========================================================
# What: BusPirate Version 3b with OpenOCD support
# Using: USB serial on COM port 13
# JTAG: <available pins & description>
# See: http://dangerousprototypes.com/docs/Bus_Pirate_JTAG_connections_for_OpenOCD
# Note: 1) If you have "normal" mode AND "0" pullup,
# THEN do not connect Vpu & VTref!
# 2) Cygwin uses serial USB COM ports as:
# /dev/ttyS[N-1] == /dev/comN
# Make sure it's not already used with
# any other terminal or programs...
# =========================================================
interface buspirate
# Not yet implemented properly...
#transport select jtag
# Set the serial port to be used:
buspirate_port /dev/buspirate
#buspirate_port /dev/ttyS12
# Set "normal" or "fast" (~1 MHz)communication speed:
buspirate_speed normal
# Turn OFF the voltage regulator:
#buspirate_vreg 0
# ---------------------------------------------------------
# Remember that VTref (Vcc) is connected to pull-up's.
# If you are NOT using pull-up's with "normal" drain
# pin-mode, then do NOT connect Vpu to VTref!
# ---------------------------------------------------------
buspirate_mode normal
buspirate_pullup 0
# ---------------------------------------------------------
#buspirate_mode open-drain
#buspirate_pullup 1
# ---------------------------------------------------------
# This depends on the cable, you are safe with this option:
reset_config srst_only
|