Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GiUCAN, a minimalistic version of BACCAble providing a subset of functionalities for Alfa Romeo Giulia and Stelvio: Smart Start and Stop disabling, DPF regeneration warnings, Dashboard info display

License

Notifications You must be signed in to change notification settings

anegrin/GiUCAN

 
 

Repository files navigation

GiUCAN Firmware

This repository contains sources for GiUCAN, a minimalistic version of BACCAble for Alfa Romeo Giulia and Stelvio; it's interacting with C1 nad BH bus only and providing this subset of functionalities:

  • Smart Start and Stop disabling ✔
  • DPF regeneration warnings ✔
  • Dashboard info display ✔

It's tested and documented using FYSETC UCAN ONLY; as it's derived from Canable-fw it should work with other STM32F0x based boards with minimal changes.

DISCLAIMER

GiUCAN is an experimental project developed solely for educational and research purposes. It is strictly prohibited to use this tool on vehicles operating on public roads or in any manner that may pose a risk to public safety, violate laws or regulations, or cause harm to people or property.

The developer of GiUCAN assumes no liability for any damages, malfunctions, legal issues, or other consequences arising from its use. All responsibility lies with the end user, who assumes full civil, criminal, and legal liability for any misuse.

Do not use this project in real-world vehicle control or autonomous driving applications.

Rationale

I'm contributing to the BACCAble repository, I'm keeping this one strictly target to my needs; the goal is to use it as a learning playground. Please check the amazing BACCAble project!

Supported Commands in CANable mode

  • O - Open channel
  • C - Close channel
  • S0 - Set bitrate to 10k
  • S1 - Set bitrate to 20k
  • S2 - Set bitrate to 50k
  • S3 - Set bitrate to 100k
  • S4 - Set bitrate to 125k
  • S5 - Set bitrate to 250k
  • S6 - Set bitrate to 500k
  • S7 - Set bitrate to 750k
  • S8 - Set bitrate to 1M
  • M0 - Set mode to normal mode (default)
  • M1 - Set mode to silent mode
  • A0 - Disable automatic retransmission
  • A1 - Enable automatic retransmission (default)
  • TIIIIIIIILDD... - Transmit data frame (Extended ID) [ID, length, data]
  • tIIILDD... - Transmit data frame (Standard ID) [ID, length, data]
  • RIIIIIIIIL - Transmit remote frame (Extended ID) [ID, length]
  • rIIIL - Transmit remote frame (Standard ID) [ID, length]
  • V - Returns firmware version and remote path as a string

Note: Channel configuration commands must be sent before opening the channel. The channel must be opened before transmitting frames.

This firmware currently does not provide any ACK/NACK feedback for serial commands.

Building, Flashing and Debugging

Please read Canable-fw README.md as make will build SLCAN firmware by default.

Plaese read GiUCAN GitHub Pages to learn about:

  • Hardware and connections
  • Building for SLCAN, C1CAN and BHCAN
  • Flashing using STM32CubeProgrammer
  • Customizing build for small displays, gasoline etc.
  • Configure already built firmware (via settings.ini)

License

Creative Commons Attribution-NonCommercial 4.0 International License

Copyright (c) 2025 Alessandro Negrin

This work is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc/4.0/.

You are free to:

  • Share: Copy and redistribute the material in any medium or format
  • Adapt: Remix, transform, and build upon the material

Under the following terms:

  • NonCommercial: You may not use the material for commercial purposes.

No additional restrictions: You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.

See LICENSE.md for licenses about other software this one is derived from.

About

GiUCAN, a minimalistic version of BACCAble providing a subset of functionalities for Alfa Romeo Giulia and Stelvio: Smart Start and Stop disabling, DPF regeneration warnings, Dashboard info display

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • C 99.6%
  • Other 0.4%