⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 diy avrice (avr jtag ice).htm

📁 avr用的jtag的例子
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0032)http://www.case2000.com/JtagIce/ -->
<HTML><HEAD><TITLE>DIY AVRICE (AVR JTAG ICE)</TITLE>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff text=#000000>
<H2>Howto make BootICE (Compatible to A**** AVR JTAG*ICE)</H2>
<OL>
  <LI>ATmega163 (or Atmega16, need bootloader fix!!) 
  <LI>7.3728 Crystal 
  <LI>Standard UART Serial Driver (MAX232, etc) 
  <LI>VREF (pin 29) to VCC 
  <LI>ADC2 (pin35) to VCC 
  <LI>PD3 pull-down resistor 4k7 
  <LI>Connect some ATmega to your ICE 
  <LI>TDO - PB6(pin12) to target TDO 
  <LI>TDI - PB5(pin1) to target TDI 
  <LI>TMS - PB1(pin41) to target TMS 
  <LI>TCK - PB7(pin3) to target TCK 
  <LI>PB3(pin43) to LED (other side of LED to VCC) this is "JTAG Activity" 
  <LI>Program with <A 
  href="http://www.case2000.com/JtagIce/bootice.rom">bootice.rom</A> see source 
  <A href="http://www.case2000.com/JtagIce/bootice.bas">bootice.bas</A> (AVR 
  Basic) use <A href="http://www.lancos.com/">PonyProg</A> (notice bootloader is 
  for m163 only) 
  <LI>Set Fuses: BOOTSZ, BOOTRST all programmed, Clock all non-programmed see 
  PonyProg <A 
  href="http://www.case2000.com/JtagIce/fuses_boot.jpg">screenshot</A> 
  <LI>Connect your ATmega to COM port 
  <LI>Start AVRStudio 4 
  <LI>Launch AVRPROG 
  <LI>Select "Program Files\Atmel\AVR Tools\JTAGICE\Upgrade.ebn" as Flash file 
  <LI>Program Flash, close AVRPROG 
  <LI>Program Fuses using PonyProg so that BOOTRST is not programmed see 
  PonyProg <A 
  href="http://www.case2000.com/JtagIce/fuses_ice.jpg">screenshot</A> 
  <LI>In AVRStudio 4, Tools-JTAGICE you should see following <A 
  href="http://www.case2000.com/JtagIce/ice_board.jpg">screenshot</A> 
  <LI>Congratulations you have AVRStudio connected to JTAGICE! 
  <LI>Go ahead and use your own JTAGICE ! </LI></OL>
<P>This works folks! I made a mistake at the start having TDO at wrong pin but 
thanks to hints from friendly internet users who sent me a link to old version 
of JTAGICE datasheet this was fixed.</P>
<P>m16 Bootloader (seems to work, but readback fails) <A 
href="http://www.case2000.com/JtagIce/bootice16.bas">bas</A> und <A 
href="http://www.case2000.com/JtagIce/bootice16.rom">rom</A></P>
<P><A href="http://www.case2000.com/ocd.html">additional info about JTAG OCD and 
AVR JTAG Flash Programming</A> </P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P></BODY></HTML>

⌨️ 快捷键说明

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