Menu Description
? Help menu with latest menu and syntax options.
I Hardware, firmware, microcontroller version information.
M Set bus mode (1-Wire, SPI, I2C, JTAG, UART, etc).
B Set PC side serial port speed.
O Data display format (DEC, HEX, BIN, or raw).
V Power supply voltage report (v1+ hardware only).
F Measure frequency on the AUX pin. (1Hz-40MHz)
G Frequency generator/PWM on the AUX pin. (1kHz-4MHz)
C Toggle AUX control between AUX and CS/TMS pins.
L Set LSB/MSB first in applicable modes.
P Pull-up resistors (V0,V2+ hardware).
= Convert HEX/DEC/BIN number format (firmware v2.1+).
~ Perform a self-test (firmware v2.0+).
# Reset (firmware v2.0+).

Menu options are single character commands that configure the Bus Pirate. Press enter to show the command prompt if your terminal is blank.

HiZ>p
Command not used in this mode
HiZ>

Enter a command, followed by <enter>, to access the menu. Most configuration and option prompts have a default value shown in (). Press enter to select the default option. Some options are unavailable in some modes, for example bit order configuration and pull-up resistors.

? Help menu with latest menu and syntax options

Print a help screen with all available menu and syntax options in the current firmware and hardware.

I Hardware, firmware, microcontroller version information

HiZ>i <<<info command
Bus Pirate v3 <<<hardware version
Firmware v3.0 <<<firmware version
DEVID:0x0447 REVID:0x3042 (B4) <<<PIC chip version
http://dangerousprototypes.com <<<update URL
HiZ>

Show the hardware, firmware, and microcontroller version. Microcontroller version is available in firmware v2.1+.

*———-*
POWER SUPPLIES OFF
Voltage monitors: 5V: 0.0 | 3.3V: 0.0 | VPULLUP: 0.0 |
a/A/@ controls AUX pin
Normal outputs (H=V+, L=GND)
Pull-up resistors ON
MSB set: MOST sig bit first
*———-*
RAW2WIRE>

If a bus mode is configured, additional information may be available.

M Set bus mode (1-Wire, SPI, I2C, JTAG, UART, etc)

HiZ>m <<<mode command
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. JTAG
7. RAW2WIRE
8. RAW3WIRE
9. PC KEYBOARD
10. LCD
(1) >1
Mode selected
HiZ>

Select a bus mode. The command resets the Bus Pirate and immediately disables all pins, pull-up resistors, and power supplies.

The default mode is HiZ, a safe mode with all pins set to high-impedance and all peripherals disabled.

B Set PC side serial port speed

HiZ>b
Set serial port speed: (bps)
1. 300

9. 115200
(9) >9
Adjust your terminal and press space to continue
HiZ>

O Data display format (DEC, HEX, BIN, or raw)

HiZ>o
1. HEX
2. DEC
3. BIN
4. RAW
(1) >1
Display format set
HiZ>

V Power supply voltage report

1-WIRE>v
Voltage monitors: 5V: 4.9 | 3.3V: 3.2 | VPULLUP: 0.0 |
1-WIRE>

(v1+ hardware only)

F Measure frequency on the AUX pin

HiZ>f
Frequency on AUX pin: 50Hz
HiZ>

Measures frequency from 0Hz to 40MHz.

G Frequency generator/PWM on the AUX pin

HiZ>g
1KHz-4,000KHz frequency generator/PWM (beta)
Frequency in KHz (50) >400
Prescale:1
PR2:39
Duty cycle in % (50) >
PWM active
HiZ>

Enable the frequency generator, set frequency and duty cycle. Frequencies from 1kHz to 4MHz possible.

HiZ>g
PWM disabled
HiZ>

Use g again to disable the PWM.

C Toggle AUX control between AUX and CS/TMS pins

RAW2WIRE>c
AUX commands control
1. AUX (default)
2. CS/TMS
(1) >2
a/A/@ controls CS/TMS pin
RAW2WIRE>

L Set LSB/MSB first in applicable modes

RAW2WIRE>l
1. MSB first
2. LSB first
(1) >1
MSB set: MOST sig bit first
RAW2WIRE>

P Pull-up resistors

RAW2WIRE>p
WARNING: pins not open drain (HiZ)
1. Pull-ups off
2. Pull-ups on
(1) >2
Pull-up resistors ON
RAW2WIRE>

See the practical guide to Bus Pirate pull-up resistors. (V0,V2+ hardware)

= Convert HEX/DEC/BIN number format

HiZ>=
CONVERT (1) >0x59
0x59
89
0b01011001
HiZ>

Firmware v2.1+

~ Perform a self-test

HiZ>~
Disconnect any devices
Connect (Vpu to +5V) and (ADC to +3.3V)
Press a key to start

Perform a hardware self-test. Firmware v2.0+, hardware v2go and v3 only.

# Reset

HiZ>#
RESET

Bus Pirate v3
Firmware v3.0-nightly
DEVID:0x0447 REVID:0x3042 (B4)
http://dangerousprototypes.com
HiZ>

Reset the Bus Pirate. Firmware v2.0+

Advertisements