MQX , cache, K60

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MQX , cache, K60

Jump to solution
663 Views
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 Kudos
Reply
1 Solution
536 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
537 Views
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 Kudos
Reply
536 Views
davidzhu
Contributor III

Thanks

0 Kudos
Reply