Skip to content

Commit e89a10d

Browse files
committed
Minor documentation updates.
1 parent 750c8f6 commit e89a10d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/flash-OTP.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,16 @@ It is possible to create a binary image of the content for the OTP area. The res
3030

3131
To compile the otp-keystore-gen tool using the current keystore content:
3232

33-
```
33+
```sh
3434
make otpgen
3535
```
3636

3737
And then, to create the image file `otp.bin`:
3838

39-
tools/keytools/otp/otp-keystore-gen
39+
40+
```sh
41+
./tools/keytools/otp/otp-keystore-gen
42+
```
4043

4144

4245
## Directly provisioning the public keys to the OTP area (primer)
@@ -110,9 +113,9 @@ make keytools
110113
- Flash `wolfboot.bin` at `0x0C000000`
111114
- Flash `test-app/image_v1_signed.bin` at `0x08040000`
112115

113-
13) Disconnect and reboot, the red LED should turn on.
116+
11) Disconnect and reboot, the red LED should turn on.
114117

115-
14) Connect to USB UART on NUCLEO board for console
118+
12) Connect to USB UART on NUCLEO board for console
116119

117120
Explore the command line (run help)
118121

@@ -137,7 +140,7 @@ update : update the firmware via XMODEM
137140
reboot : reboot the system
138141
```
139142

140-
15) Test Update
143+
13) Test Update
141144

142145
- Sign a new version of the firmware: `./tools/keytools/sign --lms test-app/image.bin wolfboot_signing_private_key.der 2`
143146
- Run "update" command on the shell and wait for xmodem transfer

0 commit comments

Comments
 (0)