Skip to content

Add CANbus bootloader #5

Description

@dzid26

CANbus programming shall be enabled by magic packet/on a specific CAN message id and when motor is not off (essentially whenA4950_Enabled == false)

Implementations:
https://github.com/feaser/openblt - has built in XCP, supports CAN dongles on the host, uses ST HAL
https://github.com/Arksine/CanBoot
https://github.com/UberLambda/CANnuccia
https://github.com/madprogrammer/stm32-can-bootloader
https://stackoverflow.com/questions/61243660/stm32103-custom-bootloader-jump-to-main-firmware-issue

Todo:

  • more ROM needed. Currently, Params 1k, Calibration 1k and Fast calibration 32k takes up most of 64k memory and most of the remaining is Program
  • Create folder containing bootloader outside of /firmware.
  • Create platformio build script (platformio run) for the firmware and CAN uploading using panda

https://github.com/iglooom/can-uds-bootloader

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions