Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: update usage #7

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ https://www.ti.com/lit/pdf/slaae88

## Usage

Usage: ./mspm0flash [options] <CMD> <fw-bin-file>
Usage: ./mspm0flash [options] <CMD>

Flash and verify firmware binary to a TI MSPM0L microcontroller.

Expand All @@ -25,11 +25,13 @@ https://www.ti.com/lit/pdf/slaae88

-I, --i2c DEVICE Using given I2C DEVICE for communication.

-S, --serail DEVICE Using given serial DEVICE for communication.
-S, --serial DEVICE Using given serial DEVICE for communication.

-n, --no-script Do not execute init/exit script.

-s, --dont-start Do not start the application after programming.
-l, --length Length of CRC to calculate.

-s, --do-start Start the application after programming.

-v, --verbose Increase verbosity, can be set multiple times.

Expand All @@ -41,6 +43,7 @@ https://www.ti.com/lit/pdf/slaae88
prog <fw-bin-file> Program the firmware data.
info Display the device info.
erase Erase the full flash.
crc [<fw-bin-file>] Calculate the CRC or read from device.

### Program

Expand Down