EasyManuals Logo

ST STM32L4x6 User Manual

ST STM32L4x6
1693 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 #126 background imageLoading...
Page #126 background image
Firewall (FW) RM0351
126/1693 DocID024597 Rev 3
Below is the initialization procedure to follow:
1. Configure the RCC to enable the clock to the Firewall module
2. Configure the RCC to enable the clock of the system configuration registers
3. Set the base address and length of each segment (CSSA, CSL, NVDSSA, NVDSL,
VDSSA, VDSL registers)
4. Set the configuration register of the Firewall (FW_CR register)
5. Enable the Firewall clearing the FWDIS bit in the system configuration register.
The Firewall configuration register (FW_CR register) is the only one which can be managed
in a dynamic way even if the Firewall is enabled:
when the Non-Volatile data segment is undefined (meaning the NVDSL register is
equal to 0), the accesses to this register are possible whatever the Firewall state
(opened or closed).
when the Non-Volatile data segment is defined (meaning the NVDSL register is
different from 0), the accesses to this register are only possible when the Firewall is
opened.
4.3.6 Firewall states
The Firewall has three different states as shown in Figure 6:
Disabled: The FWDIS bit is set by default after the reset. The Firewall is not active.
Closed: The Firewall protects the accesses to the three segments (Code, Non-volatile
data, and Volatile data segments).
Opened: The Firewall allows access to the protected segments as defined in
Section 4.3.4: Segment accesses and properties.
Figure 6. Firewall functional states
069
)LUHZDOOGLVDEOH
UHVHW
)LUHZDOO
FORVHG
)LUHZDOO
RSHQHG
(QDEOHWKHILUHZDOO
):',6 
µµFDOOJDWH¶HQWU\
,OOHJDODFFHVVHVWR
WKHSURWHFWHG
VHJPHQWV
&RGHSURWHFWHGMXPSV
WRXQSURWHFWHG
VHJPHQWV
3URWHFWHGFRGHMXPSV
WRDQXQSURWHFWHG
VHJPHQWDQG)3$ 

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32L4x6 Specifications

General IconGeneral
BrandST
ModelSTM32L4x6
CategoryMicrocontrollers
LanguageEnglish

Related product manuals