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
  • Hello Eddie,

    I try to answer your questions.

    1.)
    Yes, the Flash Algorithms are copied, via the used debugger, to the RAM of the chip and are also executed there.

    2)
    The Flash Algorithm consist of several functions. One of them is "Init".
    After the functions are copied to RAM the Debug Tool starts the function and waits until it is finished.
    Development tool would be e.g. Keil MDK (uVision).

Reply
  • Hello Eddie,

    I try to answer your questions.

    1.)
    Yes, the Flash Algorithms are copied, via the used debugger, to the RAM of the chip and are also executed there.

    2)
    The Flash Algorithm consist of several functions. One of them is "Init".
    After the functions are copied to RAM the Debug Tool starts the function and waits until it is finished.
    Development tool would be e.g. Keil MDK (uVision).

Children