You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That depends on the board and how many LEDs are configured. Boards with one LED will flash it three times for FS reset. Boards with three or more LEDs (eg pyboard) count in binary on LED2 and LED3 so FS reset is when both are on. Boards with two LEDs also count in binary but you only see bit 0. When LED2 comes on count is 1. When it goes out count is 2. When it comes on again count is 3. So FS reset is second flash. Many Nucleo boards only have two LEDs.
I can confirm that the filesystem reset doesn't work on my PYBV11 with the latest master and that the filesystem reset works properly on my PYBV11 with PR #6904
Activity
chrismas9 commentedon Feb 15, 2021
Release User Button after 3 flashesThat depends on the board and how many LEDs are configured. Boards with one LED will flash it three times for FS reset. Boards with three or more LEDs (eg pyboard) count in binary on LED2 and LED3 so FS reset is when both are on. Boards with two LEDs also count in binary but you only see bit 0. When LED2 comes on count is 1. When it goes out count is 2. When it comes on again count is 3. So FS reset is second flash. Many Nucleo boards only have two LEDs.
braiden commentedon Feb 15, 2021
My board, WeAct_F411CE, has 1 led, active low. So three flash, reset_mode = 3 I believe, and PR should resolve.
Maybe the bug exists only for boards where
MICROPY_HW_USES_BOOTLOADERis false.dhylands commentedon Feb 15, 2021
I can confirm that using the latest master than the file system reset no longer works on my PYBV11 board.
I'm releasing when both orange and green LEDs are lit and the files listed in my filesystem before the reset are still there after the reset.
dhylands commentedon Feb 15, 2021
I can confirm that the filesystem reset doesn't work on my PYBV11 with the latest master and that the filesystem reset works properly on my PYBV11 with PR #6904
dpgeorge commentedon Mar 10, 2021
Thanks for the report, and sorry it took a bit of time to get to it.
stm32/main: Fix passing state.reset_mode to init_flash_fs.
stm32/main: Fix passing state.reset_mode to init_flash_fs.
stm32/main: Fix passing state.reset_mode to init_flash_fs.