AnsweredAssumed Answered

MQX , cache, K60

Question asked by David Zhu on Sep 29, 2018
Latest reply on Sep 30, 2018 by David Zhu

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.

Outcomes