This is an automated email from Gerrit.

Uwe Bonnes (b...@elektron.ikp.physik.tu-darmstadt.de) just uploaded a new patch 
set to Gerrit, which you can find at http://openocd.zylin.com/2394

-- gerrit

commit 94b7ce1d4967522845c8d77b91d3baea405c07b2
Author: Uwe Bonnes <b...@elektron.ikp.physik.tu-darmstadt.de>
Date:   Fri Nov 21 13:21:04 2014 +0100

    flash/nor/stm32f1: Add handling of stm32f09, nearly same as stm32f07.
    
    Change-Id: I9cb2aa75decca0e8a065fe7f5353de44d6877274
    Signed-off-by: Uwe Bonnes <b...@elektron.ikp.physik.tu-darmstadt.de>

diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c
index c9757d8..a2bd2a2 100644
--- a/src/flash/nor/stm32f1x.c
+++ b/src/flash/nor/stm32f1x.c
@@ -948,6 +948,14 @@ static int stm32x_probe(struct flash_bank *bank)
                stm32x_info->option_offset = 6;
                stm32x_info->default_rdp = 0x55AA;
                break;
+       case 0x442: /* stm32f09x */
+               page_size = 2048;
+               stm32x_info->ppage_size = 4;
+               max_flash_size_in_kb = 256;
+               stm32x_info->user_data_offset = 16;
+               stm32x_info->option_offset = 6;
+               stm32x_info->default_rdp = 0x55AA;
+               break;
        default:
                LOG_WARNING("Cannot identify target as a STM32 family.");
                return ERROR_FAIL;

-- 

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to