[MPC5674F] Use i-cache as ram

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[MPC5674F] Use i-cache as ram

1,103件の閲覧回数
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 返答(返信)

833件の閲覧回数
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 件の賞賛
返信

963件の閲覧回数
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 

963件の閲覧回数
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 件の賞賛
返信