[En-Nut-Discussion] NutNvMemSave overwrites other data
Stefan Profanter
enut at s.profanter.me
Tue Aug 2 20:56:59 CEST 2011
Hi Ulrich,
thanks for your reply!! Sorry for my rather silly replies but I'm currently
a beginner at Ethernut world.
To 1)
I'm using the existing memory. I don't have added/removed anything to the
Ethernut 3.1D Board since I bought it.
To 2)
There is no settings fort he memory type under "Device Drivers/Non Volatile
Memory". The only thing I can set is "Enable" or "Disable".
As far as I understood the documentation, after reset the external flash
memory is located at address 0x00000000 and internal SRAM at 0x00300000
and the bootloader remaps the location. But this shouldn't affect my
settings, because the bootloader saves the settings correctly and also the
network settings are stored correctly. I can also read and change them. But
before saving I have to reread the memory to avoid overwriting.
To 3)
The RTOS Kernel->Configuration->Location is set to 0.
Network (general) -> Network Configuration -> Location is set to 64
So each of them are default settings.
I have no idea where the problem may be.
Is there a possibility that some internal registers/variables are set when
reading which avoid overwriting when I call save?
Thanks for your help!
Stefan
More information about the En-Nut-Discussion
mailing list