diff --git a/include/stlink/chipid.h b/include/stlink/chipid.h index 4821508..351bb55 100644 --- a/include/stlink/chipid.h +++ b/include/stlink/chipid.h @@ -51,7 +51,8 @@ enum stlink_stm32_chipids { STLINK_CHIPID_STM32_F303_HIGH = 0x446, STLINK_CHIPID_STM32_L0_CAT5 = 0x447, STLINK_CHIPID_STM32_F0_CAN = 0x448, - STLINK_CHIPID_STM32_F7 = 0x449 + STLINK_CHIPID_STM32_F7 = 0x449, + STLINK_CHIPID_STM32_F410 = 0x458 }; /** diff --git a/src/chipid.c b/src/chipid.c index 92daeb2..b4fd2d6 100644 --- a/src/chipid.c +++ b/src/chipid.c @@ -196,6 +196,17 @@ static const struct stlink_chipid_params devices[] = { .bootrom_base = 0x1fff0000, .bootrom_size = 0x7800 }, + { + // STM32F410 MCUs. Support based on DM00180366.pdf (RM0401) document. + .chip_id = STLINK_CHIPID_STM32_F410, + .description = "F410 device", + .flash_type = FLASH_TYPE_F4, + .flash_size_reg = 0x1fff7a22, + .flash_pagesize = 0x4000, + .sram_size = 0x8000, + .bootrom_base = 0x1fff0000, + .bootrom_size = 0x7800 + }, { // This is STK32F303VCT6 device from STM32 F3 Discovery board. // Support based on DM00043574.pdf (RM0316) document.