Datasheet
4-32 MCF5407 User’s Manual
Cache Initialization Code
4.13 Cache Initialization Code
The following example sets up the cache for FLASH or ROM space only.
move.l#0xA30C8100,D0 //enable cache, invalidate it,
//default mode is cache-inhibited imprecise
movecD0, CACR
move.l #0xFF00C000,D0//cache FLASH space, enable,
//ignore FC2, cacheable, writethrough
movecD0,ACR0
Cache invalidate CD5 No action (modified data lost);
go to invalid state.
Cache push CD6 Push modified line to memory;
go to invalid state.
Cache push CD7 Push modified line to memory;
go to valid state.
Table 4-10. Data Cache Line State Transitions (Current State Modified) (Continued)
Access Response
