CANx device flashing

CANx device flashing #

Firmware files #

Check PCB code on the side label of your device to determine the required firmware.

Follow the guide depening on the MCU type: STM32 or ESP32.

📥︎ Firmware files

CANX-device-label

If you can't find the required firmware, please contact us by email sales@openrb.com

STM32 CANx device flashing #

Download and install STM32CubeProgrammer software.

  1. Disconnect the device from all power supplies and inputs/outputs

  2. Connect USB to the board while holding the programming button. If STM32CubeProgrammer is already running then click refresh (1)

  3. Click open file (2) and select firmware binary file

  4. Select 0x08000000 in the address dropdown (3)

  5. Click Download (4)

STM32CubeProgrammer

If you are experiencing issues during connection and/or programming try connecting your CANx device via a USB2 hub.

ESP32 CANx device flashing #

Download Flash Download Tools

  1. Disconnect the device from all power supplies and inputs/outputs

  2. Connect CANx device to PC via USB while holding the programming button

  3. Run flash_download_tool.exe and select the following values:

  • chipType = ESP32S2
  • workMode = develop
  • loadMode = usb

step3

  1. In SPIDownload tab
  • Tick the checkbox for the first entry in the list
  • Choose the required firmware.bin file and set address (after @) to 0
  • Select correct COM port as detected by the OS
  • Press Start

step4