diff --git a/src/hw/stabilizer.md b/src/hw/stabilizer.md index d5c59b0..74df2f9 100644 --- a/src/hw/stabilizer.md +++ b/src/hw/stabilizer.md @@ -62,8 +62,10 @@ With newer firmware with USB serial console: 1. Connect the Stabilizer to power. 2. Connect USB cable to the Stabilizer. -3. Run ``python -m serial /dev/ttyACM0`` to connect the serial port using ``pyserial``. -4. Input ``platform dfu`` in the console. +3. Run ``nix-shell -p python312Packages.pyserial``. +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: @@ -71,7 +73,7 @@ And for both: 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".