How squadracorsepolito/scanner works
SCanner is STM32H743 firmware for capturing vehicle CAN traffic, providing live telemetry, and retaining logs for later analysis. The documented user flow is to connect the device to the vehicle bus, power it on, then access live data with Cannelloni or retrieve stored logs. The main source excerpt confirms peripheral initialization and scheduler startup; README statements support the product-level data flows. Task-level CAN handling and logging details are not shown, so those internal connections are left unverified.
Main entry points: main.c Firmware startup · Src CAN acquisition · lwip.c Network stack · fatfs.c Filesystem
Components 14
Firmware runtime
- Firmware startup
Core/Src/main.c - RTOS tasks
Core/Src/freertos.c
CAN capture
- FDCAN interface
Core/Src/fdcan.c - CAN acquisition
Core/Src
Live telemetry
- Live telemetry
Core/Src - Network stack
LWIP/App/lwip.c - Ethernet interface
LWIP/Target/ethernetif.c - LAN8742 PHY
Drivers/BSP/Components/lan8742/lan8742.c
Blackbox storage
- CAN logger
Core/Src - Filesystem
FATFS/App/fatfs.c - SD card I/O
FATFS/Target/sd_diskio.c - SD-card storage
Other components
- Vehicle CAN bus
- Telemetry client
Connections 15
- Firmware startup → FDCAN interface: initializes
Core/Src/main.c - Firmware startup → RTOS tasks: starts scheduler
Core/Src/main.c - Firmware startup → Network stack: initializes
- Firmware startup → Filesystem: initializes
- Vehicle CAN bus → CAN acquisition: supplies CAN traffic
- CAN acquisition → FDCAN interface: reads frames
- CAN acquisition → CAN logger: records traffic
- CAN acquisition → Live telemetry: provides live data
- Live telemetry → Network stack: uses network stack
- Network stack → Ethernet interface: configures interface
LWIP/App/lwip.c - Ethernet interface → LAN8742 PHY: controls PHY
LWIP/Target/ethernetif.c - Live telemetry → Telemetry client: serves live data
- CAN logger → Filesystem: writes logs
- Filesystem → SD card I/O: uses disk I/O
- SD card I/O → SD-card storage: writes files