Files
openocd/src
Tobias Ringström 14f4606dcb STM32 flash erase timeout fix
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).

I'd also consider it a bug that the code does not detect a timeout, but
just assumes that the operation has completed.  The attached patch does
not address this bug.

The attached patch increases the timeouts from 10 to 100 ms.  Please apply.

/Tobias
2010-05-03 11:55:08 +02:00
..
2010-05-03 11:55:08 +02:00
2010-04-10 22:25:22 +08:00
2010-04-10 17:06:16 +08:00
2010-03-15 08:37:43 -07:00
2010-04-10 17:23:06 +08:00
2010-04-10 17:23:06 +08:00
2010-04-10 22:04:03 +08:00