This is an automated email from Gerrit. Andreas Fritiofson (andreas.fritiof...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/3738
-- gerrit commit 1c50624d7c4f124777b6503723145db02b7676f5 Author: Andreas Fritiofson <andreas.fritiof...@gmail.com> Date: Sat Sep 17 19:53:55 2016 +0200 stm32f2x: Increase erase timeout Large flash parts time out when unlocking. Erase time is specified as 32 seconds worst case for some parts. Automatic mass erase is probably not using x8 parallellism, though, but a too large timeout shouldn't hurt. Change-Id: Ib5af60d52ed7d53277bfe7176c4c44f79d3a26bc Signed-off-by: Andreas Fritiofson <andreas.fritiof...@gmail.com> diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c index 1acab82..31db385 100644 --- a/src/flash/nor/stm32f2x.c +++ b/src/flash/nor/stm32f2x.c @@ -106,8 +106,8 @@ * */ -/* Erase time can be as high as 1000ms, 10x this and it's toast... */ -#define FLASH_ERASE_TIMEOUT 10000 +/* Erase time can be as high as 32 s for full erase in x8 mode. */ +#define FLASH_ERASE_TIMEOUT 33000 #define FLASH_WRITE_TIMEOUT 5 #define STM32_FLASH_BASE 0x40023c00 -- ------------------------------------------------------------------------------ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel