Using the virtual serial, the command is as follows:
O[CR]
- Opens the CAN channelC[CR]
- Closes the CAN channelS0[CR]
- Sets the nominal bit rate to 10kS1[CR]
- Sets the nominal bit rate to 20kS2[CR]
- Sets the nominal bit rate to 50kS3[CR]
- Sets the nominal bit rate to 100kS4[CR]
- Sets the nominal bit rate to 125k (default)S5[CR]
- Sets the nominal bit rate to 250kS6[CR]
- Sets the nominal bit rate to 500kS7[CR]
- Sets the nominal bit rate to 800kS8[CR]
- Sets the nominal bit rate to 1Msddxxyyzz[CR]
- Custom nominal bit rate (60MHz CAN clock)Y0[CR]
- Sets the CANFD data segment bit rate to 500kY1[CR]
- Sets the CANFD data segment bit rate to 1MY2[CR]
- Sets the CANFD data segment bit rate to 2M (default)Y3[CR]
- Sets the CANFD data segment bit rate to 3MY4[CR]
- Sets the CANFD data segment bit rate to 4MY5[CR]
- Sets the CANFD data segment bit rate to 5Myddxxyyzz[CR]
- Custom CANFD data segment bit rate (60MHhz CAN clock)tiiildd...[CR]
- Transmits data frame (standard ID) [ID, length, data]Tiiiiiiiildd...[CR]
- Transmits data frame (extended ID) [ID, length, data]riiil[CR]
- Transmits remote frame (standard ID) [ID, length]Riiiiiiiil[CR]
- Transmits remote frame (extended ID) [ID, length]diiildd...[CR]
- Transmits CANFD standard frames (without BRS enabled) [ID, length, data]Diiiiiiiildd...[CR]
- Transmits CANFD extended frames (without BRS enabled) [ID, length, data]biiildd...[CR]
- Transmits CANFD standard frames (BRS enabled) [ID, length, data]Biiiiiiiildd...[CR]
- Transmits CANFD extended frames (BRS enable) [ID, length, data]V[CR]
- Reads the firmware versionX[CR]
- Enters firmware upgrade mode
[CR]
: 0x0D
(hex), \r
(ascii)
Please find more information in the doc
directory or the wiki.
Use STM32CubeIDE 1.18.0 or later.
Use the upgrade tool in the root repository.
Note: After flashing this firmware, there would be an issue upgrading to another firmware.
You should manually send X[CR]
command before upgrade or force upgrade mode by shorting DIO and GND as described in the root repository.