- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to use program cache RAM of (70102000 - ) to run my flash drive of boot loader.
But I found that the program cache RAM is invalidated after a system reset.
This is mentioned int the user manual .
I have enable the cache register( program cache not bypass), but the program cache RAM still not available after system reset.
So I want to know how to enable or reinitialize the program cache RAM after system reset? Thanks.
Solved! Go to Solution.
- Labels:
-
Aurix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After each reset you must map the cache to normal address map. Please see user manual chapter 13.3.4.2 Memory Map selection, table 24 (Address Map) and in Appendix chapter 13.4.2 MEMMAP Implementation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
IFX_INLINE void IfxCpu_enableSegmentSpecificInstructionAccessCacheability(uint16 segmentNumberMask, boolean enable);
Hi Hui,
Above function is for your reference.
dw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi dw,
The PCACHE SRAM is still not available with the function after system reset.
Mod tells me "The cache will be invalidated on every reset. This is not switchable.", is it true?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why you don't use the PSPR?
The cache will be invalidated on every reset. This is not switchable. Please note that the cache is not the same as PSPR which can be always directly access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The PSPR of TC33LP is just 8KB not big enough for me, but the PCACHE RAM is 32KB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So you mean that after reset, PCACHE SRAM can no longer be used?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After each reset you must map the cache to normal address map. Please see user manual chapter 13.3.4.2 Memory Map selection, table 24 (Address Map) and in Appendix chapter 13.4.2 MEMMAP Implementation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MoD,
The PCACHE can run my code normal as your way(MTU_MEMMAP.B.CPU0_PCMAP = 1;)
after system reset. Thanks a lot.