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

Question about Flash Programming Algorithms

Dear all,

   I am studying document about  Flash Programming Algorithms.

There is a sentence as below,

The following diagrams show how the functions of the Flash Programming Algorithms are executed by a development tool.

And the erase flow as below,

I have a little confused about 1st and 2nd steps of  the erase flow, please help.

1. Load Flash Algorithm in RAM => Is it mean to load the flash algorithm into the RAM of chip?

2. Execute "Init" =>Who executes the "Init" function of  flash algorithm?  ARM-Mx?  development tool ?

Thanks for your any help.

BR,

Eddie

Parents
  • Hi Martin,

        Really appreciate  your reply. Are  the steps as below?

    1. The functions are copied to RAM 

    2. Debug tool starts the functions , Is it mean the Debug tool control the ARM-Mx to execute the flash init function?

         Why I said that, because the FLM is compile based on ARM-Mx, so I think the FLM is executed by ARM-Mx.

         Also, during the download code step, the program function of FLM is also executed by ARM-Mx, am I right?

    note:

    1. I use ARM-M0 controller.

    BR,

    Eddie

Reply
  • Hi Martin,

        Really appreciate  your reply. Are  the steps as below?

    1. The functions are copied to RAM 

    2. Debug tool starts the functions , Is it mean the Debug tool control the ARM-Mx to execute the flash init function?

         Why I said that, because the FLM is compile based on ARM-Mx, so I think the FLM is executed by ARM-Mx.

         Also, during the download code step, the program function of FLM is also executed by ARM-Mx, am I right?

    note:

    1. I use ARM-M0 controller.

    BR,

    Eddie

Children