grapple-lasercan

Crates.iograpple-lasercan
lib.rsgrapple-lasercan
version2024.2.1
sourcesrc
created_at2024-01-21 04:18:33.415572
updated_at2024-01-21 04:34:15.903003
descriptionImplementation of Grapple Robotics' LaserCAN
homepage
repositoryhttps://github.com/GrappleRobotics/LaserCAN
max_upload_size
id1107256
size17,440
Jaci Brunning (JaciBrunning)

documentation

https://docs.rs/grapple-lasercan

README

Grapple LaserCAN

Welcome to the open-source repository for the Grapple LaserCAN! That's right, everything's open source from the board files to the firmware.

Buy Here

Looking for docs?

Project Directories

  • LaserCAN-Board is the KiCAD project that contains the LaserCAN board files.
  • lasercan-common are common libraries used between the firmware and bootloader.
  • lasercan-bootloader is the CAN bootloader for the LaserCAN, written in Rust. The bootloader allows for over-the-air (or over-the-CAN, rather) firmware updates.
  • lasercan-firmware is the actual firmware for the LaserCAN, including sensor measurement and acquisition, CAN communication, and everything else it does!

Loading your own firmware

If you want to load your own firmware onto the LaserCAN, clone this repository and make your changes to lasercan-firmware. You can flash this image to the board by running python build.py firmware and flashing the target/lasercan-firmware-update-VERSION.grplfw file using GrappleHook. NOTE: Be careful about what firmware you flash - custom firmware may brick the firmware update process if you don't have a ST-Link probe handy.

Flashing a new bootloader

If you for whatever reason need to flash a new bootloader, or if a custom firmware has crashed and the watchdog hasn't picked it up, you can flash a new bootloader and firmware by running python build.py flash. This requires an ST-Link v2 compatible probe and a TagConnect TC-2050-NL cable to connect to the debug pads on the bottom of the LaserCAN.

Commit count: 0

cargo fmt