EasyManuals Logo

ST SPC560P34 User Manual

ST SPC560P34
936 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #812 background imageLoading...
Page #812 background image
Boot Assist Module (BAM) RM0046
812/936 Doc ID 16912 Rev 5
BAM software flow
Figure 482 illustrates the BAM logic flow.
Figure 482. BAM logic flow
The first action is to save the initial device configuration. In this way is possible to restore the
initial configuration after downloading the new code but before executing it. This allows the
new code being executed as the device was just coming out of reset.
The BMODE and ABD fields of SSCM_STATUS register (see Section , “System Status
register (STATUS)) indicate which boot has to be executed (see Ta bl e 4 39 ).
If the BMODE field shows either a single chip value (011) or a reserved value, the boot
mode is not considered valid and the BAM pushes the device into static mode.
In all other cases the code of the relative boot is called. Data is downloaded and saved into
proper SRAM location.
BAM entry
0xFFFF_C000
Save default
configuration
Check
boot mode
The selected boot mode is verified
by reading the SSCM_STATUS register
(bits BMODE and ABD)
Boot mode
valid?
Download new
and save to
SRAM
Restore
default
configuration
Restore
default
configuration
NO
YES
STATIC mode
Execute
new code

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST SPC560P34 and is the answer not in the manual?

ST SPC560P34 Specifications

General IconGeneral
BrandST
ModelSPC560P34
CategoryMicrocontrollers
LanguageEnglish

Related product manuals