This is an automated email from Gerrit.

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

-- gerrit

commit 88fdafa05c389c161c0bfe7846e2e364ef7c637d
Author: Gabrielle Trotter <[email protected]>
Date:   Fri Oct 21 15:35:08 2016 -0400

    Topic: Support for ATSAMS70N19 Memory Configuration
    
    I am not sure that this is the only change necessary -
    it seems like I can only flash/erase the first 14 banks
    when there should be ~63, but it allowed me to get past
    the unexpected banks message.
    
    Change-Id: I3c17fcb7ee053f92aa583149bea7b8e33b3b86f7
    Signed-off-by: [email protected]

diff --git a/src/flash/nor/atsamv.c b/src/flash/nor/atsamv.c
index d21419d..9834f8f 100644
--- a/src/flash/nor/atsamv.c
+++ b/src/flash/nor/atsamv.c
@@ -369,6 +369,9 @@ static int samv_probe(struct flash_bank *bank)
                case 14:
                        bank->size = 2048 * 1024;
                        break;
+        case 10:
+            bank->size = 512 * 512;
+            break;
                default:
                        LOG_ERROR("unrecognized flash size code: %d", 
nvm_size_code);
                        return ERROR_FAIL;

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to