DIY AVR Emulator

Publisher:TechWhizKidLatest update time:2014-12-08 Source: eepwKeywords:AVR  Emulator Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
JtagICE is a classic emulator. It supports the following chips: ATmega128, ATmega128L, ATmega16, ATmega162, ATmega162V, ATmega165, ATmega165V, ATmega169, ATmega169V, ATmega16L, ATmega32, ATmega323, ATmega323L, ATmega32L, ATmega64, ATmega64L.

Although it does not support newer commonly used chips such as Mega8/48/88/168, it does not detract from its practicality. We can use this JtagICE to emulate the Mega16 chip for development, and then transplant it to M8/48/88/168 after successful development. As long as you pay attention during development, transplantation will not be difficult.

Effect diagram of using veneer IC:

But one disadvantage of using veneer IC is that the chip cannot be removed (if we want to re-burn the ROM of the chip, it would be much more convenient if we can remove it). Therefore, for this activity, we recommend using Mega16 in DIP40 package. The following is a real picture made by Hongri:




There are many kinds of circuits for homemade Jtag on the Internet. Based on the collected information, Hongri designed the simplest and easiest JTAG introduced in this article. The RS232 interface is made of discrete parts, using local materials, simple and reliable. The

J1 double-row ten-pin seat of this circuit can be used as both Jtag and ISP (controlled by jumper JP1). When the JP1 jumper is short-circuited, J1 is used for ISP download, which is convenient for updating the ROM of this Jtag. When the J1 jumper is open, it is used as JTAG.


If you have a 232 chip, you can replace the discrete RS232 part above with the following circuit:

Burning file:

After making the PCB according to the above hardware, check that the welding is correct, and then you can burn it.

There are many ways to burn. One method I (armok) recommend is: remove the M16 chip from the JTAG board, put it on a common experimental board with an ISP port, use SL-ISP1.32 software, and burn the flash.rom and epprom.rom in the AVR Studio 4.10 Rom burning file in the appendix of this article directly into the Jtag ATmega16.


Keywords:AVR  Emulator Reference address:DIY AVR Emulator

Previous article:Design of LED Color Light Controller Using AVR Single Chip Microcomputer
Next article:Homemade AVR MCU ISP download cable

Recommended ReadingLatest update time:2024-11-15 16:34

ATtiny13 clock system and its distribution
Clock system and its distribution Figure 11 shows the main clock system and its distribution of AVR. These clocks do not need to work at the same time. In order to reduce power consumption, different sleep modes can be used to disable the clocks of modules that do not need to work. For details, see ATtiny13 P26 "Powe
[Microcontroller]
ATtiny13 clock system and its distribution
ATtiny2313 Status Register
The status register contains information about the results of the most recently executed arithmetic instruction. This information can be used to change the program flow to implement conditional operations. As described in the instruction set, all ALU operations will affect the contents of the status register. This eli
[Microcontroller]
ATtiny2313 Status Register
Homemade AVR high voltage programmer, unlocking avr microcontroller with wrong fuse bit
I'm using Atmel's AT90USB128x/64x and ATmega32U4 to design a keyboard. One of the AT90 microcontrollers was locked due to a wrong fuse setting, so the programmer couldn't flash the program to it. I found several ways to unlock it online: Use the output pin of the active crystal oscillator to the crystal oscillator i
[Microcontroller]
Homemade AVR high voltage programmer, unlocking avr microcontroller with wrong fuse bit
Introduction to the use of jlink emulator
  Introduction to JLink Emulator   J-Link is a JTAG emulator launched by SEGGER to support the simulation of ARM core chips. It supports the simulation of all ARM7/ARM9/ARM11, Cortex M0/M1/M3/M4, Cortex A5/A8/A9 and other core chips with integrated development environments such as IAR EWAR, ADS, KEIL, WINARM, RealView
[Microcontroller]
Introduction to the use of jlink emulator
Launching the emulator is that easy!
    Matthias Ulmann provides an overview of how to manage battery voltage drop during engine starting. introduction     Electronic engineers working in the automotive sector sooner or later face the problem of "cranking test pulses". These test pulses describe the battery voltage drop during engine starting,
[Power Management]
Launching the emulator is that easy!
AVR MCU Getting Started Series (27) AVR AD Conversion Interrupt
System functions Most AVRs have internal AD. This section uses the internal AD of ATMEGA16 as an example to give the AD conversion interrupt program. hardware design AVR main control circuit schematic diagram software design //Target system: Based on AVR microcontroller //Application software: ICC AVR /*01
[Microcontroller]
Program implementation of 8-bit digital tube display of AVR single-chip computer
Next, we will complete the digital tube display experiment. Now we start to write the program; Based on the previous introduction, we should already know the basic steps and methods of writing a C language program. The main program file of this program is given below. In this program, we should be able to know what pa
[Microcontroller]
Study AVR (VI) CPU Status Register
The status register contains information about the result of the most recently performed arithmetic operation. This information can be used to implement conditional operations to change the program flow. Note that the status register is refreshed after all ALU operations are completed. In many cases, this will replace
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号