| Electronic Components Datasheet Search |
|
PM0068 Datasheet(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0068 Datasheet(HTML) 18 Page - STMicroelectronics |
|
18 / 31 page ![]() Reading/programming the STM32F101xF/G and STM32F103xF/G embedded Flash memory 18/31 Doc ID 17100 Rev 2 Table 5. Description of the option bytes Flash memory address Option bytes 0x1FFF F800 Bits [31:24]: nUSER Bits [23:16]: USER: User option byte (stored in FLASH_OBR[9:2]) This byte is used to configure the following features: – Select the Flash bank to boot from: bank 1 or bank 2. – Select the watchdog event: Hardware or software. – Reset event when entering Stop mode. – Reset event when entering Standby mode. Note: Only bits [19:16] are used, bits [23:20] are not used and set to 0xF. Bit 19: BFB2 Boot from Flash memory bank 1 or bank 2 This bit allows to select the active Flash bank to boot from: bank 1 or bank 2. 0: The device boots from Flash memory bank 1 or bank 2, depending on the activation of the bank. The active banks are checked in the following order: bank 2, followed by bank 1. The active bank is identified by the value programmed at the base address of the bank ( corresponding to the initial stack pointer value in the interrupt vector table). Refer to application note AN2606 for further details. In this case, the boot pins can only select user Flash or RAM boot. 1: The device will boot from Flash memory bank 1 when boot pins are set in “boot from user Flash” position (default). Bit 18: nRST_STDBY 0: Reset generated when entering Standby mode. 1: No reset generated. Bit 17: nRST_STOP 0: Reset generated when entering Stop mode 1: No reset generated Bit 16: WDG_SW 0: Hardware watchdog 1: Software watchdog Bits [15:8]: nRDP Bits [7:0]: RDP: Read protection option byte The read protection helps the user protect the software code stored in Flash memory. It is activated by setting the RDP option byte. When this option byte is programmed to a correct value (RDPRT key = 0x00A5), read access to the Flash memory is allowed. (The result of RDP level enabled/disabled is stored in FLASH_OBR[1].) |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |