6.2 Flash Address Alignment
The table lists a summary of the Flash address alignment information of commonly used chips. Most of the chips adapted by PowerWriter support single-byte alignment, which means that no additional alignment is required. Power Writer will read back the data and write the data aligned to the user's firmware that has not been aligned to the following table, which is feasible most of the time. However, some chips do not support multiple writes, such as STM32H7, in order to ensure that users can normally burn the chip, according to the table in the alignment of the firmware is still the best option, this table is only for reference:
Chip Series | FLASH base address | Alignment |
---|---|---|
STM32F0xx | 0x08000000 | 2-byte aligned to FLASH base address |
STM32F1xx | 0x08000000 | 2-byte aligned to FLASH base address |
STM32F2xx | 0x08000000 | 4-byte aligned to FLASH base address |
STM32F3xx | 0x08000000 | 2-byte aligned to FLASH base address |
STM32F4xx | 0x08000000 | 4-byte aligned to FLASH base address |
STM32F7xx | 0x08000000 | 4-byte aligned to FLASH base address |
STM32L0xx | 0x08000000 | 4-byte aligned to FLASH base address |
STM32L1xx | 0x08000000 | 4-byte aligned to FLASH base address |
STM32L4xx | 0x08000000 | 8-byte aligned to FLASH base address |
STM32L5xx | 0x08000000 | 8-byte aligned to FLASH base address |
STM32G0xx | 0x08000000 | 4-byte aligned to FLASH base address |
STM32G4xx | 0x08000000 | 8-byte aligned to FLASH base address |
STM32WBxx | 0x08000000 | 8-byte aligned to FLASH base address |
STM32H7xx | 0x08000000 | 32-byte aligned to FLASH base address |
GD32F10x | 0x08000000 | 4-byte aligned to FLASH base address |
GD32F1x0 | 0x08000000 | 4-byte aligned to FLASH base address |
GD32F20x | 0x08000000 | 4-byte aligned to FLASH base address |
GD32F30x | 0x08000000 | 4-byte aligned to FLASH base address |
GD32F3x0 | 0x08000000 | 4-byte aligned to FLASH base address |
GD32F4xx | 0x08000000 | 4-byte aligned to FLASH base address |
GD32E230 | 0x08000000 | 4-byte aligned to FLASH base address |
GD32E103 | 0x08000000 | 4-byte aligned to FLASH base address |
MM32F00x | 0x08000000 | 4-byte aligned to FLASH base address |
MM32F0xx | 0x08000000 | 4-byte aligned to FLASH base address |
MM32F1xx | 0x08000000 | 4-byte aligned to FLASH base address |
MM32L0xx | 0x08000000 | 4-byte aligned to FLASH base address |
MM32L3xx | 0x08000000 | 4-byte aligned to FLASH base address |
MM32SPINxx | 0x08000000 | 4-byte aligned to FLASH base address |
MM32W0xx | 0x08000000 | 4-byte aligned to FLASH base address |
MM32W3xx | 0x08000000 | 4-byte aligned to FLASH base address |
... | ... | ... |
caution
- Power Writer will automatically process the information already, and if the first address is not aligned when adding firmware, an error will be reported and the firmware will not be added.
- Maintenance of its information will not be added subsequently, the focus is to introduce the way the chip is written and have a conceptual understanding.