FW in RAM Debug running speed is different vs Flash Release

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FW in RAM Debug running speed is different vs Flash Release

ソリューションへジャンプ
1,396件の閲覧回数
evgenik
Contributor IV

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

1 解決策
1,295件の閲覧回数
evgenik
Contributor IV

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.

元の投稿で解決策を見る

1 返信
1,296件の閲覧回数
evgenik
Contributor IV

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.