diff --git a/src/hw/stabilizer.md b/src/hw/stabilizer.md index 887c966..a8f24ba 100644 --- a/src/hw/stabilizer.md +++ b/src/hw/stabilizer.md @@ -78,6 +78,19 @@ dfu-util -a 0 -s 0x08000000:leave -R -D dual-iir.bin For normal usage, the stabilizer must be configured with USB console later (try ``help`` command first), to set its IP address and MQTT broker address. However, for general testing (like the one below), you don't need to configure it any further. +### Clearing settings + +In case someone sets some setting wrongly, or updates the firmware and suddenly there's an incompatibility, you may find (firmware, not yourself) in a state of panic, where it will not allow you to change the settings back. + +1. Get into DFU mode (described above), probably with jumper method. +2. Use dfu-util to clear the flash completely: + +``` +dfu-util -a 0 -s 0x08000000:mass-erase:force:leave +``` + +3. Reflash the target firmware. + ## Testing 1. Ensure that the [firmware](#getting-the-firmware) has been flashed onto the Stabilizer