2010/4/30 Tobias Ringström <tob...@ringis.se>: > 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.
Sounds sensible to me. Any objections to merging? -- Meet Zylin at ESC 2010 San Jose April 26 - 30. 2010 http://www.zylin.com/events_esc2010.html Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development