FreeRTOS / iot-reference-stm32u5

MIT License
42 stars 29 forks source link

TZ-enable support in STM32U5 OB writing script #10

Closed grdSTM closed 2 years ago

grdSTM commented 2 years ago

The first patch fixes the TZ enabling in the case of a first activation of the secure options: The secure options cannot be written before TZEN has actually been set.

The second patch is an optimization: Since the RDP regression automatically involves a mass-erase of the user flash, there is not need to erase before the RDP regression.

paulbartell commented 2 years ago

@grdSTM Thanks for finding this. It's been causing me some confusion the last couple days.