This is an automated email from Gerrit.

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

-- gerrit

commit 653dfbd78fb289fc2f1cb0d22dcc6a4a490a8643
Author: Edward Fewell <[email protected]>
Date:   Thu May 14 15:49:15 2020 -0500

    nor/flash: Add keep_alive() during flash write handler
    
    Added keep_alive() call inside main flash write loop. Large
    files where causing a gdb timeout warning.
    
    Change-Id: I525dad2d644e248dd9ecf678e4d8e33c22eefdf2
    Signed-off-by: Edward Fewell <[email protected]>

diff --git a/src/flash/nor/cc3220sf.c b/src/flash/nor/cc3220sf.c
index afdb7f4..c8de7d0 100644
--- a/src/flash/nor/cc3220sf.c
+++ b/src/flash/nor/cc3220sf.c
@@ -363,6 +363,8 @@ static int cc3220sf_write(struct flash_bank *bank, const 
uint8_t *buffer,
                        LOG_ERROR("cc3220sf: Flash operation failed");
                        break;
                }
+
+               keep_alive();
        }
 
        /* Do one word write for any final bytes less than a full word */

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to