From 8975f92574d5d6476ef2d86407247a2f3a6d2e13 Mon Sep 17 00:00:00 2001 From: Mike Szczys Date: Sun, 3 Jun 2012 10:44:48 -0500 Subject: [PATCH] Added memory map for STM32F05xxx chips --- src/stlink-common.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/stlink-common.h b/src/stlink-common.h index 6fcb219..ee59094 100644 --- a/src/stlink-common.h +++ b/src/stlink-common.h @@ -221,6 +221,17 @@ extern "C" { .sram_size = 0x18000, .bootrom_base = 0x1fffe000, .bootrom_size = 0x1800 + }, + { + //Use this as an example for mapping future chips: + //RM0091 document was used to find these paramaters + .chip_id = 0x440, + .description = "F0 device", + .flash_size_reg = 0x1ffff7cc, // "Flash size data register" (pg735) + .flash_pagesize = 0x400, // Page sizes listed in Table 4 + .sram_size = 0x2000, // "SRAM" byte size in hex from Table 2 + .bootrom_base = 0x1fffec00, // "System memory" starting address from Table 2 + .bootrom_size = 0xC00 // "System memory" byte size in hex from Table 2 } }; -- 2.47.2