Skip to content

Conversation

@nvlsianpu
Copy link
Contributor

@nvlsianpu nvlsianpu commented Dec 17, 2024

Enable buffered write for nRF54l RRAM flash driver by default. CONFIG_NRF_RRAM_WRITE_BUFFER_SIZE=1 means that write will be buffered by 16 B buffer (native RRAM write-bock-size).
This allows optimal life-endurance of RRAM memory.

For reference" DTS declares 16 write-block-size alredy.

Upstream PR #: 83122
zephyrproject-rtos/zephyr#83122

@nvlsianpu nvlsianpu force-pushed the d_nrf54l/rram-buffered branch 2 times, most recently from b2390ff to e6f0827 Compare December 22, 2024 17:08
@nvlsianpu nvlsianpu requested a review from anangl January 8, 2025 19:40
Enable buffered write for nRF54l RRAM flash driver by default.
CONFIG_NRF_RRAM_WRITE_BUFFER_SIZE=1 means that write will be buffered
by 16 B buffer (native RRAM write-bock-size).
This allows optimal life-endurance of RRAM memory.

For reference" DTS declares 16 write-block-size already.

Signed-off-by: Andrzej Puzdrowski <[email protected]>
(cherry picked from commit 2cea407)
@nvlsianpu nvlsianpu force-pushed the d_nrf54l/rram-buffered branch from e6f0827 to 0dc172c Compare January 9, 2025 13:40
@nvlsianpu nvlsianpu changed the title [nrf fromlist] drivers/flash/Kconfig.nrf_rram: bufferd write by default [nrf fromtree] drivers/flash/Kconfig.nrf_rram: bufferd write by default Jan 9, 2025
Copy link
Contributor

@MarekPieta MarekPieta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change significantly speeds up MCUboot image swap operation (~10x faster)

@rlubos rlubos merged commit 10ab9b6 into nrfconnect:main Feb 10, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants