|
From: <ge...@op...> - 2017-03-18 17:33:36
|
This is an automated email from Gerrit. Anonymous Coward (me...@0r...) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/4073 -- gerrit commit 4ace42079e3ef9f0b7bd9006f612ef62bdc55dda Author: rel <me...@0r...> Date: Sat Mar 18 18:00:13 2017 +0100 stm32lx: flash bank size changed for STM32L0xx (Cat.5) MCUs STM32L0xx category 5 MCUs come with 192 KiB of Flash program memory, organized in two banks: * Bank 1: starting at 0x0800 0000, size 96 KiB * Bank 2: starting at 0x0801 8000, size 96 KiB Chaning first_bank_size_kb of the mentioned part from 128 to 96, to prevent OpenOCD from aborting a flash program operation. Change-Id: I99968155a40242f4a032185e9c994ade71236b83 Signed-off-by: rel <me...@0r...> diff --git a/src/flash/nor/stm32lx.c b/src/flash/nor/stm32lx.c index 0b39233..a47efd6 100644 --- a/src/flash/nor/stm32lx.c +++ b/src/flash/nor/stm32lx.c @@ -258,7 +258,7 @@ static const struct stm32lx_part_info stm32lx_parts[] = { .page_size = 128, .pages_per_sector = 32, .max_flash_size_kb = 192, - .first_bank_size_kb = 128, + .first_bank_size_kb = 96, .has_dual_banks = true, .flash_base = 0x40022000, .fsize_base = 0x1FF8007C, -- |