MQX , cache, K60

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
744件の閲覧回数
davidzhu
Contributor III

Hi Support.

I have problems with caches.

Using MQX 4.2, TWR-K60 board, Codewarrior

I want to measure run time function, with enable and disable cache.

But both cases I get the equal time.

In order to activate support of caches in MQX I made next 
changes in kinetis.h.

/*
** Cache and MMU definition values
*/
#define PSP_HAS_MMU 0
#define PSP_HAS_CODE_CACHE 1
#define PSP_HAS_DATA_CACHE 0

and rebuild libraries.

Could you help , please.
0 件の賞賛
返信
1 解決策
617件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi David:

Please check whether there is cache on your board.

The cache is available in K10,K20,K60, K70 families running at 120Mhz with between 512KB-1MB Flash memory.

Regards

Daniel

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
618件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi David:

Please check whether there is cache on your board.

The cache is available in K10,K20,K60, K70 families running at 120Mhz with between 512KB-1MB Flash memory.

Regards

Daniel

0 件の賞賛
返信
617件の閲覧回数
davidzhu
Contributor III

Thanks

0 件の賞賛
返信