JTAG ICE With Arduino IDE
by _Boltz_ in Circuits > Microcontrollers
20828 Views, 6 Favorites, 0 Comments
JTAG ICE With Arduino IDE
Greetings, Arduino enthusiasts,
If you find yourself in possession of a JTAGICE programmer without any other programmer options (just like in my case), and you're unsure how to utilize it with your Atmega16/32 microcontroller while enjoying the simplicity of the world's easiest microcontroller programming...
Allow me to guide you through the process of using JTAGICE with your preferred programming language.
Let's delve into the steps you need to take.
The Requirements
The things you need are
1.Arduino IDE.
2.Atmel Studio (I have used version 4.17, don't know how to work with newbies versions).
3.JTAG ICE.
4.Your microcontroller Core files for Arduino IDE .
That's all the things you need to have.... Lets See the Steps....
Setting Up the Arduino IDE
Let's prepare the arduino Ide first...
1. Open up the arduino ide
2 . Press ctrl + comma ( , )
3. the prefrences screen will pop-up.
4. Select "show verbose output during" to both "compiling" and "uploading".
that's all you have setup your ide....
CLIMAX.....The Final Step
First, launch Atmel Studio on your computer.
Click on the "Connect to Programmer" icon to establish a connection with your JTAGICE programmer.
Once successfully connected to the JTAGICE, open your Arduino IDE. When you compile your program using the appropriate microcontroller compatibility and core files, you'll notice that a hex file is generated. You can find the path to this hex file in the action window or a similar named window (I apologize for not knowing the exact name).
Copy the path of the hex file and use the file browser in Atmel Studio to locate the hex file. Now, use the programming window in Atmel Studio to program the hex file that was compiled by the Arduino IDE.
That's it! You have successfully programmed your microcontroller using the JTAGICE.
Thank you to everyone for your support. Please share and add this tutorial to your favorites.