From 2e95b9ab8130d8f5241376aae0d3bad3292718cf Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Mon, 26 Aug 2002 12:43:54 +0000 Subject: [PATCH] Added initial JTAG declarations for ATmega128. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@106 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/data/atmel/atmega128/atmega128 | 52 +++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 jtag/data/atmel/atmega128/atmega128 diff --git a/jtag/data/atmel/atmega128/atmega128 b/jtag/data/atmel/atmega128/atmega128 new file mode 100644 index 00000000..04730902 --- /dev/null +++ b/jtag/data/atmel/atmega128/atmega128 @@ -0,0 +1,52 @@ +# +# $Id$ +# +# JTAG declarations for ATmega128 +# Copyright (C) 2002 ETC s.r.o. +# +# 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. +# +# Written by Marcel Telka , 2002. +# +# Documentation: +# [1] Atmel Corporation, "ATmega128(L) - 8-bit AVR Microcontroller with +# 128K Bytes In-System Programmable Flash", 2002, Rev. 2467E-AVR-05/02 +# + +# see page 250 in [1] +instruction length 4 + +# mandatory instructions +instruction EXTEST 0000 # see page 250 in [1] +instruction SAMPLE/PRELOAD 0010 # see page 251 in [1] +instruction BYPASS 1111 # see page 251 in [1] + +# optional instructions +instruction IDCODE 0001 # see page 250 in [1] + +# user-defined instructions +instruction AVR_RESET 1100 # see page 251 and page 303 in [1] +instruction PRIVATE0 1000 # see page 246 in [1] +instruction PRIVATE1 1001 # see page 246 in [1] +instruction PRIVATE2 1010 # see page 246 in [1] +instruction PRIVATE3 1011 # see page 246 in [1] +instruction PROG_ENABLE 0100 # see page 303 in [1] +instruction PROG_COMMANDS 0101 # see page 304 in [1] +instruction PROG_PAGELOAD 0110 # see page 304 in [1] +instruction PROG_PAGEREAD 0111 # see page 304 in [1] + +# see Table 106 in [1] +boundary length 205