Prepare the adapter
The Monitor doesn’t set fdcanusb’s bus rates or turn the bus on. Configure the adapter in its serial console first.- Connect the adapter’s USB interface and install any host driver or device-access permissions it needs.
- Connect CAN H, CAN L, and the required reference ground. Check the bus’s termination and voltage requirements.
- Close any other serial program that has the port open.
- In a Serial Monitor tab, select the fdcanusb Port, keep Mode set to UART, set NL to LF (\n), and select Connect.
- Check the current settings by sending these lines one at a time:
conf get can.bitrate,conf get can.fd_bitrate, andcan status.
OK response and mode:BUSON before you continue. These are adapter console commands, not CAN frames. The mjbots protocol reference describes the firmware’s configuration and persistence options.
Connect the CAN Monitor
- Select Disconnect to close the console connection.
- Set Mode to CAN.
- Confirm that the tab shows Bitrate: device-managed instead of a Bitrate list.
- Select Connect.
FD and BRS markers. Use CAN Monitor decoding to apply a project database profile.
Send a deliberate test frame
Review the receiver, ID, payload, and expected effect before you send. These examples show the accepted input syntax; replace them with frames for your bus. The short form takes hexadecimalid#data:
The tab’s echo of a native
bf send is labeled FD even though lowercase f requests classic format. Check the actual frame format in received bus traffic.
Use only payload lengths that are valid for the frame format and the adapter firmware, up to 64 bytes. The send box accepts can send but no other console commands. Send configuration commands in UART mode, as described above.
Troubleshoot
- A Bitrate list appears in CAN mode: the selected port didn’t identify itself as fdcanusb, so the tab uses the SLCAN protocol. Check that you selected the right port.
- No frames: in the adapter console, check
can status, the arbitration and data rates, filters, bus activity, wiring, and termination. - Configuration rejected: send
can offbefore you change configuration, thencan on. - Console commands unrecognized: confirm that the installed firmware implements the linked mjbots USB CDC protocol.
remote frames are not supported on fdcanusb: send a data frame instead.- Wrong frame format: use the native form with
bf,bF, orBF, and check the resulting traffic. [CAN send failed: ...]: check for hexadecimal byte pairs, the frame format’s length limits, and the 64-byte maximum.