atmega128

来自「本源码支持blackfin系列DSP的jtag协议转换」· 代码 · 共 60 行

TXT
60
字号
## $Id: atmega128,v 1.1.1.1 2005/03/18 15:02:50 klingler Exp $## 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 <marcel@telka.sk>, 2002.## Documentation:# [1] Atmel Corporation, "ATmega128(L) - 8-bit AVR Microcontroller with#     128K Bytes In-System Programmable Flash", 2002, Rev. 2467E-AVR-05/02## mandatory data registersregister	BSR	205	# see Table 106 in [1]register	BR	1# optional data registersregister	DIR	32# user-defined registersregister	RR	1	# Reset Registerregister	PER	16	# Programming Enable Registerregister	PCR	15	# Programming Command Registerregister	VFPLR	2048	# Virtual Flash Page Load Registerregister	VFPRR	2056	# Virtual Flash Page Read Register# see page 250 in [1]instruction length 4# mandatory instructionsinstruction EXTEST		0000	BSR	# see page 250 in [1]instruction SAMPLE/PRELOAD	0010	BSR	# see page 251 in [1]instruction BYPASS		1111	BR	# see page 251 in [1]# optional instructionsinstruction IDCODE		0001	DIR	# see page 250 in [1]# user-defined instructionsinstruction AVR_RESET		1100	RR	# see page 251 and page 303 in [1]# unknown data registers for PRIVATE? instructions#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	PER	# see page 303 in [1]instruction PROG_COMMANDS	0101	PCR	# see page 304 in [1]instruction PROG_PAGELOAD	0110	VFPLR	# see page 304 in [1]instruction PROG_PAGEREAD	0111	VFPRR	# see page 304 in [1]

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?