diff options
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/nor/stm32lx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flash/nor/stm32lx.c b/src/flash/nor/stm32lx.c index ca29e1c3..3bc6eed9 100644 --- a/src/flash/nor/stm32lx.c +++ b/src/flash/nor/stm32lx.c @@ -409,6 +409,7 @@ static int stm32lx_write(struct flash_bank *bank, uint8_t *buffer, } bytes_written = 128 * halfpages_number; + address += bytes_written; retval = stm32lx_unlock_program_memory(bank); if (retval != ERROR_OK) |