On 2010-04-30 14:20, freddie_cho...@op.pl wrote:
Użytkownik Tobias Ringström<tob...@ringis.se>  napisał:
The current timeout for STM32 flash block erase and flash mass erase is
10 (ms), which is too tight, and fails around 50% of the time for me.
The data sheet for STM32F107VC specifies a maximum erase time of 40 ms
(for both operations).
Never happened for me in a few different designs...

The delay value of 10 was just at the edge for me as it failed for about 50% of the blocks. I guess you have a slower JTAG and/or computer. Nevertheless, if the specification says it can take 40 ms, openocd should certain allow for that much time. It's also only a timeout, so increasing it will not have any effect on performance.

Also note that erase didn't complain at all. It was "flash write_image" that complained later on that not all blocks were erased.

/Tobias

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to