This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Having problem with ARM9

Note: This was originally posted on 1st November 2012 at http://forums.arm.com

Hi, I am facing some issue and yet got no solution. My ARM9 lose it's  memory  when power off.
  • Note: This was originally posted on 5th November 2012 at http://forums.arm.com


    What kind of memory?


    I am not able to save my configuration on FLASH. For now every thing is on RAM and whenever we reset the power, we need to reconfigure everything. For ex- take S3C2440. Can you please provide any document or link to solve this problem.
  • Note: This was originally posted on 7th November 2012 at http://forums.arm.com


    RAM is a volatile memory technology so will lose its state when you remove power.

    If you want to preserve state over power / reset cycles you either need (1) a battery backed up RAM with a low power state, or (2) save to flash which you can then restore at boot time.


    Thanks for the reply.
    But that is what I am asking in my previous post that I am not able to save it in flash. Can you please provide some demo application or if you can provide me with any link, I can go through to understand that how I can save it in flash.
  • Note: This was originally posted on 1st November 2012 at http://forums.arm.com

    What kind of memory?
  • Note: This was originally posted on 5th November 2012 at http://forums.arm.com

    RAM is a volatile memory technology so will lose its state when you remove power.

    If you want to preserve state over power / reset cycles you either need (1) a battery backed up RAM with a low power state, or (2) save to flash which you can then restore at boot time.
  • Note: This was originally posted on 8th November 2012 at http://forums.arm.com

    is your config file static (Which is prepared offline on Host) or dynamically created during run time?

    If it is static file and you want to save it in flash: first make sure the following:


    • Initialize the FLASH on system startup.
    • Make sure the proper Read/Write permissions are provided.
    • Expose some section of the Flash which is reserved for the File system.
    • The section reserved for the File system should be accessable by some tool on Host PC and then you can copy/move the config file to File system section using the tool on Host PC.
      If the Config file is generated dynamically during run time:


    • Initialize the FLASH on system startup. Reserve Section of Flash for FIle system and provide proper Access permission.
    • During run time when you want to create/save config file, then use File System API and save the file in File System section of Flash.