You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-Run `make otpgen` and run `./tools/keytools/otp/otp-keystore-gen` to generate an otp.bin file that can be programmed using STM32CubeProgrammer to `0x08FFF000`.
102
101
103
-
8) Disconnect the tool and reboot
104
-
- The primer will run and flash keystore.c to OTP.
105
-
- Verify you flashed the keystore in OTP
102
+
6) Verify you flashed the keystore in OTP
106
103
- Read memory from STM32CubeProgrammer at address `0x08FFF000` (should start with ASCII "WOLFBOOT")
107
104
108
-
9) Mass erase the device
105
+
7) Setup the option bytes
106
+
- User Configuration 2 -> TrustZone Enable (TZEN=0xB4)
107
+
- Bank1 - Flash Watermark area (SECWM1_START=0x00, SECWM1_END=0x1F)
108
+
- Bank2 - Flash Watermark area (SECWM2_START=0x00, SECWM2_END=0x1F)
109
+
110
+
8) Mass erase the device
109
111
- STM32CubeProgrammer -> Full chip erase
110
112
113
+
9) Build wolfBoot and test application using `make`
0 commit comments