[En-Nut-Discussion] nvmem problems with STM32F103

Ole Reinhardt ole.reinhardt at embedded-it.de
Fri Jul 19 01:01:25 CEST 2013

Hi Achim,

>     Achim> Hi all, I´ve problems using the internal flash memory for storing
>     Achim> some variables in STM32F103. When I call NutNvMemSave the systems
>     Achim> hangs up in IntDefaultHandler.  (FLASH CONF SECTOR = 0x1F800 in
>     Achim> nutconf)
>     Achim> Has anybody already used this function with STM32?  I´ve used the
>     Achim> same function formerly with AT91SAM7X without any problems.
> Achim,
> are you sure there _is_ flash at 0x1F800 for your device? What device are
> you using and what configuration file?

I got a patch from Daniel Rosenthal and applied it to the trunk. It
should enable the NVMEM functionality for the internal flash of the

Could you please test it again? But please check the FLASH_CONF_SECTOR
to point to the last available flash sector).

Best regards,

Ole Reinhardt

kernel concepts GmbH            Tel: +49-271-771091-14
Sieghuetter Hauptweg 48         Mob: +49-177-7420433
D-57072 Siegen

More information about the En-Nut-Discussion mailing list