Example Exiting Reset To Supervisor Mode - Analog Devices ADSP-BF506F Hardware Reference Manual

Adsp-bf50x blackfin processor
Hide thumbs Also See for ADSP-BF506F:
Table of Contents

Advertisement

Listing 24-2. System Reset in C Language
bfrom_SysControl(
SYSCTRL_SYSRESET,
0,
NULL);
Example Exiting Reset to User Mode
To exit reset while remaining in user mode, use the code shown in
Listing
24-3.
Listing 24-3. Exiting Reset to User Mode
_reset:
P1.L = LO(_usercode);
/* Point to start of user code */
P1.H = HI(_usercode);
RETI = P1;
/* Load address of _start into RETI */
RTI;
/* Exit reset priority */
_reset.end:
_usercode:
/* Place user code here */
...
The reset handler most likely performs additional tasks not shown in the
examples above. Stack pointers and

Example Exiting Reset to Supervisor Mode

To exit reset while remaining in supervisor mode, use the code shown in
Listing
24-4.
ADSP-BF50x Blackfin Processor Hardware Reference
System Reset and Booting
registers are initialized here.
EVTx
24-83

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADSP-BF506F and is the answer not in the manual?

This manual is also suitable for:

Adsp-bf504Adsp-bf504f

Table of Contents