AnsweredAssumed Answered

, IAP in stm32f429 (custom board and firmware)

Question asked by harry anders on Feb 19, 2018
Latest reply on Feb 21, 2018 by harry anders

I am writing a custom firmware for a stf32m429 MCU. I need about 128Kbytes of EEprom but the ECU has none. Due to security reasons I cannot use external eeprom chips. I was wondering if the following scenario is feasible:

 

While the code is normally being executed I receive some user input and then write this input to one of the MCU flash sectors that I am using as an internal EEPROM?

 

If this is possible, how do I implement this? I've been googling for a few hours and the only example google comes up with is IAP using UART: http://www.st.com/en/embedded-software/stsw-stm32067.html

 

I'm looking for a tutorial or something in the datasheet that explains any relevant IAP commands/registers etc. but I cannot find any!

 

P.S. The EEPROM data is rarely updated (maybe once evey 2-3 months and only a few bytes of it).

Outcomes