[MPC5674F] Use i-cache as ram

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

[MPC5674F] Use i-cache as ram

1,031 Views
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 Replies

761 Views
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 Kudos
Reply

891 Views
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 

891 Views
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 Kudos
Reply