From 5269e4b6f366934ac9a2d5b3e6f1d3e974763704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnim=20L=C3=A4uger?= Date: Thu, 26 Feb 2009 21:38:59 +0000 Subject: [PATCH] TI tnetv1061 git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1443 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 4 ++ jtag/data/MANUFACTURERS | 1 + jtag/data/Makefile.am | 3 ++ jtag/data/ti/PARTS | 26 +++++++++++++ jtag/data/ti/tnetv1061/STEPPINGS | 26 +++++++++++++ jtag/data/ti/tnetv1061/tnetv1061 | 67 ++++++++++++++++++++++++++++++++ 6 files changed, 127 insertions(+) create mode 100644 jtag/data/ti/PARTS create mode 100644 jtag/data/ti/tnetv1061/STEPPINGS create mode 100644 jtag/data/ti/tnetv1061/tnetv1061 diff --git a/jtag/ChangeLog b/jtag/ChangeLog index b79a2b9b..890d4191 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,5 +1,9 @@ 2009-02-26 Arnim Laeuger + * data/Makefile.am, data/MANUFACTURERS, data/ti/PARTS, + data/ti/tnetv1061/STEPPINGS, data/ti/tnetv1061/tnetv1061: + TI tnetv1061 (Kenny) + * src/svf/svf_flex.l: [ 2638083 ] SVF progress indicator not visible for some .svf files (William) diff --git a/jtag/data/MANUFACTURERS b/jtag/data/MANUFACTURERS index 019f2c01..e1f298e9 100644 --- a/jtag/data/MANUFACTURERS +++ b/jtag/data/MANUFACTURERS @@ -32,6 +32,7 @@ 00000001001 intel Intel 00000001110 freescale Freescale (Motorola) 00000010101 philips Philips Semi. (Signetics) +00000010111 ti Texas Instruments 00000011000 toshiba Toshiba 00000011111 atmel Atmel 00000100001 lattice Lattice Semiconductors diff --git a/jtag/data/Makefile.am b/jtag/data/Makefile.am index ae0094ab..93322477 100644 --- a/jtag/data/Makefile.am +++ b/jtag/data/Makefile.am @@ -158,6 +158,9 @@ nobase_dist_pkgdata_DATA = \ sigma/PARTS \ sigma/smp8634/STEPPINGS \ sigma/smp8634/smp8634 \ + ti/PARTS \ + ti/tnetv1061/STEPPINGS \ + ti/tnetv1061/tnetv1061 \ toshiba/PARTS \ toshiba/tx4925/STEPPINGS \ toshiba/tx4925/tx4925 \ diff --git a/jtag/data/ti/PARTS b/jtag/data/ti/PARTS new file mode 100644 index 00000000..471d2a35 --- /dev/null +++ b/jtag/data/ti/PARTS @@ -0,0 +1,26 @@ +# +# $Id$ +# +# Copyright (C) 2009 aSmig (sf.net) +# +# 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. +# +# +# Documentation: +# + +# bits 27-12 of the Device Identification Register +1011011011000110 tnetv1061 TNETV1061 diff --git a/jtag/data/ti/tnetv1061/STEPPINGS b/jtag/data/ti/tnetv1061/STEPPINGS new file mode 100644 index 00000000..42576052 --- /dev/null +++ b/jtag/data/ti/tnetv1061/STEPPINGS @@ -0,0 +1,26 @@ +# +# $Id$ +# +# Copyright (C) 2009 aSmig (sf.net) +# +# 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. +# +# +# Documentation: +# + +# bits 31-28 of the Device Identification Register +0001 tnetv1061 NoDoc diff --git a/jtag/data/ti/tnetv1061/tnetv1061 b/jtag/data/ti/tnetv1061/tnetv1061 new file mode 100644 index 00000000..b17a07a6 --- /dev/null +++ b/jtag/data/ti/tnetv1061/tnetv1061 @@ -0,0 +1,67 @@ +# +# $Id$ +# +# JTAG declarations for TNETV1061 +# Copyright (C) 2009 aSmig (sf.net) +# +# 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. +# +# +# Documentation: +# [1] MIPS Technologies, "MIPS32 4KETM Processor Core Family +# Software User’s Manual", January 2004, Document Number: +# MD00103 +# [2] MIPS Technologies, "MIPS® EJTAG Specification", November +# 2008, Document Number: MD00047 +# + +# see [1] 9.3.3.2 - 9.3.3.7 +# see also discovery output +register BSR 1 +register BR 1 +register DIR 32 +register EJIMPCODE 32 +register EJADDRESS 32 +register EJDATA 32 +register EJCONTROL 32 +register EJALL 96 +register EJFASTDATA 33 + +# see [1] 9.3.3 Test Access Port (TAP) Instructions +# see also discovery output +instruction length 5 + +# see [1] Table 9-20 Implemented EJTAG Instructions +# see also [2] Table 7.1 TAP Instruction Overview +instruction BYPASS 11111 BR +instruction SAMPLE/PRELOAD 00010 BSR # not in datasheets +instruction IDCODE 00001 DIR +instruction EJTAG_IMPCODE 00011 EJIMPCODE +instruction EJTAG_ADDRESS 01000 EJADDRESS +instruction EJTAG_DATA 01001 EJDATA +instruction EJTAG_CONTROL 01010 EJCONTROL +instruction EJTAG_ALL 01011 EJALL +instruction EJTAGBOOT 01100 BR +instruction NORMALBOOT 01101 BR +instruction EJTAG_FASTDATA 01110 EJFASTDATA +instruction TCBCONTROLA 10000 BR +instruction TCBCONTROLB 10001 BR +instruction TCBDATA 10010 BR + +# initbus ejtag from here produces a bunch of noise. +# But run it right after detect and all is well. +#initbus ejtag +endian little