Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
just-another-jxliu authored Aug 23, 2018
1 parent bc4bb04 commit c7f0d53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ Usage: mdloader [options] ...
```
To detect connected devices ready for programming:

mdloader --list
`mdloader --list`

Assume for example the listing included a device at port name THE_PORT

To write firmware to the device:

mdloader -p THE_PORT -D new_firmware.bin
`mdloader --port THE_PORT --download new_firmware.bin --restart`

To read firmware from the device:

mdloader -p THE_PORT -U read_firmware.bin --addr 0x4000 --size 0x10000
`mdloader --port THE_PORT --upload read_firmware.bin --addr 0x4000 --size 0x10000`

Test mode may be used to test operations, just use the -t or --test switch.
Test mode also allows viewing of binary data from a read instead of writing to a file.
Expand Down

0 comments on commit c7f0d53

Please sign in to comment.