How elecskku/stm32v3.1 works
This is a Windows command-line client paired with STM32 firmware for transferring files to and from external flash over UART. The principal workflow is to identify the flash, erase it, send a file in acknowledged packets, then read it back and verify its CRC; the client also checks grayscale conversion. The firmware excerpt shows packet reception, flash access, and image conversion, but the README is only a title and excerpts omit some dispatch details. Edges are limited to calls and transfers visible in the excerpts.
Main entry points: main_clean_practice.cpp CLI workflow · main_practice_3rd.c Firmware controller
Components 17
Windows client
- CLI workflow
main_clean_practice.cpp - Serial I/O
main_clean_practice.cpp - Flash ID
main_clean_practice.cpp - File transfer
main_clean_practice.cpp - File restore
main_clean_practice.cpp - Flash verify
main_clean_practice.cpp - Gray check
main_clean_practice.cpp
STM32 firmware
- Firmware controller
main_practice_3rd.c - UART receive
main_practice_3rd.c - UART responses
main_practice_3rd.c - Flash operations
main_practice_3rd.c - Image conversion
main_practice_3rd.c - CRC processing
main_practice_3rd.c
External hardware
- PC serial port
- MCU UART
- SPI flash
Other components
- CLI user
Connections 19
- CLI user → CLI workflow: runs
main_clean_practice.cpp - CLI workflow → Flash ID: calls
main_clean_practice.cpp - CLI workflow → File transfer: calls
main_clean_practice.cpp - CLI workflow → File restore: calls
main_clean_practice.cpp - CLI workflow → Flash verify: calls
main_clean_practice.cpp - CLI workflow → Gray check: calls
main_clean_practice.cpp - Flash ID → Serial I/O: uses
main_clean_practice.cpp - File transfer → Serial I/O: sends packets
main_clean_practice.cpp - File restore → Serial I/O: receives data
main_clean_practice.cpp - Flash verify → Serial I/O: exchanges CRC
main_clean_practice.cpp - Serial I/O → PC serial port: reads/writes
main_clean_practice.cpp - PC serial port → MCU UART: transfers bytes
- MCU UART → Firmware controller: delivers bytes
main_practice_3rd.c - Firmware controller → UART receive: arms reception
main_practice_3rd.c - Firmware controller → UART responses: sends responses
main_practice_3rd.c - Firmware controller → Flash operations: writes/reads
main_practice_3rd.c - Flash operations → SPI flash: uses SPI
main_practice_3rd.c - Firmware controller → Image conversion: converts rows
main_practice_3rd.c - Firmware controller → CRC processing: updates CRC
main_practice_3rd.c