serial_config or refresh hardware_status when you are unsure which ports, probes, targets, or XMOS artifacts are available.
Compare the transports
CAN mode also uses a serial port, but it applies a CAN transport codec instead of treating bytes as UART text. See CAN Monitor.
Monitor UART
Select the port, baud rate, and newline convention in the serial view. The standard picker includes rates from300 through 921600, including 74880 for boot logs.
LF,CR,CRLF, or no newline when sending- DTR, RTS, or the ESP-style DTR/RTS reset sequence
- A command-based reset through a flasher or debugger
- Baud detection from observed traffic when the port is not in CAN mode
Monitor SEGGER RTT
RTT reads target memory through J-Link, so it does not consume a UART peripheral or pin. Select:- The J-Link target device name
SWDorJTAG- The probe clock
- An RTT up channel to read
- A down channel when you need to send
_SEGGER_RTT or enter its address. Leave both unset to let J-Link search.
In a hardware script, rtt_read, rtt_read_history, and rtt_send use channel 0. rtt_send appends CRLF.
Monitor ITM and SWO
ITM is a read-only Cortex-M trace transport carried over SWO. Embedder starts OpenOCD with ITM enabled and connects theitm:// view to its TCP output.
The USB detector recognizes these ITM probe families:
- ST-Link V1, V2, V2-1, and V3
- DAPLink
- NXP LPC-Link2
- NXP MCU-Link
- The OpenOCD target
- The CPU clock in hertz
- The SWO frequency in hertz
Monitor XMOS xSCOPE
Embedder exposes anxscope://localhost:12345 endpoint when it detects an XMOS board or xTAG adapter.
Before connecting:
- Install XMOS XTC Tools so
xrunis available. - Build the project to produce a
.xefile. - Set
xmos_xeinEMBEDDER.mdif the project has more than one candidate.
EMBEDDER.md
stop_string and timeout as you would for UART. Baud rate is ignored. DTR and RTS resets are rejected; use a command reset when the target needs one.
xSCOPE is read-only in the Monitor. Sending text is blocked because an xSCOPE print stream is not a UART shell.
For realtime server mode, configure a host decoder:
EMBEDDER.md
xrun --xscope-port {endpoint} {xe} and streams the decoder’s stdout. Keep the .xe path in xmos_xe, not in the client command.
Wait for output without losing history
serial_monitor has two useful modes:
- With a stop string, it waits up to 30 seconds by default.
- Without a stop string, it captures for three seconds by default.
serial_read_history between probes so you do not reopen a port just to read buffered output.
Fix transport problems
UART opens at the wrong baud
UART opens at the wrong baud
Disconnect every view using the port, then reconnect at one rate. A shared serial session cannot change baud while another subscriber owns it.
RTT has no target device
RTT has no target device
Select a J-Link device in the RTT configuration or pass the device name in the request. Confirm that the firmware contains an RTT control block.
ITM is silent
ITM is silent
Verify the OpenOCD target, target support for SWO, CPU clock, SWO frequency, probe wiring, and firmware ITM initialization.
xSCOPE cannot start
xSCOPE cannot start
Check that
xrun is in the XTC environment and that the selected .xe exists. A build without xSCOPE support will not emit xSCOPE output.CAN Monitor
Switch a serial port from UART text to CAN frame handling.
Coverage and trace
Record structured RTT, ITM, or ETM trace sessions.

