commit
7e9d04b342
240
data/registers/flash_l0.yaml
Normal file
240
data/registers/flash_l0.yaml
Normal file
@ -0,0 +1,240 @@
|
|||||||
|
---
|
||||||
|
block/FLASH:
|
||||||
|
description: Flash
|
||||||
|
items:
|
||||||
|
- name: ACR
|
||||||
|
description: Access control register
|
||||||
|
byte_offset: 0
|
||||||
|
fieldset: ACR
|
||||||
|
- name: PECR
|
||||||
|
description: Program/erase control register
|
||||||
|
byte_offset: 4
|
||||||
|
fieldset: PECR
|
||||||
|
- name: PDKEYR
|
||||||
|
description: Power down key register
|
||||||
|
byte_offset: 8
|
||||||
|
access: Write
|
||||||
|
fieldset: PDKEYR
|
||||||
|
- name: PEKEYR
|
||||||
|
description: Program/erase key register
|
||||||
|
byte_offset: 12
|
||||||
|
access: Write
|
||||||
|
fieldset: PEKEYR
|
||||||
|
- name: PRGKEYR
|
||||||
|
description: Program memory key register
|
||||||
|
byte_offset: 16
|
||||||
|
access: Write
|
||||||
|
fieldset: PRGKEYR
|
||||||
|
- name: OPTKEYR
|
||||||
|
description: Option byte key register
|
||||||
|
byte_offset: 20
|
||||||
|
access: Write
|
||||||
|
fieldset: OPTKEYR
|
||||||
|
- name: SR
|
||||||
|
description: Status register
|
||||||
|
byte_offset: 24
|
||||||
|
fieldset: SR
|
||||||
|
- name: OPTR
|
||||||
|
description: Option byte register
|
||||||
|
byte_offset: 28
|
||||||
|
access: Read
|
||||||
|
fieldset: OPTR
|
||||||
|
- name: WRPROT1
|
||||||
|
description: Write Protection Register 1
|
||||||
|
byte_offset: 32
|
||||||
|
access: Read
|
||||||
|
fieldset: WRPROT1
|
||||||
|
- name: WRPROT2
|
||||||
|
description: Write Protection Register 2
|
||||||
|
byte_offset: 128
|
||||||
|
access: Read
|
||||||
|
fieldset: WRPROT2
|
||||||
|
fieldset/ACR:
|
||||||
|
description: Access control register
|
||||||
|
fields:
|
||||||
|
- name: LATENCY
|
||||||
|
description: Latency
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 1
|
||||||
|
- name: PRFTEN
|
||||||
|
description: Prefetch enable
|
||||||
|
bit_offset: 1
|
||||||
|
bit_size: 1
|
||||||
|
- name: SLEEP_PD
|
||||||
|
description: Flash mode during Sleep
|
||||||
|
bit_offset: 3
|
||||||
|
bit_size: 1
|
||||||
|
- name: RUN_PD
|
||||||
|
description: Flash mode during Run
|
||||||
|
bit_offset: 4
|
||||||
|
bit_size: 1
|
||||||
|
- name: DISAB_BUF
|
||||||
|
description: Disable Buffer
|
||||||
|
bit_offset: 5
|
||||||
|
bit_size: 1
|
||||||
|
- name: PRE_READ
|
||||||
|
description: Pre-read data address
|
||||||
|
bit_offset: 6
|
||||||
|
bit_size: 1
|
||||||
|
fieldset/OPTKEYR:
|
||||||
|
description: Option byte key register
|
||||||
|
fields:
|
||||||
|
- name: OPTKEYR
|
||||||
|
description: Option byte key
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 32
|
||||||
|
fieldset/OPTR:
|
||||||
|
description: Option byte register
|
||||||
|
fields:
|
||||||
|
- name: RDPROT
|
||||||
|
description: Read protection
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 8
|
||||||
|
- name: WPRMOD
|
||||||
|
description: Selection of protection mode of WPR bits
|
||||||
|
bit_offset: 8
|
||||||
|
bit_size: 1
|
||||||
|
- name: BOR_LEV
|
||||||
|
description: BOR_LEV
|
||||||
|
bit_offset: 16
|
||||||
|
bit_size: 4
|
||||||
|
fieldset/PDKEYR:
|
||||||
|
description: Power down key register
|
||||||
|
fields:
|
||||||
|
- name: PDKEYR
|
||||||
|
description: RUN_PD in FLASH_ACR key
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 32
|
||||||
|
fieldset/PECR:
|
||||||
|
description: Program/erase control register
|
||||||
|
fields:
|
||||||
|
- name: PELOCK
|
||||||
|
description: FLASH_PECR and data EEPROM lock
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 1
|
||||||
|
- name: PRGLOCK
|
||||||
|
description: Program memory lock
|
||||||
|
bit_offset: 1
|
||||||
|
bit_size: 1
|
||||||
|
- name: OPTLOCK
|
||||||
|
description: Option bytes block lock
|
||||||
|
bit_offset: 2
|
||||||
|
bit_size: 1
|
||||||
|
- name: PROG
|
||||||
|
description: Program memory selection
|
||||||
|
bit_offset: 3
|
||||||
|
bit_size: 1
|
||||||
|
- name: DATA
|
||||||
|
description: Data EEPROM selection
|
||||||
|
bit_offset: 4
|
||||||
|
bit_size: 1
|
||||||
|
- name: FIX
|
||||||
|
description: "Fixed time data write for Byte, Half Word and Word programming"
|
||||||
|
bit_offset: 8
|
||||||
|
bit_size: 1
|
||||||
|
- name: ERASE
|
||||||
|
description: Page or Double Word erase mode
|
||||||
|
bit_offset: 9
|
||||||
|
bit_size: 1
|
||||||
|
- name: FPRG
|
||||||
|
description: Half Page/Double Word programming mode
|
||||||
|
bit_offset: 10
|
||||||
|
bit_size: 1
|
||||||
|
- name: PARALLELBANK
|
||||||
|
description: Parallel bank mode
|
||||||
|
bit_offset: 15
|
||||||
|
bit_size: 1
|
||||||
|
- name: EOPIE
|
||||||
|
description: End of programming interrupt enable
|
||||||
|
bit_offset: 16
|
||||||
|
bit_size: 1
|
||||||
|
- name: ERRIE
|
||||||
|
description: Error interrupt enable
|
||||||
|
bit_offset: 17
|
||||||
|
bit_size: 1
|
||||||
|
- name: OBL_LAUNCH
|
||||||
|
description: Launch the option byte loading
|
||||||
|
bit_offset: 18
|
||||||
|
bit_size: 1
|
||||||
|
enum_write: OBL_LAUNCHW
|
||||||
|
fieldset/PEKEYR:
|
||||||
|
description: Program/erase key register
|
||||||
|
fields:
|
||||||
|
- name: PEKEYR
|
||||||
|
description: FLASH_PEC and data EEPROM key
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 32
|
||||||
|
fieldset/PRGKEYR:
|
||||||
|
description: Program memory key register
|
||||||
|
fields:
|
||||||
|
- name: PRGKEYR
|
||||||
|
description: Program memory key
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 32
|
||||||
|
fieldset/SR:
|
||||||
|
description: Status register
|
||||||
|
fields:
|
||||||
|
- name: BSY
|
||||||
|
description: Write/erase operations in progress
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 1
|
||||||
|
- name: EOP
|
||||||
|
description: End of operation
|
||||||
|
bit_offset: 1
|
||||||
|
bit_size: 1
|
||||||
|
- name: ENDHV
|
||||||
|
description: End of high voltage
|
||||||
|
bit_offset: 2
|
||||||
|
bit_size: 1
|
||||||
|
- name: READY
|
||||||
|
description: Flash memory module ready after low power mode
|
||||||
|
bit_offset: 3
|
||||||
|
bit_size: 1
|
||||||
|
- name: WRPERR
|
||||||
|
description: Write protected error
|
||||||
|
bit_offset: 8
|
||||||
|
bit_size: 1
|
||||||
|
- name: PGAERR
|
||||||
|
description: Programming alignment error
|
||||||
|
bit_offset: 9
|
||||||
|
bit_size: 1
|
||||||
|
- name: SIZERR
|
||||||
|
description: Size error
|
||||||
|
bit_offset: 10
|
||||||
|
bit_size: 1
|
||||||
|
- name: OPTVERR
|
||||||
|
description: Option validity error
|
||||||
|
bit_offset: 11
|
||||||
|
bit_size: 1
|
||||||
|
- name: RDERR
|
||||||
|
description: RDERR
|
||||||
|
bit_offset: 14
|
||||||
|
bit_size: 1
|
||||||
|
- name: NOTZEROERR
|
||||||
|
description: NOTZEROERR
|
||||||
|
bit_offset: 16
|
||||||
|
bit_size: 1
|
||||||
|
- name: FWWERR
|
||||||
|
description: FWWERR
|
||||||
|
bit_offset: 17
|
||||||
|
bit_size: 1
|
||||||
|
fieldset/WRPROT1:
|
||||||
|
description: Write Protection Register 1
|
||||||
|
fields:
|
||||||
|
- name: WRPROT
|
||||||
|
description: Write Protection
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 32
|
||||||
|
array:
|
||||||
|
len: 1
|
||||||
|
stride: 0
|
||||||
|
fieldset/WRPROT2:
|
||||||
|
description: Write Protection Register 2
|
||||||
|
fields:
|
||||||
|
- name: WRPROT
|
||||||
|
description: Write Protection
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 16
|
||||||
|
array:
|
||||||
|
len: 1
|
||||||
|
stride: 0
|
559
data/registers/flash_wl.yaml
Normal file
559
data/registers/flash_wl.yaml
Normal file
@ -0,0 +1,559 @@
|
|||||||
|
---
|
||||||
|
block/FLASH:
|
||||||
|
description: Flash
|
||||||
|
items:
|
||||||
|
- name: ACR
|
||||||
|
description: Access control register
|
||||||
|
byte_offset: 0
|
||||||
|
fieldset: ACR
|
||||||
|
- name: KEYR
|
||||||
|
description: Flash key register
|
||||||
|
byte_offset: 8
|
||||||
|
access: Write
|
||||||
|
fieldset: KEYR
|
||||||
|
- name: OPTKEYR
|
||||||
|
description: Option byte key register
|
||||||
|
byte_offset: 12
|
||||||
|
access: Write
|
||||||
|
fieldset: OPTKEYR
|
||||||
|
- name: SR
|
||||||
|
description: Status register
|
||||||
|
byte_offset: 16
|
||||||
|
fieldset: SR
|
||||||
|
- name: CR
|
||||||
|
description: Flash control register
|
||||||
|
byte_offset: 20
|
||||||
|
fieldset: CR
|
||||||
|
- name: ECCR
|
||||||
|
description: Flash ECC register
|
||||||
|
byte_offset: 24
|
||||||
|
fieldset: ECCR
|
||||||
|
- name: OPTR
|
||||||
|
description: Flash option register
|
||||||
|
byte_offset: 32
|
||||||
|
fieldset: OPTR
|
||||||
|
- name: PCROP1ASR
|
||||||
|
description: Flash Bank 1 PCROP Start address zone A register
|
||||||
|
byte_offset: 36
|
||||||
|
fieldset: PCROP1ASR
|
||||||
|
- name: PCROP1AER
|
||||||
|
description: Flash Bank 1 PCROP End address zone A register
|
||||||
|
byte_offset: 40
|
||||||
|
fieldset: PCROP1AER
|
||||||
|
- name: WRP1AR
|
||||||
|
description: Flash Bank 1 WRP area A address register
|
||||||
|
byte_offset: 44
|
||||||
|
fieldset: WRP1AR
|
||||||
|
- name: WRP1BR
|
||||||
|
description: Flash Bank 1 WRP area B address register
|
||||||
|
byte_offset: 48
|
||||||
|
fieldset: WRP1BR
|
||||||
|
- name: PCROP1BSR
|
||||||
|
description: Flash Bank 1 PCROP Start address area B register
|
||||||
|
byte_offset: 52
|
||||||
|
fieldset: PCROP1BSR
|
||||||
|
- name: PCROP1BER
|
||||||
|
description: Flash Bank 1 PCROP End address area B register
|
||||||
|
byte_offset: 56
|
||||||
|
fieldset: PCROP1BER
|
||||||
|
- name: IPCCBR
|
||||||
|
description: IPCC mailbox data buffer address register
|
||||||
|
byte_offset: 60
|
||||||
|
fieldset: IPCCBR
|
||||||
|
- name: C2ACR
|
||||||
|
description: CPU2 cortex M0 access control register
|
||||||
|
byte_offset: 92
|
||||||
|
fieldset: C2ACR
|
||||||
|
- name: C2SR
|
||||||
|
description: CPU2 cortex M0 status register
|
||||||
|
byte_offset: 96
|
||||||
|
fieldset: C2SR
|
||||||
|
- name: C2CR
|
||||||
|
description: CPU2 cortex M0 control register
|
||||||
|
byte_offset: 100
|
||||||
|
fieldset: C2CR
|
||||||
|
- name: SFR
|
||||||
|
description: Secure flash start address register
|
||||||
|
byte_offset: 128
|
||||||
|
fieldset: SFR
|
||||||
|
- name: SRRVR
|
||||||
|
description: Secure SRAM2 start address and cortex M0 reset vector register
|
||||||
|
byte_offset: 132
|
||||||
|
fieldset: SRRVR
|
||||||
|
fieldset/ACR:
|
||||||
|
description: Access control register
|
||||||
|
fields:
|
||||||
|
- name: LATENCY
|
||||||
|
description: Latency
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 3
|
||||||
|
- name: PRFTEN
|
||||||
|
description: Prefetch enable
|
||||||
|
bit_offset: 8
|
||||||
|
bit_size: 1
|
||||||
|
- name: ICEN
|
||||||
|
description: Instruction cache enable
|
||||||
|
bit_offset: 9
|
||||||
|
bit_size: 1
|
||||||
|
- name: DCEN
|
||||||
|
description: Data cache enable
|
||||||
|
bit_offset: 10
|
||||||
|
bit_size: 1
|
||||||
|
- name: ICRST
|
||||||
|
description: Instruction cache reset
|
||||||
|
bit_offset: 11
|
||||||
|
bit_size: 1
|
||||||
|
- name: DCRST
|
||||||
|
description: Data cache reset
|
||||||
|
bit_offset: 12
|
||||||
|
bit_size: 1
|
||||||
|
- name: PES
|
||||||
|
description: CPU1 CortexM4 program erase suspend request
|
||||||
|
bit_offset: 15
|
||||||
|
bit_size: 1
|
||||||
|
- name: EMPTY
|
||||||
|
description: Flash User area empty
|
||||||
|
bit_offset: 16
|
||||||
|
bit_size: 1
|
||||||
|
fieldset/C2ACR:
|
||||||
|
description: CPU2 cortex M0 access control register
|
||||||
|
fields:
|
||||||
|
- name: PRFTEN
|
||||||
|
description: CPU2 cortex M0 prefetch enable
|
||||||
|
bit_offset: 8
|
||||||
|
bit_size: 1
|
||||||
|
- name: ICEN
|
||||||
|
description: CPU2 cortex M0 instruction cache enable
|
||||||
|
bit_offset: 9
|
||||||
|
bit_size: 1
|
||||||
|
- name: ICRST
|
||||||
|
description: CPU2 cortex M0 instruction cache reset
|
||||||
|
bit_offset: 11
|
||||||
|
bit_size: 1
|
||||||
|
- name: PES
|
||||||
|
description: CPU2 cortex M0 program erase suspend request
|
||||||
|
bit_offset: 15
|
||||||
|
bit_size: 1
|
||||||
|
fieldset/C2CR:
|
||||||
|
description: CPU2 cortex M0 control register
|
||||||
|
fields:
|
||||||
|
- name: PG
|
||||||
|
description: Programming
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 1
|
||||||
|
- name: PER
|
||||||
|
description: Page erase
|
||||||
|
bit_offset: 1
|
||||||
|
bit_size: 1
|
||||||
|
- name: MER
|
||||||
|
description: Masse erase
|
||||||
|
bit_offset: 2
|
||||||
|
bit_size: 1
|
||||||
|
- name: PNB
|
||||||
|
description: Page Number selection
|
||||||
|
bit_offset: 3
|
||||||
|
bit_size: 8
|
||||||
|
- name: STRT
|
||||||
|
description: Start
|
||||||
|
bit_offset: 16
|
||||||
|
bit_size: 1
|
||||||
|
- name: FSTPG
|
||||||
|
description: Fast programming
|
||||||
|
bit_offset: 18
|
||||||
|
bit_size: 1
|
||||||
|
- name: EOPIE
|
||||||
|
description: End of operation interrupt enable
|
||||||
|
bit_offset: 24
|
||||||
|
bit_size: 1
|
||||||
|
- name: ERRIE
|
||||||
|
description: Error interrupt enable
|
||||||
|
bit_offset: 25
|
||||||
|
bit_size: 1
|
||||||
|
- name: RDERRIE
|
||||||
|
description: PCROP read error interrupt enable
|
||||||
|
bit_offset: 26
|
||||||
|
bit_size: 1
|
||||||
|
fieldset/C2SR:
|
||||||
|
description: CPU2 cortex M0 status register
|
||||||
|
fields:
|
||||||
|
- name: EOP
|
||||||
|
description: End of operation
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 1
|
||||||
|
- name: OPERR
|
||||||
|
description: Operation error
|
||||||
|
bit_offset: 1
|
||||||
|
bit_size: 1
|
||||||
|
- name: PROGERR
|
||||||
|
description: Programming error
|
||||||
|
bit_offset: 3
|
||||||
|
bit_size: 1
|
||||||
|
- name: WRPERR
|
||||||
|
description: write protection error
|
||||||
|
bit_offset: 4
|
||||||
|
bit_size: 1
|
||||||
|
- name: PGAERR
|
||||||
|
description: Programming alignment error
|
||||||
|
bit_offset: 5
|
||||||
|
bit_size: 1
|
||||||
|
- name: SIZERR
|
||||||
|
description: Size error
|
||||||
|
bit_offset: 6
|
||||||
|
bit_size: 1
|
||||||
|
- name: PGSERR
|
||||||
|
description: Programming sequence error
|
||||||
|
bit_offset: 7
|
||||||
|
bit_size: 1
|
||||||
|
- name: MISSERR
|
||||||
|
description: Fast programming data miss error
|
||||||
|
bit_offset: 8
|
||||||
|
bit_size: 1
|
||||||
|
- name: FASTERR
|
||||||
|
description: Fast programming error
|
||||||
|
bit_offset: 9
|
||||||
|
bit_size: 1
|
||||||
|
- name: RDERR
|
||||||
|
description: PCROP read error
|
||||||
|
bit_offset: 14
|
||||||
|
bit_size: 1
|
||||||
|
- name: BSY
|
||||||
|
description: Busy
|
||||||
|
bit_offset: 16
|
||||||
|
bit_size: 1
|
||||||
|
- name: CFGBSY
|
||||||
|
description: Programming or erase configuration busy
|
||||||
|
bit_offset: 18
|
||||||
|
bit_size: 1
|
||||||
|
- name: PESD
|
||||||
|
description: Programming or erase operation suspended
|
||||||
|
bit_offset: 19
|
||||||
|
bit_size: 1
|
||||||
|
fieldset/CR:
|
||||||
|
description: Flash control register
|
||||||
|
fields:
|
||||||
|
- name: PG
|
||||||
|
description: Programming
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 1
|
||||||
|
- name: PER
|
||||||
|
description: Page erase
|
||||||
|
bit_offset: 1
|
||||||
|
bit_size: 1
|
||||||
|
- name: MER
|
||||||
|
description: This bit triggers the mass erase (all user pages) when set
|
||||||
|
bit_offset: 2
|
||||||
|
bit_size: 1
|
||||||
|
- name: PNB
|
||||||
|
description: Page number selection
|
||||||
|
bit_offset: 3
|
||||||
|
bit_size: 8
|
||||||
|
- name: STRT
|
||||||
|
description: Start
|
||||||
|
bit_offset: 16
|
||||||
|
bit_size: 1
|
||||||
|
- name: OPTSTRT
|
||||||
|
description: Options modification start
|
||||||
|
bit_offset: 17
|
||||||
|
bit_size: 1
|
||||||
|
- name: FSTPG
|
||||||
|
description: Fast programming
|
||||||
|
bit_offset: 18
|
||||||
|
bit_size: 1
|
||||||
|
- name: EOPIE
|
||||||
|
description: End of operation interrupt enable
|
||||||
|
bit_offset: 24
|
||||||
|
bit_size: 1
|
||||||
|
- name: ERRIE
|
||||||
|
description: Error interrupt enable
|
||||||
|
bit_offset: 25
|
||||||
|
bit_size: 1
|
||||||
|
- name: RDERRIE
|
||||||
|
description: PCROP read error interrupt enable
|
||||||
|
bit_offset: 26
|
||||||
|
bit_size: 1
|
||||||
|
- name: OBL_LAUNCH
|
||||||
|
description: Force the option byte loading
|
||||||
|
bit_offset: 27
|
||||||
|
bit_size: 1
|
||||||
|
- name: OPTLOCK
|
||||||
|
description: Options Lock
|
||||||
|
bit_offset: 30
|
||||||
|
bit_size: 1
|
||||||
|
- name: LOCK
|
||||||
|
description: FLASH_CR Lock
|
||||||
|
bit_offset: 31
|
||||||
|
bit_size: 1
|
||||||
|
fieldset/ECCR:
|
||||||
|
description: Flash ECC register
|
||||||
|
fields:
|
||||||
|
- name: ADDR_ECC
|
||||||
|
description: ECC fail address
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 17
|
||||||
|
- name: SYSF_ECC
|
||||||
|
description: System Flash ECC fail
|
||||||
|
bit_offset: 20
|
||||||
|
bit_size: 1
|
||||||
|
- name: ECCCIE
|
||||||
|
description: ECC correction interrupt enable
|
||||||
|
bit_offset: 24
|
||||||
|
bit_size: 1
|
||||||
|
- name: CPUID
|
||||||
|
description: CPU identification
|
||||||
|
bit_offset: 26
|
||||||
|
bit_size: 3
|
||||||
|
- name: ECCC
|
||||||
|
description: ECC correction
|
||||||
|
bit_offset: 30
|
||||||
|
bit_size: 1
|
||||||
|
- name: ECCD
|
||||||
|
description: ECC detection
|
||||||
|
bit_offset: 31
|
||||||
|
bit_size: 1
|
||||||
|
fieldset/IPCCBR:
|
||||||
|
description: IPCC mailbox data buffer address register
|
||||||
|
fields:
|
||||||
|
- name: IPCCDBA
|
||||||
|
description: PCC mailbox data buffer base address
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 14
|
||||||
|
fieldset/KEYR:
|
||||||
|
description: Flash key register
|
||||||
|
fields:
|
||||||
|
- name: KEYR
|
||||||
|
description: KEYR
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 32
|
||||||
|
fieldset/OPTKEYR:
|
||||||
|
description: Option byte key register
|
||||||
|
fields:
|
||||||
|
- name: OPTKEYR
|
||||||
|
description: Option byte key
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 32
|
||||||
|
fieldset/OPTR:
|
||||||
|
description: Flash option register
|
||||||
|
fields:
|
||||||
|
- name: RDP
|
||||||
|
description: Read protection level
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 8
|
||||||
|
- name: ESE
|
||||||
|
description: Security enabled
|
||||||
|
bit_offset: 8
|
||||||
|
bit_size: 1
|
||||||
|
- name: BOR_LEV
|
||||||
|
description: BOR reset Level
|
||||||
|
bit_offset: 9
|
||||||
|
bit_size: 3
|
||||||
|
- name: nRST_STOP
|
||||||
|
description: nRST_STOP
|
||||||
|
bit_offset: 12
|
||||||
|
bit_size: 1
|
||||||
|
- name: nRST_STDBY
|
||||||
|
description: nRST_STDBY
|
||||||
|
bit_offset: 13
|
||||||
|
bit_size: 1
|
||||||
|
- name: nRST_SHDW
|
||||||
|
description: nRST_SHDW
|
||||||
|
bit_offset: 14
|
||||||
|
bit_size: 1
|
||||||
|
- name: IDWG_SW
|
||||||
|
description: Independent watchdog selection
|
||||||
|
bit_offset: 16
|
||||||
|
bit_size: 1
|
||||||
|
- name: IWDG_STOP
|
||||||
|
description: Independent watchdog counter freeze in Stop mode
|
||||||
|
bit_offset: 17
|
||||||
|
bit_size: 1
|
||||||
|
- name: IWDG_STDBY
|
||||||
|
description: Independent watchdog counter freeze in Standby mode
|
||||||
|
bit_offset: 18
|
||||||
|
bit_size: 1
|
||||||
|
- name: WWDG_SW
|
||||||
|
description: Window watchdog selection
|
||||||
|
bit_offset: 19
|
||||||
|
bit_size: 1
|
||||||
|
- name: nBOOT1
|
||||||
|
description: Boot configuration
|
||||||
|
bit_offset: 23
|
||||||
|
bit_size: 1
|
||||||
|
- name: SRAM2_PE
|
||||||
|
description: SRAM2 parity check enable
|
||||||
|
bit_offset: 24
|
||||||
|
bit_size: 1
|
||||||
|
- name: SRAM2_RST
|
||||||
|
description: SRAM2 Erase when system reset
|
||||||
|
bit_offset: 25
|
||||||
|
bit_size: 1
|
||||||
|
- name: nSWBOOT0
|
||||||
|
description: Software Boot0
|
||||||
|
bit_offset: 26
|
||||||
|
bit_size: 1
|
||||||
|
- name: nBOOT0
|
||||||
|
description: nBoot0 option bit
|
||||||
|
bit_offset: 27
|
||||||
|
bit_size: 1
|
||||||
|
- name: AGC_TRIM
|
||||||
|
description: Radio Automatic Gain Control Trimming
|
||||||
|
bit_offset: 29
|
||||||
|
bit_size: 3
|
||||||
|
fieldset/PCROP1AER:
|
||||||
|
description: Flash Bank 1 PCROP End address zone A register
|
||||||
|
fields:
|
||||||
|
- name: PCROP1A_END
|
||||||
|
description: Bank 1 PCROP area end offset
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 9
|
||||||
|
- name: PCROP_RDP
|
||||||
|
description: PCROP area preserved when RDP level decreased
|
||||||
|
bit_offset: 31
|
||||||
|
bit_size: 1
|
||||||
|
fieldset/PCROP1ASR:
|
||||||
|
description: Flash Bank 1 PCROP Start address zone A register
|
||||||
|
fields:
|
||||||
|
- name: PCROP1A_STRT
|
||||||
|
description: Bank 1 PCROPQ area start offset
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 9
|
||||||
|
fieldset/PCROP1BER:
|
||||||
|
description: Flash Bank 1 PCROP End address area B register
|
||||||
|
fields:
|
||||||
|
- name: PCROP1B_END
|
||||||
|
description: Bank 1 PCROP area end area B offset
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 9
|
||||||
|
fieldset/PCROP1BSR:
|
||||||
|
description: Flash Bank 1 PCROP Start address area B register
|
||||||
|
fields:
|
||||||
|
- name: PCROP1B_STRT
|
||||||
|
description: Bank 1 PCROP area B start offset
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 9
|
||||||
|
fieldset/SFR:
|
||||||
|
description: Secure flash start address register
|
||||||
|
fields:
|
||||||
|
- name: SFSA
|
||||||
|
description: Secure flash start address
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 8
|
||||||
|
- name: FSD
|
||||||
|
description: Flash security disable
|
||||||
|
bit_offset: 8
|
||||||
|
bit_size: 1
|
||||||
|
- name: DDS
|
||||||
|
description: Disable Cortex M0 debug access
|
||||||
|
bit_offset: 12
|
||||||
|
bit_size: 1
|
||||||
|
fieldset/SR:
|
||||||
|
description: Status register
|
||||||
|
fields:
|
||||||
|
- name: EOP
|
||||||
|
description: End of operation
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 1
|
||||||
|
- name: OPERR
|
||||||
|
description: Operation error
|
||||||
|
bit_offset: 1
|
||||||
|
bit_size: 1
|
||||||
|
- name: PROGERR
|
||||||
|
description: Programming error
|
||||||
|
bit_offset: 3
|
||||||
|
bit_size: 1
|
||||||
|
- name: WRPERR
|
||||||
|
description: Write protected error
|
||||||
|
bit_offset: 4
|
||||||
|
bit_size: 1
|
||||||
|
- name: PGAERR
|
||||||
|
description: Programming alignment error
|
||||||
|
bit_offset: 5
|
||||||
|
bit_size: 1
|
||||||
|
- name: SIZERR
|
||||||
|
description: Size error
|
||||||
|
bit_offset: 6
|
||||||
|
bit_size: 1
|
||||||
|
- name: PGSERR
|
||||||
|
description: Programming sequence error
|
||||||
|
bit_offset: 7
|
||||||
|
bit_size: 1
|
||||||
|
- name: MISERR
|
||||||
|
description: Fast programming data miss error
|
||||||
|
bit_offset: 8
|
||||||
|
bit_size: 1
|
||||||
|
- name: FASTERR
|
||||||
|
description: Fast programming error
|
||||||
|
bit_offset: 9
|
||||||
|
bit_size: 1
|
||||||
|
- name: OPTNV
|
||||||
|
description: User Option OPTVAL indication
|
||||||
|
bit_offset: 13
|
||||||
|
bit_size: 1
|
||||||
|
- name: RDERR
|
||||||
|
description: PCROP read error
|
||||||
|
bit_offset: 14
|
||||||
|
bit_size: 1
|
||||||
|
- name: OPTVERR
|
||||||
|
description: Option validity error
|
||||||
|
bit_offset: 15
|
||||||
|
bit_size: 1
|
||||||
|
- name: BSY
|
||||||
|
description: Busy
|
||||||
|
bit_offset: 16
|
||||||
|
bit_size: 1
|
||||||
|
- name: CFGBSY
|
||||||
|
description: Programming or erase configuration busy
|
||||||
|
bit_offset: 18
|
||||||
|
bit_size: 1
|
||||||
|
- name: PESD
|
||||||
|
description: Programming or erase operation suspended
|
||||||
|
bit_offset: 19
|
||||||
|
bit_size: 1
|
||||||
|
fieldset/SRRVR:
|
||||||
|
description: Secure SRAM2 start address and cortex M0 reset vector register
|
||||||
|
fields:
|
||||||
|
- name: SBRV
|
||||||
|
description: cortex M0 access control register
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 18
|
||||||
|
- name: SBRSA
|
||||||
|
description: Secure backup SRAM2a start address
|
||||||
|
bit_offset: 18
|
||||||
|
bit_size: 5
|
||||||
|
- name: BRSD
|
||||||
|
description: backup SRAM2a security disable
|
||||||
|
bit_offset: 23
|
||||||
|
bit_size: 1
|
||||||
|
- name: SNBRSA
|
||||||
|
description: Secure non backup SRAM2a start address
|
||||||
|
bit_offset: 25
|
||||||
|
bit_size: 5
|
||||||
|
- name: NBRSD
|
||||||
|
description: non-backup SRAM2b security disable
|
||||||
|
bit_offset: 30
|
||||||
|
bit_size: 1
|
||||||
|
- name: C2OPT
|
||||||
|
description: CPU2 cortex M0 boot reset vector memory selection
|
||||||
|
bit_offset: 31
|
||||||
|
bit_size: 1
|
||||||
|
fieldset/WRP1AR:
|
||||||
|
description: Flash Bank 1 WRP area A address register
|
||||||
|
fields:
|
||||||
|
- name: WRP1A_STRT
|
||||||
|
description: Bank 1 WRP first area A start offset
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 8
|
||||||
|
- name: WRP1A_END
|
||||||
|
description: Bank 1 WRP first area A end offset
|
||||||
|
bit_offset: 16
|
||||||
|
bit_size: 8
|
||||||
|
fieldset/WRP1BR:
|
||||||
|
description: Flash Bank 1 WRP area B address register
|
||||||
|
fields:
|
||||||
|
- name: WRP1B_END
|
||||||
|
description: Bank 1 WRP second area B start offset
|
||||||
|
bit_offset: 0
|
||||||
|
bit_size: 8
|
||||||
|
- name: WRP1B_STRT
|
||||||
|
description: Bank 1 WRP second area B end offset
|
||||||
|
bit_offset: 16
|
||||||
|
bit_size: 8
|
@ -224,11 +224,13 @@ perimap = [
|
|||||||
('STM32F3.*:FLASH:.*', ('flash', 'f3', 'FLASH')),
|
('STM32F3.*:FLASH:.*', ('flash', 'f3', 'FLASH')),
|
||||||
('STM32F4.*:FLASH:.*', ('flash', 'f4', 'FLASH')),
|
('STM32F4.*:FLASH:.*', ('flash', 'f4', 'FLASH')),
|
||||||
('STM32F7.*:FLASH:.*', ('flash', 'f7', 'FLASH')),
|
('STM32F7.*:FLASH:.*', ('flash', 'f7', 'FLASH')),
|
||||||
|
('STM32L0[0-9]2.*:FLASH:.*', ('flash', 'l0', 'FLASH')),
|
||||||
('STM32L1.*:FLASH:.*', ('flash', 'l1', 'FLASH')),
|
('STM32L1.*:FLASH:.*', ('flash', 'l1', 'FLASH')),
|
||||||
('STM32L4.*:FLASH:.*', ('flash', 'l4', 'FLASH')),
|
('STM32L4.*:FLASH:.*', ('flash', 'l4', 'FLASH')),
|
||||||
('STM32L5.*:FLASH:.*', ('flash', 'l5', 'FLASH')),
|
('STM32L5.*:FLASH:.*', ('flash', 'l5', 'FLASH')),
|
||||||
('STM32U5.*:FLASH:.*', ('flash', 'u5', 'FLASH')),
|
('STM32U5.*:FLASH:.*', ('flash', 'u5', 'FLASH')),
|
||||||
('STM32WB.*:FLASH:.*', ('flash', 'wb55', 'FLASH')),
|
('STM32WB.*:FLASH:.*', ('flash', 'wb', 'FLASH')),
|
||||||
|
('STM32WL.*:FLASH:.*', ('flash', 'wl', 'FLASH')),
|
||||||
('STM32G0.*:FLASH:.*', ('flash', 'g0', 'FLASH')),
|
('STM32G0.*:FLASH:.*', ('flash', 'g0', 'FLASH')),
|
||||||
('STM32F7.*:ETH:ETH:ethermac110_v2_0', ('eth', 'v1c', 'ETH')),
|
('STM32F7.*:ETH:ETH:ethermac110_v2_0', ('eth', 'v1c', 'ETH')),
|
||||||
('.*ETH:ethermac110_v3_0', ('eth', 'v2', 'ETH')),
|
('.*ETH:ethermac110_v3_0', ('eth', 'v2', 'ETH')),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user