Booting Process
19-32
ADSP-BF537 Blackfin Processor Hardware Reference
/***************************************************
BOOT DXE
R7 holds the DXE address
****************************************************/
R5 = [SP++];
R6 = [SP++];
p5.l = lo(_BOOTROM_BOOT_DXE_SPI);
p5.h = hi(_BOOTROM_BOOT_DXE_SPI);
jump (p5);
Also the
_BOOTROM_Get_DXE_Address_TWI
function expects the same
parameters as
_BOOTROM_Boot_DXE_TWI
. Additionally, pointer
P2
should
point to a 32-bit scratch location.
_main:
/***************************************************
user must setup the stack pointer as well as save
and restore needed resources
****************************************************/
sp.h = 0xFFB0;
sp.l = 0x1000;
/***************************************************
GET DXE ADDRESS
R7 holds the DXE #
****************************************************/
R5 = 0x0811 (Z);
/* TWI_CLKDIV value to produce 400 KHz SCL in a
~30% duty cycle */
R6 = 0xA0 (Z);
/* R6 holds the addressed memory device */
R7 = 0x3;
/* holds the DXE # to be booted in */
p2.h = 0xff90;
/* P2 holds a 4 byte scratch location */
p2.l = 0x0000;
[--SP] = R6;
Summary of Contents for Blackfin ADSP-BF537
Page 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Page 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...