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.
- Open a Serial Monitor tab. See Open a Serial Monitor tab.
- Select the port chip at the start of the toolbar, then choose the adapter under Port.
- Set Mode to CAN. Changing the mode disconnects an active connection.
- For SLCAN, choose the bus Bitrate. For fdcanusb, the bus rates must already be set on the adapter. See Prepare the adapter.
- Select Connect.
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)..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
Read and decode first. Send only when the test explicitly requires it. Type the frame in the send box, which showsCAN 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.