From 9fb8f39b51f5ae659aab06d5324d85ec079d8d35 Mon Sep 17 00:00:00 2001 From: Candas1 Date: Sun, 12 Sep 2021 20:33:30 +0200 Subject: [PATCH] Updated Input Calibration (markdown) --- Input-Calibration.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Input-Calibration.md b/Input-Calibration.md index a7d15e0..99055ab 100644 --- a/Input-Calibration.md +++ b/Input-Calibration.md @@ -45,7 +45,9 @@ In this example: * Input1 was ignored as it was not connected or wasn't moved * Input2 was identified as a normal pot (pedal or throttle handle), and the minimum value is high enough to detect a floating input pulled to ground +The limits will be saved/overwritten in flash memory when you turn the board off by pressing the button. +⚠The limits will be persisted in flash memory even if you flash the firmware again, the only way to delete it is to fully erase the chip in st-utility before flashing.
+An alternative to bypass those limits is to change **FLASH_WRITE_KEY** in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h). -⚠The limits will be stored in flash memory and will be erased only if you fully delete memory before flashing, this can be done by erasing chip in st-link utility.
-An alternative to bypass those limits is to change **FLASH_WRITE_KEY** in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h). \ No newline at end of file +If you have no use of auto-calibration feature and want to turn it off not to accidentally start this mode, you can disable it in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h) by commenting parameter AUTO_CALIBRATION_ENA. \ No newline at end of file