From e952018f670d42b786872fe1f2d2f9f888f2e09c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnim=20L=C3=A4uger?= Date: Wed, 15 Jul 2009 18:16:03 +0000 Subject: [PATCH] [ 2820439 ] Add Marvell 88w8500 support (Jochen Friedrich) git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1666 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 4 ++ urjtag/data/Makefile.am | 2 + urjtag/data/marvell/88w8500/88w8500-ban | 51 +++++++++++++++++++++++++ urjtag/data/marvell/88w8500/STEPPINGS | 22 +++++++++++ urjtag/data/marvell/PARTS | 1 + 5 files changed, 80 insertions(+) create mode 100644 urjtag/data/marvell/88w8500/88w8500-ban create mode 100644 urjtag/data/marvell/88w8500/STEPPINGS diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 053d48d3..48419dfd 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -1,5 +1,9 @@ 2009-07-15 Arnim Laeuger + * data/marvell/88w8500/88w8500-ban, data/marvell/88w8500/STEPPINGS, + data/marvell/PARTS, data/Makefile.am: + [ 2820439 ] Add Marvell 88w8500 support (Jochen Friedrich) + * src/bus/arm9tdmi.c, src/bus/buses.c, src/bus/buses.h, src/bus/Makefile.am, configure.ac, po/POTFILES.in: [ 2820437 ] ARM9 bus support (Jochen Friedrich) diff --git a/urjtag/data/Makefile.am b/urjtag/data/Makefile.am index f03aabca..b29ffedf 100644 --- a/urjtag/data/Makefile.am +++ b/urjtag/data/Makefile.am @@ -150,6 +150,8 @@ nobase_dist_pkgdata_DATA = \ marvell/88e1118/88e1118 \ marvell/88f5182/STEPPINGS \ marvell/88f5182/88f5182-a2 \ + marvell/88w8500/STEPPINGS \ + marvell/88w8500/88w8500-ban \ motorola/mpc8241/1.2 \ motorola/mpc8245/1.2 \ philips/PARTS \ diff --git a/urjtag/data/marvell/88w8500/88w8500-ban b/urjtag/data/marvell/88w8500/88w8500-ban new file mode 100644 index 00000000..b58e1b9a --- /dev/null +++ b/urjtag/data/marvell/88w8500/88w8500-ban @@ -0,0 +1,51 @@ +# +# $Id$ +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. +# + +# mandatory data registers +register BR 1 # Bypass Register + +# optional data registers +register DIR 32 # Device Identification Register +register SCAN0 184 +register SCAN1 67 +register SCAN2 38 +register SCANN 5 + +instruction length 4 + +# mandatory instructions +instruction BYPASS 1111 BR +# optional instructions +instruction EXTEST 0000 BR +instruction EXTEST0 0000 SCAN0 +instruction EXTEST1 0000 SCAN1 +instruction EXTEST2 0000 SCAN2 +instruction SCAN_N 0010 SCANN +instruction SAMPLE/PRELOAD 0011 BR +instruction RESTART 0100 BR +instruction CLAMP 0101 BR +instruction HIGHZ 0111 BR +instruction CLAMPZ 1001 BR +instruction INTEST 1100 BR +instruction INTEST0 1100 SCAN0 +instruction INTEST1 1100 SCAN1 +instruction INTEST2 1100 SCAN2 +instruction IDCODE 1110 BR + +initbus arm9tdmi diff --git a/urjtag/data/marvell/88w8500/STEPPINGS b/urjtag/data/marvell/88w8500/STEPPINGS new file mode 100644 index 00000000..7147ae40 --- /dev/null +++ b/urjtag/data/marvell/88w8500/STEPPINGS @@ -0,0 +1,22 @@ +# +# $Id$ +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. +# + +# bits 31-28 of the Device Identification Register + +0001 88w8500-ban BAN diff --git a/urjtag/data/marvell/PARTS b/urjtag/data/marvell/PARTS index b960375b..d0da0de7 100644 --- a/urjtag/data/marvell/PARTS +++ b/urjtag/data/marvell/PARTS @@ -20,3 +20,4 @@ # bits 27-12 of the Device Identification Register 0000000000001010 88e1118 MV88E1118 0101000110000010 88f5182 MV88F5182 +0101100101000110 88w8500 MV88W8500