Skip to content

Commit c7f0d53

Browse files
Update README.md
1 parent bc4bb04 commit c7f0d53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@ Usage: mdloader [options] ...
4040
```
4141
To detect connected devices ready for programming:
4242

43-
mdloader --list
43+
`mdloader --list`
4444

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

4747
To write firmware to the device:
4848

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

5151
To read firmware from the device:
5252

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

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

0 commit comments

Comments
 (0)