Hello.
I noticed that when writing a program to a Flash (Kinetis TWR-K21 development board,1024KB Flash, 128KB RAM), it starts to work much slower than when working with an internal USB debugger into RAM. How can this be? Where to look for the problem?
Thanks
Evgeni
Solved! Go to Solution.
I found a solution to the problem. Some functions played from RAM take much less time than from Flash (this is a fact). I transferred critical functions to RAM. After that, the code began to work as quickly in the Release as in Debug mode.
I found a solution to the problem. Some functions played from RAM take much less time than from Flash (this is a fact). I transferred critical functions to RAM. After that, the code began to work as quickly in the Release as in Debug mode.