?? diy avrice (avr jtag ice).htm
字號(hào):
<!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> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P></BODY></HTML>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -