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>
This commit is contained in:
Rong Chang
2015-04-24 09:41:12 +08:00
committed by ChromeOS Commit Bot
parent 934f345ec5
commit 08013b206b

View File

@@ -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 }
};