Update stabilizer.md

This commit is contained in:
therobs12 2024-09-25 13:32:40 +08:00
parent 23b172bb6b
commit 746ba53dab

View File

@ -62,8 +62,10 @@ With newer firmware with USB serial console:
1. Connect the Stabilizer to power. 1. Connect the Stabilizer to power.
2. Connect USB cable to the Stabilizer. 2. Connect USB cable to the Stabilizer.
3. Run ``python -m serial /dev/ttyACM0`` to connect the serial port using ``pyserial``. 3. Run ``nix-shell -p python312Packages.pyserial``.
4. Input ``platform dfu`` in the console. 4. Run ``python -m serial /dev/ttyACM0`` to connect the serial port using ``pyserial``.
5. Input ``platform dfu`` in the console.
6. Run ``nix-shell -p dfu-util``.
And for both: And for both:
@ -71,7 +73,7 @@ And for both:
6. Flash the device with the following command: 6. Flash the device with the following command:
``` ```
dfu-util -a 0 -s 0x08000000:leave -R -D dual-iir.bin dfu-util -a 0 -s 0x08000000:leave -R -D stabilizer-dual-iir.bin
``` ```
7. Look for "File downloaded successfully". 7. Look for "File downloaded successfully".