Re: [Openocd-development] [PATCH] STM32 flash erase timeout fix

2010-05-03 Thread Øyvind Harboe
Merged. Thanks! -- 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

Re: [Openocd-development] [PATCH] STM32 flash erase timeout fix

2010-05-02 Thread Øyvind Harboe
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

Re: [Openocd-development] [PATCH] STM32 flash erase timeout fix

2010-05-02 Thread Tobias Ringström
On 2010-05-02 18:52, Øyvind Harboe wrote: 2010/4/30 Tobias Ringströmtob...@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

Re: [Openocd-development] [PATCH] STM32 flash erase timeout fix

2010-05-02 Thread Tobias Ringström
On 2010-04-30 14:20, freddie_cho...@op.pl wrote: Użytkownik Tobias Ringströmtob...@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

Re: [Openocd-development] [PATCH] STM32 flash erase timeout fix

2010-05-02 Thread Øyvind Harboe
Any objections to merging? What do you mean? It was a call for comments from others on the list. I thought you made a convincing argument and if I don't hear anything real soon, I'll merge the patch. -- Meet Zylin at ESC 2010 San Jose April 26 - 30. 2010

[Openocd-development] [PATCH] STM32 flash erase timeout fix

2010-04-30 Thread Tobias Ringström
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

Re: [Openocd-development] [PATCH] STM32 flash erase timeout fix

2010-04-30 Thread freddie_chopin
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