Skip to main content
Use this page to choose how the Monitor reads firmware output and sends input. Pick the transport that matches how your firmware talks to the host, then follow its guide for setup. Every transport runs in a Serial Monitor tab, and Embedder can read what a tab already captured or wait for a specific message.

Choose a transport

For Bluetooth Low Energy peripherals, use the Monitor’s Bluetooth tab instead. Before you connect, check what the transport needs and what connecting does to the target:
  • UART: opening the port can restart a board that wires DTR or RTS to reset.
  • RTT: the Monitor reads RTT through a J-Link connected to your computer. For a board on a remote bridge, Embedder takes a time-limited RTT capture instead, and only after it has flashed the firmware in the same session.
  • ITM and SWO: you need the target’s CPU clock and SWO rate to connect.
  • xSCOPE: a new connection loads and runs the selected .xe, replacing the running program, unless a debugger session already holds the xTAG.
  • CAN: follow the SLCAN or fdcanusb guide for your adapter before you connect.

Open a Serial Monitor tab

  1. Run Embedder: Open Embedder Monitor from the Command Palette.
  2. Select + to open a new tab, then choose Serial Monitor under Views.
  3. Select the port chip at the start of the toolbar. It shows the selected port and its settings.
  4. Choose a port under Port, then fill in the settings that appear below the list.
  5. Select Connect.
The Port list shows each transport’s entries: Ports on a remote bridge start with bridge: and the bridge name, such as bridge:lab-pi:/dev/ttyUSB0. The settings below the Port list change with the port. A UART port shows Mode, Baud, and Line ending, and RTT, ITM, and xSCOPE ports show their own settings. Connect stays unavailable until the required settings are filled in, such as an RTT Device, or an ITM Target, CPU, and SWO. In the terminal UI, use the browser Monitor or the serial sidebar instead. See Use the terminal UI.

Work with the output

The tab’s toolbar works the same way for every transport: When the Monitor is narrow, the filter box collapses to a search icon, Record shows only its dot, and Timestamps and Clear serial monitor move into the ⋯ (Serial actions) menu.

Record output to a file

Use Record to keep a log of one run, such as a boot sequence or a soak test, as a file you can open, share, or hand to Embedder.
  1. Connect the tab, then select Record in its toolbar. The button shows the elapsed time while it records.
  2. Reproduce the behavior you want to keep.
  3. Select the button again to stop. Closing the tab also stops the recording.
A recording holds the lines the tab receives between start and stop, on any transport. Output that was already in the tab isn’t included. Embedder saves each recording in its own folder under .embedder/captures/ in your project, grouped by chat session: When you stop, the Monitor sends the recording to your chat as Monitor capture completed, and Embedder replies with what it finds in the output. From a long recording, Embedder receives the most recent 50,000 characters. The complete log stays in serial.log. If no chat is available, the Monitor shows Capture saved, but no active chat is available to analyze it. To use a recording later, open serial.log in the editor, or name it in a request:
The Plot, Debug Output, and Bluetooth tabs also have Record, but it works differently: it runs a recording script from .embedder/hardware/captures/. The first time you select it on one of those tabs, the Monitor sends Set up Monitor capture to your chat so Embedder can write the script. Select Record again when Embedder finishes.

When Embedder uses a port

When Embedder opens a port to capture output, the Monitor connects a Serial Monitor tab to the same port so you can watch it. It reuses a tab that’s already connected to that port, or opens a new tab if the active one is busy. The Monitor holds up to 10 tabs. Before flashing, Embedder releases the serial ports so the flasher can use them. Affected tabs show Paused and reconnect when the port is free again.

Read history without reconnecting

Ask Embedder to read what a tab already captured when the event may already have happened. Embedder doesn’t reopen the port, reset the device, or wait for new output. History stays available after you disconnect. Each tab keeps its most recent 50,000 lines, and clearing or closing the tab discards them.
For future output, ask for a live capture and give a stop string or a duration: A live capture starts with any output the tab collected since Embedder last read it, then adds new output. If the stop string is already in that collected output, Embedder reports it without waiting.

Use the terminal UI

The terminal UI gives you two ways to watch a port:
  • The Monitor in a browser. Run /monitor or press Alt+M. The Monitor opens in a browser on the computer that runs Embedder, and its Serial Monitor tab works as this page and the transport guides describe. The page is served on 127.0.0.1, so it’s reachable only from that computer.
  • The serial sidebar. Run /serial to show or hide a sidebar beside the conversation. It shows live output and lets you choose the port and its settings. Use it when you can’t open a browser on that computer.
You work the sidebar with the mouse: The settings row changes with the port. An RTT port shows Device:, which opens a searchable J-Link device list, Debug IF: for SWD or JTAG, and Frequency MHz:. An ITM port shows Target:, CPU:, and SWO:. The sidebar’s title shows the transport in use. The sidebar is a viewer. It has no send box, no baud Detect, no Record, no Raw / Decoded switch for CAN, and no RTT block setting for a map file or control block address. For those, open the Monitor with /monitor, or ask Embedder: it can send a command, detect the baud rate, and decode CAN frames from chat. See Use Embedder in the terminal for the rest of the terminal UI.

Troubleshoot

  • Port missing: check the cable, driver, target power, and which machine the device is attached to. For a remote bridge, check the bridge host.
  • Connect is unavailable: select a port and fill in the required settings for it.
  • Connected but silent: check the transport guide’s firmware, channel, and clock requirements.
  • Target state matters: keep the existing connection and read its history before you open another transport or reset the target.
See Live plots for numeric output.
Last modified on November 13, 2026