Skip to main content
Visitor II
October 1, 2025
Question

STM32F4, NVS with Zephyr

  • October 1, 2025
  • 2 replies
  • 255 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!

    This topic has been closed for replies.

    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).

    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 ?