diff --git a/src/stlink-lib/flash_loader.c b/src/stlink-lib/flash_loader.c index b7726e8..b559534 100644 --- a/src/stlink-lib/flash_loader.c +++ b/src/stlink-lib/flash_loader.c @@ -368,7 +368,7 @@ int stlink_flash_loader_run(stlink_t *sl, flash_loader_t* fl, stm32_addr_t targe * the OS uses, the wait until the error message is reduced to the same order of magnitude * as what was intended. -- REW. */ -#define WAIT_ROUNDS 30 +#define WAIT_ROUNDS 40 // wait until done (reaches breakpoint) for (i = 0; i < WAIT_ROUNDS; i++) {