From cf5555a9ce8e1ef29553ef8ac37111dc4a6a8a8f Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Mon, 22 May 2017 15:21:57 -0700 Subject: [PATCH] stm32mon: Add support for STM32F412 BRANCH=none BUG=b:38506987 TEST=On eve, where some sectors were locked, was able to unlock them: - Enter bootloader: st_flash --board=eve --enter_bootloader=true - Unlock all pages: /tmp/stm32mon -a 8 -l 0x8c -u ChipID 0x441 : STM32F412 Bootloader v1.2, commands : \ 00 01 02 11 21 31 44 63 73 82 92 32 45 64 74 83 93 00 Flash write unprotected. Change-Id: I423e4b7f235ee2c9dddf28f4166fca2a74132733 Signed-off-by: Gwendal Grignou Reviewed-on: https://chromium-review.googlesource.com/511886 Reviewed-by: Alexandru M Stan --- util/stm32mon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util/stm32mon.c b/util/stm32mon.c index 1374db3c98..3448c88f75 100644 --- a/util/stm32mon.c +++ b/util/stm32mon.c @@ -84,6 +84,7 @@ struct stm32_def { {0x432, "STM32F37xx", 0x40000, 2048, {13, 13} }, {0x442, "STM32F09x", 0x40000, 2048, {13, 13} }, {0x431, "STM32F411", 0x80000, 16384, {13, 19} }, + {0x441, "STM32F412", 0x80000, 16384, {13, 19} }, { 0 } };