This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0G1106: Flash memory structure for microcontroller

Part Number: MSPM0G1106
Other Parts Discussed in Thread: MSPM0G3507, MSPM0G1105

Hello Team,

I have been working with TI MSPM0G3507 launchpad board. I came across one example project called EEPROM Emulation on Flash memory, (as MSPM0G doesn't have internal EEPROM) with this i can use part of the flash memory as EEPROM which will store some device configuration data that i need to update only once. I successfully run the example code for EEPROM Emulation. My question is as we are planning to use MSPM0G1105/06 in our final product. Is this EEPROM Emulation code given in MSPM0G3507 SDK will still work for MSPM0G1105/06 device? I need to store some data that should not get changed during power or reset cycle like EEPROM and also should be able to update that via application code.

Also is there any other way i can achive this task in MSPM0G1105/06.

If anyone can share the Flash Memory Architecture for MSPM0G1105/06 that will be good.

Thank you.

  • Hi Avinash,

    The EEPROM example will work on the MSPM0G1105/06 device, when the device releases.

    For the Flash Memory Architecture I recommend looking at the Datasheet for specific specs, for EEPROM I recommend using the lower 32KB for the increased programming endurance. For general flash information and operation look at the TRM (Flash is located in the NVM section currently chapter 5).

    Regards,

    Luke

  • From TRM in chapter 5 it states that EEPROM emulation is possible only in devices which have multiple banks "EEPROM emulation (an application can execute code out of one flash bank while a second flash bank is used for writing data without stalling the application execution)". As MSPM0G1105/06 contains 32Kb of flash memory, which implements single flash bank so with this single flash bank is EEPROM emulation possible?

  • Hi Avinash,

    It is possible and our EEPROM examples in the SDK shows this as well. It is certainly easier with dual-banks because you can execute from one flash bank and write to the other, which is what the sentence in the parenthesis is explaining.

    With a single flash bank, only one operations (read/write/execute) can be performed at a time, so to get around this you can use the RAM. By storing flash write functions inside of ram you can execute from RAM and write to flash.

    Regards,

    Luke

  • Thanks Luke for guiding. I will definitely try this EEPROM emulation on MSPM0G1105 device once they are available to us.