From 2d7b24c566ae7285c4311a6e24c35008ff942fce Mon Sep 17 00:00:00 2001 From: Laurent Bonnans Date: Wed, 9 Dec 2015 14:12:24 +0100 Subject: [PATCH] efm32: inhibit srst EFM32s don't seem to like to be completely resetted while being debugged (load and break were broken) --- src/efm32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/efm32.c b/src/efm32.c index 9fb499d..25bb3f2 100644 --- a/src/efm32.c +++ b/src/efm32.c @@ -334,6 +334,7 @@ bool efm32_probe(target *t) uint32_t ram_size = efm32_read_ram_size(t) * 0x400; /* Setup Target */ + t->target_options |= CORTEXM_TOPT_INHIBIT_SRST; t->driver = variant_string; gdb_outf("flash size %d page size %d\n", flash_size, flash_page_size); target_add_ram (t, SRAM_BASE, ram_size);