cancel
Showing results for 
Search instead for 
Did you mean: 

reserving high-cycle flash

mahirmahota
Visitor

What's the difference between enabling high cycle flash from option bytes on an H5 versus just using that section of flash by reserving it in the linker instead, apart from the ECC change?

2 REPLIES 2
Sarra.S
ST Employee

Hello @mahirmahota

Enabling high-cycle flash via option bytes makes it suitable for frequent write/erase cycles with persistent settings across resets, it might impact performance due to ECC adjustments, suitable for data logging or settings that change often.

The 2nd method protects specific flash areas from being overwritten, suitable for bootloaders or critical data storage.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi @Sarra.S 

Is high cycle flash overwritten by firmware updates or would it serve the same role as reserved flash but with finer granularity? When I enable high cycle, does it just reserve the last few sections of memory and turn them into 6KB blocks?