README: more dfu util usage instructions

thanks to airwoodix
master
Robert Jördens 2019-06-07 10:17:50 +02:00
parent 826230ca38
commit 102cc06db6
1 changed files with 5 additions and 6 deletions

View File

@ -57,16 +57,15 @@ See https://github.com/sinara-hw/Stabilizer
### Using USB-DFU
* Install the DFU USB tool (`dfu-util`)
* Connect to the Micro USB connector below the RJ45
* Configure the BOOT pins
* Install the DFU USB tool
* **TBD**
* Short JC2/BOOT
* `cargo objcopy --release --bin stabilizer -- -O binary stabilizer.bin` or `arm-none-eabi-objcopy -O binary target/thumbv7em-none-eabihf/release/stabilizer stabilizer.bin`
* `dfu-util -a 0 -s 0x08000000:84092 -D stabilizer.bin` where 84092 is the size of the binary
### Using ST-Link virtual mass storage
* `arm-none-eabi-objcopy -O binary
target/thumbv7em-none-eabihf/release/stabilizer
stabilizer.bin`
* `cargo objcopy --release --bin stabilizer -- -O binary stabilizer.bin` or `arm-none-eabi-objcopy -O binary target/thumbv7em-none-eabihf/release/stabilizer stabilizer.bin`
* Connect the ST-Link debugger
* copy `stabilizer.bin` to the `NODE_H743ZI` USB disk