{"id":13741628,"url":"https://github.com/cvra/CAN-USB-dongle-fw","last_synced_at":"2025-05-08T21:34:40.767Z","repository":{"id":36009758,"uuid":"40303476","full_name":"cvra/CAN-USB-dongle-fw","owner":"cvra","description":"slcan firmware for the CVRA CAN to USB dongle","archived":false,"fork":false,"pushed_at":"2021-03-23T21:59:29.000Z","size":177,"stargazers_count":36,"open_issues_count":0,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-10T12:39:59.865Z","etag":null,"topics":["c","can-bus","chibios","embedded","slcan-protocol","socketcan","stm32"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cvra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-06T12:25:25.000Z","updated_at":"2024-07-10T08:37:34.000Z","dependencies_parsed_at":"2022-09-09T10:11:33.315Z","dependency_job_id":null,"html_url":"https://github.com/cvra/CAN-USB-dongle-fw","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvra%2FCAN-USB-dongle-fw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvra%2FCAN-USB-dongle-fw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvra%2FCAN-USB-dongle-fw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvra%2FCAN-USB-dongle-fw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cvra","download_url":"https://codeload.github.com/cvra/CAN-USB-dongle-fw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224774939,"owners_count":17367831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","can-bus","chibios","embedded","slcan-protocol","socketcan","stm32"],"created_at":"2024-08-03T04:01:01.096Z","updated_at":"2024-11-15T11:31:36.833Z","avatar_url":"https://github.com/cvra.png","language":"C","funding_links":[],"categories":["Hardware"],"sub_categories":["ARM"],"readme":"# CVRA CAN to USB interface \n\n[![STM32 builds](https://github.com/cvra/CAN-USB-dongle-fw/actions/workflows/build.yml/badge.svg)](https://github.com/cvra/CAN-USB-dongle-fw/actions/workflows/build.yml)\n\n## Usage\n\nuse with SocketCAN\n```\nsudo modprobe can\nsudo modprobe can-raw\nsudo modprobe slcan\n\n# configure CAN interface\nsudo slcan_attach -s8 -o /dev/ttyACM0\nsudo slcand ttyACM0 slcan0\nsudo ifconfig slcan0 up\n\n# use with can-utils\ncansend slcan0 123#2a\ncandump slcan0\n```\n\n## Building \u0026 flashing\n\n```\n# make sure all submodules are initialized\ngit submodule update --init\n\n# building\nmake\n\n# flashing using USB DFU\n# to enter DFU mode, press the button while plugging USB in.\nmake dfu\n```\n\n\n## Supported commands\n\n- 'T', 't', 'R', 'r': send CAN frames\n- 'Sx': set bitrate\n- 'O': open channel\n- 'l', 'L': open in loop back or silent mode\n- 'C': close channel\n- 'V', 'v': hardware and software version\n- 'P', 'p': turn bus power on and off respectively.\n    This is a proprietary extension to the SLCAN protocol.\n    A tool is included to make use of this feature.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvra%2FCAN-USB-dongle-fw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvra%2FCAN-USB-dongle-fw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvra%2FCAN-USB-dongle-fw/lists"}