Skip to main content
ham10za
Associate II
February 19, 2018
Question

internal flash

  • February 19, 2018
  • 2 replies
  • 5001 views
Posted on February 19, 2018 at 09:57

hello! i am working with stm32 cortex-M0? IN FACT i want to know how to modify bytes from the internal flash without erasing the whole page , in addition i don't have RAM space to copy code there and modify bytes there !! is there anyone who can help ?

Note: this post was migrated and contained many threaded conversations, some content may be missing.
    This topic has been closed for replies.

    2 replies

    Andrew Neil
    Super User
    February 19, 2018
    Posted on February 19, 2018 at 10:20

    When cross-posting (ie, posting the same question to multiple forums), always include links between the threads.

    Otherwise you waste people's time as they give an answer in one thread - not knowing that it has already been given in another.

    See: 

    http://www.keil.com/forum/63375

     on the Keil forum.
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    ham10za
    ham10zaAuthor
    Associate II
    February 19, 2018
    Posted on February 19, 2018 at 10:43

    you told me to ask on ST forum !!

    Andrew Neil
    Super User
    February 19, 2018
    Posted on February 19, 2018 at 12:05

    See:

    https://community.st.com/0D50X00009XkWg8SAF

    OK, so I should have spelled it out to you at that point.

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Alan Chambers
    Associate III
    February 19, 2018
    Posted on February 19, 2018 at 12:49

    Perhaps you should explain what exactly are you trying to achieve. What are you using the flash to store? How big is the data structure? How often does it change?

    Andrew Neil
    Super User
    February 19, 2018
    Posted on February 19, 2018 at 13:14

     ,

     ,

    Alan Chambers wrote:

    Perhaps you should explain what exactly are you trying to achieve.

    Absolutely!

    http://www.catb.org/~esr/faqs/smart-questions.html ♯ goal

     ,
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.