Atmel ARM-Based Evaluation Kit AT91SAM9N12-EK AT91SAM9N12-EK Data Sheet

Product codes
AT91SAM9N12-EK
Page of 248
Instruction Memory Barrier 
9-4
Copyright © 2001-2003 ARM Limited. All rights reserved.
ARM DDI0198D
9.2.4
Invalidate the ICache
The ICache must be invalidated to remove any stale copies of instructions that are no 
longer valid. If the ICache is not being used, or the modified regions are not in cachable 
areas of memory, then this might not be required.
9.2.5
Flush the prefetch buffer
To ensure consistency, the prefetch buffer should be flushed before self-modifying code 
is executed. See Self modifying code on page 7-2.