Skip to main content

Firmware

Every FRAME board runs the openUC2 ESP32 firmware (youseetoo/uc2-esp32), built per board. ImSwitch on the Raspberry Pi 5 sends serial JSON to the HAT+ v2 ESP32 (CANopen master, node 1, 921600 Bd) through ESP32Manager / uc2rest; the master forwards each command over CAN to the satellite that owns the device (Connect ImSwitch, Serial & CANopen interface).

BoardImage (env)CAN nodeUpdate via
HAT+ v2 ESP32 (master)UC2_canopen_master1USB-C, web flasher
Motor satellites A/X/Y/ZUC2_canopen_slave_motor10/11/12/13CAN, or USB
Laser boardUC2_canopen_slave_laser20CAN, or USB
LED / illumination boardUC2_canopen_slave_led30CAN, or USB
GalvoUC2_canopen_slave_galvo40CAN, or USB
GPIO / E-stopUC2_canopen_slave_gpio60CAN, or USB

Update and verify​

  1. Stop ImSwitch; it holds the serial port.
  2. Master: flash UC2_canopen_master with the web flasher over the HAT+ USB-C port.
  3. Satellites: update over CAN through the master, without opening the FRAME. A replacement board: add a CAN satellite (flash, set node ID, wire).
  4. Check: ImSwitch UC2ConfigController/getFirmwareInfo shows pindef UC2_canopen_master and fwVersion; the serial command {"task":"/can_act","scan":true} lists every node with its fwVersion.

Node IDs and routing: Boards, roles & node IDs. Hardware: Electronics and controllers. Operator-level steps: Day-1 software install.