Question
***non volatile memory --- STM32F107
Posted on August 31, 2016 at 17:36
Previously, I worked on MSP430F47197. I learnt how to read/write from flash. That was pretty easy. On the other hand, using EEPROM was really confusing to read from and write into. (Using I2C Protocol)
Now, I am working on STM32F107KC. More specifically, I am required to save Mac Address and reuse it for the next loading process. I have a written code and it seems that the Mac Address is stored within 1 page between the following addresses.0x0803F800 --- 0x00000800Also the linker file tells me that the rest of the code is written in the following range.0x08000000 --- 0x0803FFFF ==> ROM0x20000000 --- 0x2000FFFF ==> RAMTherefore, I do not see any overlapping case in here.I also, checked the datasheet of STM32F107. There is no internal non volatile memory and in our board we do not have any external one.Therefore, here is my question as follows. If there is no non-erasable memory, as I use IAR IDE for ARMS, can I go ahead and ask the compiler not to flash a certain range in flash and store my Mac Address there? In IAR IDE for MSPs, we are able to select which part of the memory to erase and flash under option menu which I do not see such feature in ARM.Any other alternatives you may think that would be a good solution for Mac Address question?