17 General - geo-tp/ESP32-Bus-Pirate GitHub Wiki

General Commands

These commands are available globally, regardless of the active mode.
They are used to manage the firmware, control settings, or switch modes.


🧩 Commands

Command Description
help Show the list of available commands
mode <name> Change the active mode (uart, i2c, etc.)
logic <pin> Enable logic analyzer on the ESP32 display
P Enable internal pull-up resistors
p Disable internal pull-up resistors

📝 Notes

  • You can type mode or m without arguments to select the current mode. You can also type m uart or mode I2C.
  • The P and p commands enable or disable pull-up resistors intelligently, based on the currently active mode.
  • The behavior is context-sensitive and applies only to relevant pins:
Mode Affected Pins Description
UART RX Enables/disables pull-up on receive pin
HDUART IO Enables/disables pull-up on shared I/O
1WIRE DQ Controls pull-up on 1-Wire data line
I2C SDA, SCL Enables/disables pull-ups on both lines
SPI MISO Controls pull-up on MISO input line
Others Pull-ups are not applicable

📌 Example Usage

help
mode uart   # direct switch to UART
m           # select mode
mode        # select mode
m spi       # direct switch to SPI
logic 1     # Logic start on pin 1
P           # enable pull-up
p           # disable pull-up
⚠️ **GitHub.com Fallback** ⚠️