Skip to content

firtel-t/pcan_cantact

 
 

Repository files navigation

!ACHTUNG! READ FIRST COPYRIGHT ISSUE

XCAN firmware for STM32F042 / STM32G431 based boards

build workflow

Target Hardware

STM32F042 (bxCAN)

  • CANtact - opensource USB-CAN adapter project make cantact_16
  • CANable - opensource USB-CAN adapter based on CANtact project make canable
  • Entreé - opensource USB-C CAN adapter based on CANable project make entree
  • Ollie - opensource USB-CAN adapter with isolated USB make ollie
  • USB2CAN - InnoMaker USB-CAN analyzer with isolated make usb2can
  • SH-C30G - DSD TECH isolated USB-CAN adapter with 24MHz crystal make sh_c30g
  • Any other STM32F042 based boards with external or internal OSC.

STM32G431 (FDCAN, Classic CAN only - CAN FD not supported)

  • MKS CANable V2.0 - USB-CAN adapter with STM32G431 make mks_canable2
  • Any other STM32G431 based boards with FDCAN + USB.
  • See fork of pcan_pro_x for CAN FD support.

Toolchain

  • GNU Arm Embedded Toolchain

Build

# Build all F042 targets
make

# Build specific F042 target
make canable

# Build USB2CAN (internal oscillator)
make usb2can

# Build SH-C30G (24MHz crystal)
make sh_c30g

# Build G431 target (MKS CANable V2.0)
make mks_canable2

Flash

Simply upload the .bin file via WebUSB DFU — no special tools required.

Hold the BOOT button while connecting USB to enter DFU mode.

License

WTFPL

About

🤖 XCAN firmware for CANtact ( CANable ) or any other similar boards.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 99.5%
  • Other 0.5%