X-Git-Url: https://git.gag.com/?p=fw%2Fstlink;a=blobdiff_plain;f=src%2Fstlink-common.h;fp=src%2Fstlink-common.h;h=2d699359e7bc8b2eb23beb74f68575290db6b976;hp=6fcb2194e10cc35fc9b63fcf1718983376ed4260;hb=ddebad96deee5960b35630aa4db1500003abe619;hpb=1ffd636c6a2e3a3913394693862c92814e355567 diff --git a/src/stlink-common.h b/src/stlink-common.h index 6fcb219..2d69935 100644 --- a/src/stlink-common.h +++ b/src/stlink-common.h @@ -100,6 +100,7 @@ extern "C" { #define STM32_CHIPID_F4 0x413 #define STM32_CHIPID_F1_HIGH 0x414 #define STM32_CHIPID_L1_MEDIUM 0x416 +#define STM32_CHIPID_L1_HIGH 0x436 #define STM32_CHIPID_F1_CONN 0x418 #define STM32_CHIPID_F1_VL_MEDIUM 0x420 #define STM32_CHIPID_F1_VL_HIGH 0x428 @@ -221,7 +222,18 @@ extern "C" { .sram_size = 0x18000, .bootrom_base = 0x1fffe000, .bootrom_size = 0x1800 - } + }, + { + // This ignores the EEPROM! (and uses the page erase size, + // not the sector write protection...) + .chip_id = 0x436, + .description = "L1 High-density device", + .flash_size_reg = 0x1ff8004c, + .flash_pagesize = 0x100, + .sram_size = 0xc000, + .bootrom_base = 0x1ff00000, + .bootrom_size = 0x1000 + }, };