mirror of https://github.com/wolfSSL/wolfBoot.git
F-12875: stm32f7 fix non-dual-bank sector 11 start address
Sector 11 was at 0x818C000, inside sector 10's 256 KB range (0x8180000-0x81C0000), so hal_flash_erase mapped the upper part of sector 10 to sector 11 and erased the wrong sector. Sector 11 is 0x81C0000, contiguous after sector 10 and ending at FLASH_TOP.pull/883/head
parent
22356e6d02
commit
9475169bdc
|
|
@ -177,7 +177,7 @@ void fork_bootloader(void);
|
|||
# define FLASH_SECTOR_8 0x8100000 /* 256 Kb */
|
||||
# define FLASH_SECTOR_9 0x8140000 /* 256 Kb */
|
||||
# define FLASH_SECTOR_10 0x8180000 /* 256 Kb */
|
||||
# define FLASH_SECTOR_11 0x818C000 /* 256 Kb */
|
||||
# define FLASH_SECTOR_11 0x81C0000 /* 256 Kb */
|
||||
#endif
|
||||
# define FLASH_TOP 0x8200000
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue