From 8c26581f5937a9f6603d3fbcf056f8aedeed3101 Mon Sep 17 00:00:00 2001 From: Robin Kreis Date: Tue, 28 Apr 2015 22:37:01 +0200 Subject: [PATCH] fix typo in stm32l0x flash loader The typo caused errors when flashing an stm32l052. This commit makes stlink-common.c match flashloaders/stm32l0x.s. --- src/stlink-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stlink-common.c b/src/stlink-common.c index 4599e6a..962cddb 100644 --- a/src/stlink-common.c +++ b/src/stlink-common.c @@ -1339,7 +1339,7 @@ int write_loader_to_sram(stlink_t *sl, stm32_addr_t* addr, size_t* size) { 0x04, 0xe0, 0x0c, 0x68, - 0x04, 0x66, + 0x04, 0x60, 0x01, 0x33, 0x04, 0x31, 0x04, 0x30, -- 2.47.2