[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openocd-development
Subject:    [OpenOCD-devel] [PATCH]: f85a70f at91sam4: adding Atmel Cortex-m4 at91sam4s2b chip definition
From:       gerrit () openocd ! org (gerrit)
Date:       2016-10-25 21:16:40
Message-ID: 20161025211640.8696C1980751 () mail ! openocd ! org
[Download RAW message or body]

This is an automated email from Gerrit.

Vincent van der Locht (vincent@vlotech.nl) just uploaded a new patch set to Gerrit, \
which you can find at http://openocd.zylin.com/3835

-- gerrit

commit f85a70f5bbec47731beb030a9318a84fbb8463ce
Author: Vincent van der Locht <vincent@vlotech.nl>
Date:   Tue Oct 25 23:10:50 2016 +0200

    at91sam4: adding Atmel Cortex-m4 at91sam4s2b chip definition
    
    adding Atmel Cortex-m4 at91sam4s2b chip definition
    
    Change-Id: I1b936310e1bed82247a44ccaf4738511b6a0a0cd
    Signed-off-by: vincent@vlotech.nl

diff --git a/src/flash/nor/at91sam4.c b/src/flash/nor/at91sam4.c
index 50aa98b..dada79f 100644
--- a/src/flash/nor/at91sam4.c
+++ b/src/flash/nor/at91sam4.c
@@ -728,6 +728,40 @@ static const struct sam4_chip_details all_sam4_details[] = {
 		},
 	},
 
+	/*at91sam4s2b - LQFP64/BGA64 */
+	{
+		.chipid_cidr    = 0x289b07e0,
+		.name           = "at91sam4s4a",
+		.total_flash_size     = 128 * 1024,
+		.total_sram_size      = 64 * 1024,
+		.n_gpnvms       = 2,
+		.n_banks        = 1,
+		{
+/*		.bank[0] = {*/
+		  {
+			.probed = 0,
+			.pChip  = NULL,
+			.pBank  = NULL,
+			.bank_number = 0,
+			.base_address = FLASH_BANK_BASE_S,
+			.controller_address = 0x400e0a00,
+			.flash_wait_states = 6,	/* workaround silicon bug */
+			.present = 1,
+			.size_bytes =  128 * 1024,
+			.nsectors   =  16,
+			.sector_size = 8192,
+			.page_size   = 512,
+		  },
+/*		.bank[1] = {*/
+		  {
+			.present = 0,
+			.probed = 0,
+			.bank_number = 1,
+
+		  },
+		},
+	},
+
 	/*at91sam4sd32c*/
 	{
 		.chipid_cidr    = 0x29a70ee0,

-- 

------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic