kopia lustrzana https://github.com/stlink-org/stlink
chipid: Initial support for STM32F410
rodzic
ad3978720e
commit
9c635e419d
|
@ -51,7 +51,8 @@ enum stlink_stm32_chipids {
|
||||||
STLINK_CHIPID_STM32_F303_HIGH = 0x446,
|
STLINK_CHIPID_STM32_F303_HIGH = 0x446,
|
||||||
STLINK_CHIPID_STM32_L0_CAT5 = 0x447,
|
STLINK_CHIPID_STM32_L0_CAT5 = 0x447,
|
||||||
STLINK_CHIPID_STM32_F0_CAN = 0x448,
|
STLINK_CHIPID_STM32_F0_CAN = 0x448,
|
||||||
STLINK_CHIPID_STM32_F7 = 0x449
|
STLINK_CHIPID_STM32_F7 = 0x449,
|
||||||
|
STLINK_CHIPID_STM32_F410 = 0x458
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
11
src/chipid.c
11
src/chipid.c
|
@ -196,6 +196,17 @@ static const struct stlink_chipid_params devices[] = {
|
||||||
.bootrom_base = 0x1fff0000,
|
.bootrom_base = 0x1fff0000,
|
||||||
.bootrom_size = 0x7800
|
.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.
|
// This is STK32F303VCT6 device from STM32 F3 Discovery board.
|
||||||
// Support based on DM00043574.pdf (RM0316) document.
|
// Support based on DM00043574.pdf (RM0316) document.
|
||||||
|
|
Ładowanie…
Reference in New Issue