L2 cache, TCM enable

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

L2 cache, TCM enable

跳至解决方案
4,996 次查看
hjk
Contributor III


Hi,

I am using TWR-VF65GS10, I want to check whether L2 cache is enabled or not,

I found BT_MMU_DISABLE and L2_CACHE_DISABLE in reference manual, but I don't actually know how and where to use it.

And I also want to check whether TCM is enabled or not, how can I do that?

Thanks,

标签 (5)
0 项奖励
回复
1 解答
3,926 次查看
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!

在原帖中查看解决方案

0 项奖励
回复
4 回复数
3,927 次查看
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!
0 项奖励
回复
3,927 次查看
timesyssupport
Senior Contributor II

Hi,

>  I am using TWR-VF65GS10, I want to check whether L2 cache is enabled or not,
>  I found BT_MMU_DISABLE and L2_CACHE_DISABLE in reference manual, but I don't actually know how and where to use it.

To check whether you have L2 cache, see the digit before N letter in part number. 1N indicates that you have L2 cache and no RAM, 0N indicates that no L2 cache but 0.5MB RAM. It seems by default MMU, L1 Data and L2 caches of the Cortex-A5 core are enabled by boot loader.

Refer this thread for Enable/Disable L2 cache using register. https://community.nxp.com/thread/330937.

>   And I also want to check whether TCM is enabled or not, how can I do that?
TCM is standard SRAM memory which is connected directly to Cortex-M4 via local memory
controller.I believe this is seleted by default.

Thanks
Timesys support.

3,927 次查看
timesyssupport
Senior Contributor II

Hi,

In order to enable the M4 core in code please follow this steps.

1) SRC->GPR[2] = <start address> + 1; //since M4 is thumb

2) CCM->CCOWR = 0x15a5a; //Start secondary core

To know more about starting the M4 core please follow this thread.

https://community.nxp.com/thread/306741

Thanks

Timesys Support

3,927 次查看
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport​ can you help here?

0 项奖励
回复