EmBitz
"unused" sector still changes on flashing - Printable Version

+- EmBitz (https://www.embitz.org/forum)
+-- Forum: IDE (https://www.embitz.org/forum/forum-1.html)
+--- Forum: Using EmBitz (https://www.embitz.org/forum/forum-2.html)
+--- Thread: "unused" sector still changes on flashing (/thread-60.html)



"unused" sector still changes on flashing - stm32 - 28-10-2021

Hi,

I'm developing a app for an stm32f4 and I reserved sector 1 in flash for eeprom emulation.
However every time i upload code to the chip it overwrites sector 1.
I changed the linker script by adding a new section in memory and gave it the "noload" attribute.
This didnt help, so im asking whether and how this is possible.
Thanks in advance
Chris


RE: upload only "used" sectors - embitz - 28-10-2021

Check your map file. Almost all your answers regarding your project are in the map file.

Just click on it in the build messages and it will open.

You can find also in that map file which object that sector 1 is using.