This is an automated email from Gerrit.

Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/1009

-- gerrit

commit 97c99073a306ef4f2d69a75093eec8009af1f596
Author: Spencer Oliver <[email protected]>
Date:   Fri Dec 7 11:24:21 2012 +0000

    flash: reduce stm32lx loader timeout
    
    Waiting 20secs is a bit much excessive, we could probably reduce to 5.
    
    Change-Id: Iffb97adb99c2541a075fe78dbc88a53ddf340214
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/src/flash/nor/stm32lx.c b/src/flash/nor/stm32lx.c
index 1295064..a4ec48c 100644
--- a/src/flash/nor/stm32lx.c
+++ b/src/flash/nor/stm32lx.c
@@ -320,7 +320,7 @@ static int stm32lx_write_half_pages(struct flash_bank 
*bank, uint8_t *buffer,
                /* 5: Execute the bunch of code */
                retval = target_run_algorithm(target, 0, NULL, 
sizeof(reg_params)
                                / sizeof(*reg_params), reg_params,
-                               write_algorithm->address, 0, 20000, 
&armv7m_info);
+                               write_algorithm->address, 0, 10000, 
&armv7m_info);
                if (retval != ERROR_OK)
                        break;
 

-- 

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to