[MPC5674F] Use i-cache as ram

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

[MPC5674F] Use i-cache as ram

1,284 次查看
mtg
Contributor I

Hello,

Is it possible to use the i-cache as an instruction RAM on MPC5674F?

I read the cookbook and I was able to use the d-cache as RAM. I did the analogous process to the i-cache however it seems that the instructions copy process isn't working. The cache continues empty.

If possible, is there any code example for the i-cache?

Thanks

3 回复数

1,014 次查看
Jerry_zhan
Contributor I

Hi,

I am in a situation of USE L1 D-Cache as RAM. Can you share with me with cookbook you were talking about?

0 项奖励
回复

1,144 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Yes, it is possible, it works same way as data cache, it is needed to used icbtls instruction for that purpose.

If you create a case with reference to this thread, I will send you example I have written in the past for MPC5643L device doing the same:

https://community.nxp.com/docs/DOC-329745 

1,144 次查看
mtg
Contributor I

Hi David, thanks for your support.

I'm already using the icbtls instruction, but it's not working. I created the case #00149639, can you send the example files please?

0 项奖励
回复