summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRong Chang <rongchang@chromium.org>2015-04-24 09:41:12 +0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-04-24 05:07:45 +0000
commit08013b206bb64e7e84ded139ff9e5f17a60e61a7 (patch)
treee683d9d48b7536e29b6f361e514b9b18638d0e1d
parent934f345ec566aca297a72f8548a36cc024e5f64a (diff)
downloadchrome-ec-08013b206bb64e7e84ded139ff9e5f17a60e61a7.tar.gz
stm32mon: add STM32F09X chip id
Adds the support of STM32F09X with 256KB flash. BUG=none Test=manual Check stm32mon ChipID output: ChipID 0x442 : STM32F09x Bootloader v3.1, commands : 00 01 02 11 21 31 44 63 73 82 92 Flash read unprotected. Waiting for the monitor startup ...Done. Flash write unprotected. Waiting for the monitor startup ...Done. Flash erased. Writing 262144 bytes at 0x08000000 Change-Id: Ied967716750820a335011f244aae5885c507360a Signed-off-by: Rong Chang <rongchang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/266972 Reviewed-by: Alec Berg <alecaberg@chromium.org>
-rw-r--r--util/stm32mon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/stm32mon.c b/util/stm32mon.c
index 2de9400ca4..a57302481b 100644
--- a/util/stm32mon.c
+++ b/util/stm32mon.c
@@ -72,6 +72,7 @@ struct stm32_def {
{0x444, "STM32F03x", 0x08000000, 0x08000, 1024, 13},
{0x448, "STM32F07xB", 0x08000000, 0x20000, 2048, 13},
{0x432, "STM32F37xx", 0x08000000, 0x40000, 2048, 13},
+ {0x442, "STM32F09x", 0x08000000, 0x40000, 2048, 13},
{ 0 }
};