Skip to content
Snippets Groups Projects
Commit a9c90a0f authored by Jussi Kivilinna's avatar Jussi Kivilinna Committed by Spencer Oliver
Browse files

stm32lx: do not attempt mass-erase in-place of first bank erase


Commit 832f0a5b 'stm32: add mass erase support for STM32L' added
use of mass-erase in-place of bank-erase. This is triggered if first
bank is requested to be fully erased.

This erroneous action completely fails on STM32L162VEY (has 512 KiB
flash in two 256 KiB banks) and also unintently destroying contents of
EEPROM and second flash bank.

Change-Id: I0f13f7b0346747a09c755d72b5b95775ceff5a6f
Signed-off-by: default avatarJussi Kivilinna <jussi.kivilinna@haltian.com>
Reviewed-on: http://openocd.zylin.com/2441


Reviewed-by: default avatarPaul Fertser <fercerpav@gmail.com>
Tested-by: jenkins
parent 87377499
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment