Skip to content

Prototype v02 Logger

Latest

Choose a tag to compare

@NPoole NPoole released this 20 Aug 00:44
19bf61f

Prototype release firmware for CAN Gateway hardware v02

Features:

  • Receives CAN traffic at 250kbps on up to 6 busses simultaneously
  • Logs received CAN frames on inserted SD card
  • Keeps time and timestamps logs using on-board RTC. Set Unix epoch time in the Serial debug menu.
  • CAN traffic live view is available over Serial in the debug menu.
  • Alerts when CAN frames are dropped.

Note:

  • This firmware does not meet "bulletproof" timing for all 6 busses at 250kbps (will drop CAN frames if all busses are fully saturated)
  • Release binary limits log file size to 200MB (at which point a new file begins)
  • Power the board for 24 hours before setting the time in order to charge the RTC backup battery

To use the flash script:

  1. Supply 6.5-36VDC to the CAN Gateway screw terminals (the board is not powered through the USB port)
  2. Connect the CAN Gateway to your computer using a USB-C cable
  3. Download and extract the release .zip file
  4. Edit flash_fw.bat
  5. Change set COM_PORT=COM3 to match the serial port assigned to the CAN Gateway hardware
  6. Run flash_fw.bat