Repository navigation
v1.7.0 - LED and SD Card Settings Fix
🎯 Firmware Release v1.7.0
Fixes
- LED Changes Now Work: CV_OUT_2 LED responds to overdrive toggle button B7
- Settings File Creation: SD card now creates (8 bytes) with persistence
- Enhanced Diagnostics: Clear LED feedback patterns (2 quick = success, 4 slow = SD error)
Root Cause
The SDSettings storage object was placed in AXI SRAM with which caused FatFS mount state corruption due to NOLOAD attribute preventing proper initialization.
Technical Changes
- Removed problematic SRAM section placement from SDSettings
- Moved storage object to regular RAM to preserve mount state
- Added explicit LED state tracking and filesystem remount logic
- Enhanced error diagnostics distinguish different SD failures
LED Feedback Patterns
- 2 quick pulses: Settings saved successfully
- 4 slower pulses: SD card mount error (happens when card removed/reinserted)
- 3 medium pulses: File write failure
- 5 very slow pulses: Filesystem mount failure
Your firmware now reliably handles SD card settings with clear visual diagnostics. Settings persist across reboots and CV_OUT_2 LED provides visual feedback for overdrive state.
Built using STM32H750 toolchain.