Ram & flash check operation - cortex m3

Discussion in 'Embedded Systems and Microcontrollers' started by Vindhyachal Takniki, Dec 21, 2014.

  1. Vindhyachal Takniki

    Thread Starter Member

    Nov 3, 2014
    349
    6
    Is there any need to do memory check in MCU before beginning operation?
    I had read on new MCU its not needed?
    is there any example code specific to cortex-m3?
     
  2. Papabravo

    Expert

    Feb 24, 2006
    10,157
    1,795
    What action will you take if there is a problem? Depending on the answer you then ask if partial or restricted operation is better than no operation at all.
     
  3. Vindhyachal Takniki

    Thread Starter Member

    Nov 3, 2014
    349
    6
    If ram failure, then no operation.
     
  4. Papabravo

    Expert

    Feb 24, 2006
    10,157
    1,795
    I would do what you can in the shortest amount of time possible. If you delay your startup for more than a couple of hundred milliseconds then people will develop a negative impression of the product. If you are that worried about memory integrity I would test the memory continuously during operation. Of course a hard shutdown in the middle of a process might have other negative consequences.
     
  5. Vindhyachal Takniki

    Thread Starter Member

    Nov 3, 2014
    349
    6
    is there any example code specific to cortex-m3. I have to add the memory check for learning purpose
     
  6. Papabravo

    Expert

    Feb 24, 2006
    10,157
    1,795
    I can't remember seeing anything useful in my searches.
     
Loading...