---
# System prepended metadata

title: Untitled

---

Флеш память контроллера по условиям проекта разделена на следующие сегменты:
Main memory block
Sector 0 0x0800 0000 - 0x0800 3FFF 0x0020 0000 - 0x0020 3FFF 16 Kbytes
Sector 1 0x0800 4000 - 0x0800 7FFF 0x0020 4000 - 0x0020 7FFF 16 Kbytes
Sector 2 0x0800 8000 - 0x0800 BFFF 0x0020 8000 - 0x0020 BFFF 16 Kbytes
Sector 3 0x0800 C000 - 0x0800 FFFF 0x0020 C000 - 0x0020 FFFF 16 Kbytes
Sector 4 0x0801 0000 - 0x0801 FFFF 0x0021 0000 - 0x0021 FFFF 64 Kbytes
Sector 5 0x0802 0000 - 0x0803 FFFF 0x0022 0000 - 0x0023 FFFF 128 Kbytes
Sector 6 0x0804 0000 - 0x0805 FFFF 0x0024 0000 - 0x0025 FFFF 128 Kbytes
Sector 7 0x0806 0000 - 0x0807 FFFF 0x0026 0000 - 0x027 FFFF 128 Kbytes
Information block
System memory 0x1FF0 0000 - 0x1FF0 76D7 0x0010 0000 - 0x0010 76D7 ~ 30 Kbytes
OTP 0x1FF0 7800 - 0x1FF0 7A0F 0x0010 7800 - 0x0010 7A0F 528 bytes
Option bytes 0x1FFF 0000 - 0x1FFF 001F - 32 bytes

|Sector|Range              | Size KB |
|------|-------------------|--------|
| 0    |0x0800 0000 - 0x0800 3FFF|16 |
| 1    |0x0800 4000 - 0x0800 7FFF|16 |
| 2    |0x0800 8000 - 0x0800 BFFF|16 |
| 3    |0x0800 C000 - 0x0800 FFFF|16 |
| 4    |0x0801 0000 - 0x0801 FFFF|64 |
| 5    |0x0802 0000 - 0x0803 FFFF|128|
| 6    |0x0804 0000 - 0x0805 FFFF|128|
| 7    |0x0806 0000 - 0x0807 FFFF|128|

- [] 

<table>
    <tr><th>MCU Series</th><th>Features</th><th>Driver</th><th>File</th></tr>
    <tr>
        <td rowspan="2">STM32L0x2 STM32L0x3 STM32F070 STM32F0x2 STM32F0x8</td>
        <td nowrap rowspan="2">Doublebuffered<sup>[2]</sup><br />8<sup>[1]</sup> endpoints<br /> BC1.2</td>
        <td>usbd_devfs</td>
        <td>usbd_stm32l052_devfs.c</td>
    </tr>
    <tr>
        <td>usbd_devfs_asm</td>
        <td>usbd_stm32l052_devfs_asm.S</td>
    </tr>
    <tr>
        <td rowspan="2">STM32L4x2 STM32L4x3 STM32G4 series</td>
        <td nowrap rowspan="2">Doublebuffered<sup>[2]</sup><br />8<sup>[1]</sup> endpoints<br /> BC1.2</td>
        <td>usbd_devfs</td>
        <td>usbd_stm32l433_devfs.c</td>
    </tr>
    <tr>
        <td>usbd_devfs_asm</td>
        <td>usbd_stm32l052_devfs_asm.S</td>
    </tr>
    <tr>
        <td rowspan="2">STM32L1xx</td>
        <td nowrap rowspan="2">Doublebuffered<sup>[2]</sup><br />8<sup>[1]</sup> endpoints</td>
        <td>usbd_devfs</td>
        <td>usbd_stm32l100_devfs.c</td>
    </tr>
    <tr>
        <td>usbd_devfs_asm</td>
        <td>usbd_stm32l100_devfs_asm.S</td>
    </tr>
    <tr>
        <td rowspan="2">STM32F102 STM32F103 STM32F302 STM32F303 STM32F373</td>
        <td nowrap rowspan="2">Doublebuffered<sup>[2]</sup><br />External DP pullup<br />8<sup>[1]</sup> endpoints</td>
        <td>usbd_devfs</td>
        <td>usbd_stm32f103_devfs.c</td>
    </tr>
    <tr>
        <td>usbd_devfs_asm</td>
        <td>usbd_stm32f103_devfs_asm.S</td>
    </tr>
    <tr>
        <td>STM32WB55</td>
        <td>Doublebuffered<sup>[2]</sup><br />External DP pullup<br />8<sup>[1]</sup> endpoints</td>
        <td>usbd_devfs</td>
        <td>usbd_stm32wb55_devfs.c</td>
    </tr>
    <tr>
        <td>STM32L4x5 STM32L4x6</td>
        <td nowrap>Doublebuffered<br />6 endpoints<br /> BC1.2<br />VBUS detection</td>
        <td>usbd_otgfs</td>
        <td>usbd_stm32l476_otgfs.c</td>
    </tr>
    <tr>
        <td>STM32F401 STM32F411</td>
        <td nowrap>Doublebuffered<br/>4 endpoints<br/>VBUS detection<br/>SOF output</td>
        <td>usbd_otgfs</td>
        <td>usbd_stm32f429_otgfs.c</td>
    </tr>
    <tr>
        <td rowspan="2">STM32F4x5 STM32F4x7 STM32F4x9</td>
        <td nowrap>Doublebuffered<br/>4 endpoints<br/>VBUS detection<br/>SOF output</td>
        <td>usbd_otgfs</td>
        <td>usbd_stm32f429_otgfs.c</td>
    </tr>
    <tr>
        <td nowrap>Doublebuffered<br/>6 endpoints<br/>VBUS detection<br/>SOF output</td>
        <td>usbd_otghs</td>
        <td>usbd_stm32f429_otghs.c</td>
    </tr>
    <tr>
        <td>STM32F105 STM32F107</td>
        <td nowrap>Doublebuffered<br/>4 endpoints<br/>VBUS detection<br/>SOF output</td>
        <td>usbd_otgfs</td>
        <td>usbd_stm32f105_otgfs.c</td>
    </tr>
        <tr>
        <td rowspan="2">STM32F4x6 STM32F7</td>
        <td nowrap>Doublebuffered<br/>6 endpoints<br/>VBUS detection<br/>SOF output</td>
        <td>usbd_otgfs</td>
        <td>usbd_stm32f446_otgfs.c</td>
    </tr>
    <tr>
        <td nowrap>Doublebuffered<br/>9 endpoints<br/>VBUS detection<br/>SOF output</td>
        <td>usbd_otghs</td>
        <td>usbd_stm32f446_otghs.c</td>
    </tr>
    <tr>
        <td>STM32H743</td>
        <td nowrap>Doublebuffered<br/>6 endpoints<br/>VBUS detection<br/>SOF output</td>
        <td>usbd_otgfs</td>
        <td>usbd_stm32h743_otgfs.c</td>
    </tr>
</table>