Memory Architecture
6-36
ADSP-BF535 Blackfin Processor Hardware Reference
Listing 6-4. Invalidating Bank B
R4.H = 0x080; /* Initial value for DTEST_COMMAND for way 0 -
should be WRITE to TAG */
R4.L = 2;
R5.H = 0x480; /* Initial value for DTEST_COMMAND for way 1 -
should be WRITE to TAG */
R5.L = 2;
/* Way 0,1 invalidation */
lsetup(LBL0D,LBL3D) lc1 = p4;
LBL0D: r0 = r4;
r1 = r5;
lsetup(LBL1D,LBL2D) lc0 = p3;
LBL1D: r0 = r0 +|+ r2 || [i0]=r0;
LBL2D: r1 = r1 +|+ r2 || [i0]=r1;
r4 = r4+r3;
LBL3D: r5 = r5+r3;
/* Configure L1 SRAM data banks as SRAM */
/* - Default to DCBS==0, so LOWBIT (bit14) selects bank A or B
(because that splits L2 across A and B) */
/* - set ENDM==1, so L1 Data Memory is enabled. */
P0.L = (DMEM_CONTROL & 0xFFFF);
P0.H = (DMEM_CONTROL >> 16);
R0 = (ENDM);
[P0] = R0;
/* Configure L1 SRAM code bank as SRAM */
/* - Default to ILOC==0000 */
/* - Set ENIM==1, so Code memory is enabled. */
P0.L = (IMEM_CONTROL & 0xFFFF);
P0.H = (IMEM_CONTROL >> 16);
R0 = (ENIM);
Summary of Contents for ADSP-BF535 Blackfin
Page 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Page 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Page 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Page 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Page 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Page 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Page 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Page 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Page 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...