From: <zw...@ma...> - 2009-05-01 01:19:59
|
Author: zwelch Date: 2009-05-01 01:19:46 +0200 (Fri, 01 May 2009) New Revision: 1585 Added: trunk/src/target/board/hitex_str9_comstick.cfg Modified: trunk/src/target/target/str9comstick.cfg Log: Uwe Hermann <uw...@he...>: Support both rev -A1 and -A2 of Hitex STR9-comStick. Added: trunk/src/target/board/hitex_str9_comstick.cfg =================================================================== --- trunk/src/target/board/hitex_str9_comstick.cfg 2009-04-30 21:04:34 UTC (rev 1584) +++ trunk/src/target/board/hitex_str9_comstick.cfg 2009-04-30 23:19:46 UTC (rev 1585) @@ -0,0 +1,11 @@ +# +# Hitex STR9-comStick +# +# http://www.hitex.com/index.php?id=383 +# + +# This works for the STR9-comStick revisions STR912CS-A1 and STR912CS-A2. + +source [find interface/str9-comstick.cfg] +source [find target/str9comstick.cfg] + Property changes on: trunk/src/target/board/hitex_str9_comstick.cfg ___________________________________________________________________ Name: svn:eol-style + native Modified: trunk/src/target/target/str9comstick.cfg =================================================================== --- trunk/src/target/target/str9comstick.cfg 2009-04-30 21:04:34 UTC (rev 1584) +++ trunk/src/target/target/str9comstick.cfg 2009-04-30 23:19:46 UTC (rev 1585) @@ -39,9 +39,12 @@ if { [info exists BSTAPID ] } { set _BSTAPID $BSTAPID } else { - set _BSTAPID 0x1457f041 + # Found on STR9-comStick, revision STR912CS-A1 + set _BSTAPID1 0x1457f041 + # Found on STR9-comStick, revision STR912CS-A2 + set _BSTAPID2 0x2457f041 } -jtag newtap $_CHIPNAME bs -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BSTAPID +jtag newtap $_CHIPNAME bs -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BSTAPID1 -expected-id $_BSTAPID2 set _TARGETNAME [format "%s.cpu" $_CHIPNAME] target create $_TARGETNAME arm966e -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm966e |