MQX , cache, K60

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MQX , cache, K60

跳至解决方案
703 次查看
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 解答
576 次查看
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 回复数
577 次查看
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 项奖励
回复
576 次查看
davidzhu
Contributor III

Thanks

0 项奖励
回复