Skip to main content
Visitor II
October 1, 2025
Question

STM32F4, NVS with Zephyr

  • October 1, 2025
  • 2 replies
  • 256 views

I am running into some issues standing up a basic non-volatile storage access with zephyr on the STM32F413ZH board.  

I am trying to provision for 128 bytes at sector 0x08C0000 but for soem reason the offset keeps jumping to the end of the Flash memory 

flash_stm32: Read range invalid. Offset: 1572864, len: 8

Has anyone run into this or something similar? 

 

thanks!

2 replies

Technical Moderator
October 2, 2025

Hello @gennasenencal 

Your issue has been reported internally. We will get back to as soon as possible. 

Internal ticket number: 218815 (This is an internal tracking number and is not accessible or usable by customers).

"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.Saket_Om"
Technical Moderator
December 8, 2025

Hello @gennasenencal 

The stm32f413zh has 1.5MB of flash memory addressed in the range 0x0800 0000 - 0x0817 FFFF. So that sector 0x08C0000 is out of any flash memory space.

Could you please confirm the address to read ?

"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.Saket_Om"