cancel
Showing results for 
Search instead for 
Did you mean: 

EEPROM Emulation not working in code >64K

OldSTMan
Associate II

Split from EEPROM Emulation: meaning of the VirtAddVarTab as this is a new question.


The eeprom emulation in my simple trial sofware is working fine. The code is quite small.

I tried to use this software inside a more complex program, larger than 64K, and the system hangs.

From what I have understood only the first 16K are available for program with the suggested setup.

It is possile to have a setup for eeprom that allows to use more flash program memory?

1 REPLY 1

If your previous question is now resolved, please mark the solution in that thread:

https://community.st.com/t5/community-guidelines/help-others-to-solve-their-issues/ta-p/575256

 


@OldSTMan wrote:

I tried to use this software inside a more complex program, larger than 64K


What STM32 are you using?

Does it have enough Flash for both your code and your emulated EEPROM to be in separate pages?

Have you made sure that they are in separate pages?

 


@OldSTMan wrote:

the system hangs.


So where, exactly, does it hang?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.