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

List:       openocd-development
Subject:    [OpenOCD-devel] [PATCH]: 99880f3 stm32f30x: Add boundary scan TAP ID to match silicon
From:       gerrit () openocd ! zylin ! com
Date:       2013-04-20 15:30:59
Message-ID: 20130420153059.4ECE024538 () openocd ! zylin ! com
[Download RAW message or body]

This is an automated email from Gerrit.

Andreas Fritiofson (andreas.fritiofson@gmail.com) just uploaded a new patch set to \
Gerrit, which you can find at http://openocd.zylin.com/1354

-- gerrit

commit 99880f3ede5af90f45ba3ed6d1b7971ce05917ce
Author: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Date:   Sat Apr 20 17:29:46 2013 +0200

    stm32f30x: Add boundary scan TAP ID to match silicon
    
    Change-Id: I74ef3cfc437540aedd99da46ac3e0c6cd9c5cd8d
    Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>

diff --git a/tcl/target/stm32f3x.cfg b/tcl/target/stm32f3x.cfg
index 1f05143..31993ff 100644
--- a/tcl/target/stm32f3x.cfg
+++ b/tcl/target/stm32f3x.cfg
@@ -44,11 +44,12 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf \
-expected-id $_CP  if { [info exists BSTAPID] } {
    set _BSTAPID $BSTAPID
 } else {
-  # See STM Document RM0316
-  # Section 29.6.2
-  set _BSTAPID 0x06432041
+  # STM Document RM0316 rev 2 Section 30.6.2 says 0x06432041
+  # but STM32F303VCT6 rev Y has 0x06422041
+  set _BSTAPID1 0x06422041
+  set _BSTAPID2 0x06432041
 }
-jtag newtap $_CHIPNAME bs -irlen 5 -expected-id $_BSTAPID
+jtag newtap $_CHIPNAME bs -irlen 5 -expected-id $_BSTAPID1 -expected-id $_BSTAPID2
 
 set _TARGETNAME $_CHIPNAME.cpu
 target create $_TARGETNAME cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNAME

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
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