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
Need help?
Do you have a question about the ADSP-BF506F and is the answer not in the manual?