Skip to main content
Set a Serial Monitor tab’s Mode to CAN when a USB serial adapter carries CAN traffic. Read raw frames first, decode them with your bus or ECU database, and send test frames only when a test requires it.

Choose the adapter

Embedder uses the fdcanusb protocol when the serial device identifies itself as fdcanusb. It treats any other adapter as SLCAN, so the adapter’s firmware must implement that protocol. Follow the adapter guide before you read or send.

Read frames

In the terminal UI, run /monitor to follow these steps in a browser, or use the serial sidebar. See Use the terminal UI.
  1. Open a Serial Monitor tab. See Open a Serial Monitor tab.
  2. Select the port chip at the start of the toolbar, then choose the adapter under Port.
  3. Set Mode to CAN. Changing the mode disconnects an active connection.
  4. For SLCAN, choose the bus Bitrate. For fdcanusb, the bus rates must already be set on the adapter. See Prepare the adapter.
  5. Select Connect.
Each frame shows its ID, payload length in brackets, and bytes, such as 123 [4] DE AD BE EF. Extended IDs show eight hex digits. CAN-FD frames add FD and, with bitrate switching, BRS. Remote requests show remote request instead of bytes.

Decode signals

Embedder decodes payloads from your CAN database: DBC, KCD, SYM, or AUTOSAR XML (ARXML).
When you ask Embedder to read CAN traffic, it first looks for a database in the project and tells you which one it chose. It treats your database as the source of truth and never changes it. If it finds none, it asks you for a file. It infers definitions from source code only after you confirm, and then reports which source files each definition came from. Embedder writes a Monitor profile to .embedder/can/codebase-derived.json. To compare decoder versions, keep each version as a separately named .json file in .embedder/can/. The Monitor picks up changes to these files automatically. Use the tab’s CAN controls: Check the message ID, standard or extended format, length, byte order, scaling, and units against a known frame before you trust decoded values.

Send a test frame

CAN transmissions can change ECU state or command actuators. Identify the bus, receiver, ID, payload, and expected effect before you send.
Read and decode first. Send only when the test explicitly requires it. Type the frame in the send box, which shows CAN frame: <id>#<data> or can send <id> <data> [flags], and press Enter. Replace the example with the reviewed frame for your bus. See the SLCAN send rules for extended IDs and remote requests, and the fdcanusb send rules for classic, FD, and BRS flags. The tab echoes each sent frame on a line starting with >. Input it can’t encode shows [CAN send failed: ...] with the reason. A submitted frame doesn’t prove the receiving application acted on it.

Interpret results

Keep raw bytes alongside decoded values. A frame without a matching definition stays raw; don’t assume its application meaning. Higher-level protocols such as J1939, CANopen, ISO-TP, or UDS need their own project definitions. Raw CAN framing alone doesn’t identify them.

Troubleshoot

  • No frames: check the adapter firmware, bus bitrate, wiring, termination, and bus activity.
  • Decoded is unavailable: no profile exists in .embedder/can/, or the selected profile isn’t valid JSON. Ask Embedder to prepare or regenerate the profile from your database, or choose another profile.
  • All frames stay raw: confirm the selected profile and that its message IDs and lengths match the traffic.
  • Wrong decoded values: check byte order, bit positions, signedness, scale, and offset.
  • Adapter errors: read the reported bus status before you transmit or change configuration.
Use a logic analyzer or an oscilloscope when you need to inspect the electrical signal.
Last modified on November 13, 2026