{"id":9317,"date":"2020-10-30T20:03:54","date_gmt":"2020-10-30T20:03:54","guid":{"rendered":"https:\/\/wolles-elektronikkiste.de\/programmer-for-atmel-studio"},"modified":"2020-11-29T12:15:48","modified_gmt":"2020-11-29T12:15:48","slug":"programmer-for-atmel-studio","status":"publish","type":"post","link":"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio","title":{"rendered":"Programmer for Atmel (Microchip) Studio"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">About the post<\/h2>\n<p>If you want to work with Atmel Studio (renamed to Microchip Studio in 2020), you first need a suitable programmer to upload your programs from the PC to the microcontroller (MCU). The good news is that there are quite a few of them, the bad news is that the programmers are quite expensive, especially if you want to use features like debugging or HVSP (High Voltage Serial Programming). &nbsp;<\/p>\r\n<p>I will only describe programmers that I own and have tried myself. These are the representatives shown in the picture above: AVR Dragon, Atmel-ICE and the USB ISP programmer from Tremex \/ Diamex.&nbsp;<\/p>\r\n<p>In separate posts, I&#8217;ll give an introduction to Atmel Studio 7 and show how to integrate and debug Arduino sketches including libraries in Atmel Studio.<\/p>\r\n\n<h2 class=\"wp-block-heading\">Which programmer should I buy?<\/h2>\n<p>As is so often the case, good questions and answers depend on the budget, personal taste and the individual functionality required. I hope that my post will help you answer this question. First of all, however, a few definitions.<\/p>\r\n<p><strong>ISP<\/strong>: <strong>I<\/strong>n-<strong>S<\/strong>ystem-<strong>P<\/strong>rogramming. This is the standard method for programming microcontrollers. The name is due to the fact that the programming takes place in the installed state. The ISP connectors are usually identical to the SPI connectors. More about ISP <a href=\"https:\/\/de.wikipedia.org\/wiki\/In-System-Programmierung\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> on Wikipedia.<\/p>\r\n<p><strong>JTAG<\/strong>: A standard of <strong>J<\/strong>oint <strong>T<\/strong>est <strong>A<\/strong>ction <strong>G<\/strong>roup for programming MCUs. Not every MCU is capable of JTAG. &nbsp;<\/p>\r\n<p><strong>debugWire<\/strong>: as the term suggests, debugging is possible with this method. You can run programs step by step, set breakpoints and track variables. Debugging is basically possible via both ISP and JTAG, but the programmer has to support this.&nbsp;<\/p>\r\n<p><strong>HVSP<\/strong>: <strong>H<\/strong>igh <strong>V<\/strong>oltage<strong> S<\/strong>erial <strong>P<\/strong>rogramming. The term &#8220;high voltage&#8221; is perhaps a bit misleading, it&#8217;s about 12 volts. With this method, MCUs with messed fuses can also be restored. &#8220;Messed up fuses&#8221; means that you have chosen fuse bit settings that no longer allow programming. You have, so to speak, locked out yourself and this is the saving locksmith.&nbsp;<\/p>\r\n\n<h2 class=\"wp-block-heading\">The AVR Dragon<\/h2>\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Dragon_beide_Seiten.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"866\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Dragon_beide_Seiten-1024x866.jpg\" alt=\"Dragon, front and back. A programmer for Atmel Studio.\" class=\"wp-image-8036\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Dragon_beide_Seiten-1024x866.jpg 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Dragon_beide_Seiten-300x254.jpg 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Dragon_beide_Seiten-768x649.jpg 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Dragon_beide_Seiten-1320x1116.jpg 1320w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Dragon_beide_Seiten.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>Dragon, front and back<\/figcaption><\/figure><p>The AVR Dragon is my personal favorite as it masters ISP, JTAG, debugWire and HVSP, and thus it uses the possibilities of Atmel Studio to the highest degree. For the Dragon you have to pay about 50-80 Euros. And then you might be surprised you don&#8217;t even get a case for your money and that the part is also &#8220;unfinished&#8221; in a way. But the two are interrelated.<\/p>\r\n<p>The Dragon offers the possibility to program MCUs directly in its on-board prototyping area. This has the advantage that you don&#8217;t have to build a circuit on an external board, if you just want to change a few settings, for example.<\/p>\r\n\n<h3 class=\"wp-block-heading\">On-board programming with the Dragon <\/h3>\n<p>In order to be able to do the on-board programming, you have to solder a socket for the MCUs and a pin header (2 x 20) for access to the socket next to it. It is best to take a ZIF socket. With the pin header you have the choice between &#8220;male&#8221; and &#8220;female&#8221;, most of which probably take &#8220;male&#8221;. If you want to use HVSP, you also have to solder a 2 x 10 pin header. &nbsp;<\/p>\r\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Dragon_mit_un_ohne_Erweiterungen.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"377\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Dragon_mit_un_ohne_Erweiterungen-1024x377.jpg\" alt=\"The Dragon &quot;raw&quot; and with pin headers and ZIF socket\" class=\"wp-image-8035\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Dragon_mit_un_ohne_Erweiterungen-1024x377.jpg 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Dragon_mit_un_ohne_Erweiterungen-300x110.jpg 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Dragon_mit_un_ohne_Erweiterungen-768x283.jpg 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Dragon_mit_un_ohne_Erweiterungen-1320x486.jpg 1320w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Dragon_mit_un_ohne_Erweiterungen.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>The Dragon &#8220;raw&#8221; and with pin headers and ZIF socket<\/figcaption><\/figure><p>So it&#8217;s above all the accessibility and flexibility in the selection of extensions that make a case for the Dragon not really useful. As you can see in the pictures, I had screwed on a few polyamide spacers in the raw state, so that the board would not rest directly with its solder joints. Unfortunately, the ZIF socket covers the holes so that the nuts no longer fit. However, I have noticed that the spacers are stuck even without nuts (see next photo).&nbsp;<\/p>\r\n<p>Like the other programmers, the Dragon is connected to the PC via USB. On my Windows 10 system, the Dragon was easily detected and could be selected directly in Atmel Studio 7. No further driver installation was necessary.&nbsp;<\/p>\r\n\n<h4 class=\"wp-block-heading\">Wiring for on-board programming<\/h4>\n<p>For on-board programming, the <strong>M<\/strong><strong>C<\/strong><strong>U<\/strong> is fixed in the ZIF socket. The MCUs is aligned according to the numbering printed at the pin header on the Dragon. Now, depending on the method and MCU type, you have to connect the JTAG, ISP or HVSP pins to the pins of the pin header connected to the ZIF socket. This is shown very clearly in the <a href=\"http:\/\/ww1.microchip.com\/downloads\/en\/devicedoc\/atmel-42723-avr-dragon_userguide.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">user guide<\/a> to the AVR Dragon schematically.&nbsp;<\/p>\r\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Scheme_ISP_Programming_on_board.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Scheme_ISP_Programming_on_board.png\" alt=\"On-board programming with the AVR Dragon programmer.\" class=\"wp-image-8037\" width=\"447\" height=\"389\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Scheme_ISP_Programming_on_board.png 596w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Scheme_ISP_Programming_on_board-300x261.png 300w\" sizes=\"auto, (max-width: 447px) 100vw, 447px\" \/><\/a><figcaption>On-board programming &#8211; Example: ATtiny85 via ISP<\/figcaption><\/figure><\/div>\n<p>In practice, it looks like this:&nbsp;<\/p>\r\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/ISP_Dragon_Set_up_Ausschnitt.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"691\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/ISP_Dragon_Set_up_Ausschnitt-1024x691.jpg\" alt=\"On-board programming of an ATtiny85 via ISP\" class=\"wp-image-8038\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/ISP_Dragon_Set_up_Ausschnitt-1024x691.jpg 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/ISP_Dragon_Set_up_Ausschnitt-300x202.jpg 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/ISP_Dragon_Set_up_Ausschnitt-768x518.jpg 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/ISP_Dragon_Set_up_Ausschnitt-1320x891.jpg 1320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>On-board programming of an ATtiny85 via ISP<\/figcaption><\/figure>\n<h3 class=\"wp-block-heading\">External programming with the Dragon <\/h3>\n<p>For external programming, e.g. on a breadboard, you can easily make mistakes with the wiring. The ISP port has the following pinout:<\/p>\r\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/ISP_Anschluss.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/ISP_Anschluss.png\" alt=\"ISP connection scheme\" class=\"wp-image-8040\" width=\"404\" height=\"300\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/ISP_Anschluss.png 808w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/ISP_Anschluss-300x223.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/ISP_Anschluss-768x570.png 768w\" sizes=\"auto, (max-width: 404px) 100vw, 404px\" \/><\/a><figcaption>ISP connection scheme<\/figcaption><\/figure><\/div>\n<p>Pin 1 is usually indicated by a dot or a 1. Nevertheless, it is easy to make a mistake. I therefore recommend investing in a breadboard adapter, which is available <a href=\"https:\/\/smile.amazon.de\/gp\/product\/B00PZ5HXJG\/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&amp;psc=1\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> or <a href=\"https:\/\/smile.amazon.de\/Adafruit-Pin-AVR-Breadboard-Adapter-Miniset\/dp\/B00OKJFASY\/ref=sr_1_1_sspa?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;keywords=ip+adafruit&amp;qid=1560974240&amp;s=ce-de&amp;sr=1-1-spons&amp;psc=1\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> as a variant with 2&#215;3 pin header.&nbsp;<\/p>\r\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Breadboardadapter.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"596\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Breadboardadapter-1024x596.jpg\" alt=\"Useful purchase in combination with the programmer: a breadboard adapter\" class=\"wp-image-8029\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Breadboardadapter-1024x596.jpg 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Breadboardadapter-300x175.jpg 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Breadboardadapter-768x447.jpg 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Breadboardadapter-1320x768.jpg 1320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>Useful purchase: a breadboard adapter<\/figcaption><\/figure><\/div>\n<p>&nbsp;It should also be noted that the Dragon cannot power the MCU. Nevertheless, VCC and GND must be connected as Atmel Studio checks whether the voltage meets the specification limits of the MCUs.&nbsp;<\/p>\r\n<p>As a power supply I like to use such a practical power supply module, which is available for a few euros e.g. at <a href=\"https:\/\/smile.amazon.de\/s?k=Breadboard+Stromversorgungsmodul&amp;__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;ref=nb_sb_noss_2\" target=\"_blank\" rel=\"noopener noreferrer\">Amazon:<\/a><\/p>\r\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"494\" height=\"373\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Breadboardstromversorgung.png\" alt=\"\" class=\"wp-image-8041\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Breadboardstromversorgung.png 494w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Breadboardstromversorgung-300x227.png 300w\" sizes=\"auto, (max-width: 494px) 100vw, 494px\" \/><figcaption>Power supply module for breadboards <\/figcaption><\/figure><p>Alternatively, I use a 9 volt battery in combination with an LM7805:<\/p>\r\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Stromversorgung.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"545\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Stromversorgung-1024x545.png\" alt=\"5V power supply with an LM7805\" class=\"wp-image-8042\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Stromversorgung-1024x545.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Stromversorgung-300x160.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Stromversorgung-768x409.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Stromversorgung-1320x702.png 1320w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Stromversorgung.png 1539w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>5V power supply with an LM7805<\/figcaption><\/figure><\/div>\n\n<h2 class=\"wp-block-heading\">The Atmel-ICE<\/h2>\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Amel_ICE.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Amel_ICE-860x1024.jpg\" alt=\"The Atmel-ICE programmer\" class=\"wp-image-8043\" width=\"215\" height=\"256\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Amel_ICE-860x1024.jpg 860w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Amel_ICE-252x300.jpg 252w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Amel_ICE-768x915.jpg 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Amel_ICE.jpg 1200w\" sizes=\"auto, (max-width: 215px) 100vw, 215px\" \/><\/a><figcaption>The Atmel-ICE programmer<\/figcaption><\/figure><\/div>\n<p>The Atmel-ICE is available in three different kits:&nbsp;<\/p>\r\n<ul>\r\n<li>Atmel-ICE Basic<\/li>\r\n<li>Atmel-ICE (Full Kit)&nbsp;<\/li>\r\n<li>Atmel ICE &#8211; PCBA Kit<\/li>\r\n<\/ul>\r\n\n<h4 class=\"wp-block-heading\">The Basic variant<\/h4>\n<p>The Basic variant consists of the programmer shown above in the white case, a USB cable and an adapter cable from 10-pin 50-mil to 6-pin 100-mil (marked in red in the picture below). The 10-pin 50-mil side is the somewhat exotic connector for the Atmel-ICE, the 6-pin 100-mil side fits on standard ISP header. Replacement cables cost an unashamedly high amount (\u20ac20!). I once tried to get the parts for a replacement cable in self-construction &#8211; and failed. So take good care of this cable.<\/p>\r\n<p>For programming AVR microcontrollers via ISP, the Basic variant is completely sufficient. The price is about 120-130 euros.<\/p>\r\n\n<h4 class=\"wp-block-heading\">The Full Kit variant<\/h4>\n<p>The Full Kit contains only two additional adapters, which I do not want to go into here:<\/p>\r\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Full_Kit_Adapter.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"390\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Full_Kit_Adapter-1024x390.jpg\" alt=\"Full Kit: cables and adapters\" class=\"wp-image-8039\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Full_Kit_Adapter-1024x390.jpg 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Full_Kit_Adapter-300x114.jpg 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Full_Kit_Adapter-768x293.jpg 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Full_Kit_Adapter-1320x503.jpg 1320w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Full_Kit_Adapter.jpg 1501w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>Adapter of the Full Kit, highlighted in red: this adapter is also available in the Basic Kit<\/figcaption><\/figure><p>If there is nothing mentioned, i.e. only &#8220;Atmel-ICE&#8221;, then it should be the Full Kit, but check it carefully if you want to buy it. The Full Kit is available for approx. 180 Euro &#8211; proud extra charge for a cable and a small adapter board.&nbsp;<\/p>\r\n\n<h4 class=\"wp-block-heading\">The naked board &#8211; the PCBA variant<\/h4>\n<p>The PCBA version is the naked board without housing and without additional adapter cables. I would only recommend this to &#8220;craft freaks&#8221;. It is already available for 80 to 90 euros, but without a connection cable it is of no use.&nbsp;<\/p>\r\n\n<h3 class=\"wp-block-heading\">Features of the Atmel-ICE<\/h3>\n<p>The Atmel-ICE masters ISP, JTAG and debugWire, but no HVSP. But you get a beautiful, protective housing. Everyone has to know for himself what is important to him\/her.<\/p>\r\n<p>As with the AVR Dragon, the Atmel-ICE requires an external power source for the target MCU.&nbsp;<\/p>\r\n<p>This programmer is also recognized directly by the PC and Atmel Studio without having to install drivers. Further information can be found in the <a href=\"http:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/Atmel-ICE_UserGuide.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">User Guide<\/a>.<\/p>\r\n\n<h2 class=\"wp-block-heading\">The USB ISP Programmer<\/h2>\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"725\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/USB_ISP_Programmer-1024x725.jpg\" alt=\"\" class=\"wp-image-8044\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/USB_ISP_Programmer-1024x725.jpg 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/USB_ISP_Programmer-300x213.jpg 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/USB_ISP_Programmer-768x544.jpg 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/USB_ISP_Programmer.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>USB ISP Programmer<\/figcaption><\/figure><p>The USB-ISP Programmer can be obtained from Diamex or Tremex. Somehow the companies are linked, but I didn&#8217;t quite get through it. No matter, on <a href=\"https:\/\/smile.amazon.de\/s?k=USB+ISP+Programmer+Tremex&amp;__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;ref=nb_sb_noss\" target=\"_blank\" rel=\"noopener noreferrer\">Amazon<\/a> you will find the part under the corresponding search terms for about 20 euros. It is therefore by far the cheapest representative among the programmers presented here. Included is a USB cable and a 10-pin cable for the MCU side. &nbsp;<\/p>\r\n<p>For the low price you have to do without debugging with the USB ISP programmer. HVSP is also not possible. On the other hand, this model has the advantage that it can supply the power for the target. The setting is done via the dip switches:<\/p>\r\n<ul>\r\n<li>1: ON or OFF \/ 2: OFF &#8212; &gt; Power supply is OFF<\/li>\r\n<li>1: OFF \/ 2: ON &#8212; &gt; 3.3 Volt power supply ON<\/li>\r\n<li>1: ON \/ 2: ON &#8212; &gt; 5 volt power supply ON&nbsp;<\/li>\r\n<\/ul>\r\n<p>You must first integrate the Tremex\/Diamex USB ISP programmer into Atmel Studio. To do this, you go in the menu to<\/p>\r\n<p>Tools &#8211; &gt; Add Target&#8230; &#8211; &gt; Select Tool<\/p>\r\n<p>Select ST500 and the port, then confirm with &#8220;Apply&#8221;. That&#8217;s it.<\/p>\r\n<p>For more information, go to the <a href=\"https:\/\/www.diamex.de\/dxshop\/USB-ISP-Programmer-fuer-Atmel-AVR-Rev2\" target=\"_blank\" rel=\"noopener noreferrer\">manufacturer&#8217;s website<\/a>. If you follow the link, then you will find a little guide there in the download area.<\/p>\r\n<p>A breadboard adapter is also a useful purchase for the USB ISP programmer. Another useful tool is the <a href=\"https:\/\/smile.amazon.de\/Schwenkhebel-Modul-fast-alle-AVR-Controller-DIL-Geh%C3%A4use\/dp\/B005GK4DXO\/ref=sr_1_1?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;crid=5QDFOYM7290L&amp;keywords=schwenkhebelmodul&amp;qid=1561891793&amp;s=gateway&amp;sprefix=Schwenkhebel%2Caps%2C149&amp;sr=8-1\" target=\"_blank\" rel=\"noopener noreferrer\">ZIF socket module<\/a>, which is also offered by Diamex and is available for just under 20 euros. This makes it even easier to program MCUs than on-board with the Dragon, as the wiring of the individual pins is no longer necessary. On the socket module, this is cleverly solved by giving each MCU connection type its own socket for the connection cable.&nbsp;<\/p>\r\n\n<h2 class=\"wp-block-heading\">Other programmers<\/h2>\n<p>There are even more programmers that are compatible with Atmel Studio. Further overviews can be found <a href=\"https:\/\/www.mikrocontroller-elektronik.de\/isp-programmer-fuer-arduino-bascom-und-atmel-studio\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> or <a href=\"https:\/\/www.mikrocontroller.net\/articles\/AVR_In_System_Programmer\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>. <\/p>\r\n<p><strong>Addendum May 2020: another interesting alternative, which I only came across later, is the aTeVaL 2.0 development board. I am reporting on this board <a href=\"https:\/\/wolles-elektronikkiste.de\/en\/ateval-2-0-the-universal-tool\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/strong> <\/p>\r\n<p> <\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Three programmers for Atmel Studio are presented and compared: the AVR Dragon, Atmel-ICE and the USB ISP-Programmer from Tremex \/ Diamex.<\/p>\n","protected":false},"author":1,"featured_media":8048,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[575],"tags":[752,740,739,754,751,748,755,753,735,747,750,749],"class_list":["post-9317","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-and-tools","tag-atmel-ice-basic-en","tag-atmel-ice-en","tag-avr-dragon-en-3","tag-debugwire-en","tag-diamex-en","tag-dragon-en","tag-hvsp-en","tag-pcba-en","tag-programmer-en-2","tag-programmer-for-atmel-studio","tag-tremex-en","tag-usb-isp-programmer-en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Programmer for Atmel (Microchip) Studio &#8226; Wolles Elektronikkiste<\/title>\n<meta name=\"description\" content=\"Three programmers for Atmel Studio are presented and compared: the AVR Dragon, Atmel-ICE and the USB ISP-Programmer from Tremex \/ Diamex.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Programmer for Atmel (Microchip) Studio &#8226; Wolles Elektronikkiste\" \/>\n<meta property=\"og:description\" content=\"Three programmers for Atmel Studio are presented and compared: the AVR Dragon, Atmel-ICE and the USB ISP-Programmer from Tremex \/ Diamex.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio\" \/>\n<meta property=\"og:site_name\" content=\"Wolles Elektronikkiste\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-30T20:03:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-11-29T12:15:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Programmer_quadrat.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1278\" \/>\n\t<meta property=\"og:image:height\" content=\"1278\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Wolfgang Ewald\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Wolfgang Ewald\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/programmer-for-atmel-studio#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/programmer-for-atmel-studio\"},\"author\":{\"name\":\"Wolfgang Ewald\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#\\\/schema\\\/person\\\/b774e4d64b4766889a2f7c6e5ec85b46\"},\"headline\":\"Programmer for Atmel (Microchip) Studio\",\"datePublished\":\"2020-10-30T20:03:54+00:00\",\"dateModified\":\"2020-11-29T12:15:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/programmer-for-atmel-studio\"},\"wordCount\":1594,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#\\\/schema\\\/person\\\/b774e4d64b4766889a2f7c6e5ec85b46\"},\"image\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/programmer-for-atmel-studio#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/Programmer_quadrat.jpg\",\"keywords\":[\"Atmel ICE Basic\",\"Atmel-ICE\",\"AVR Dragon\",\"debugWire\",\"Diamex\",\"Dragon\",\"HVSP\",\"PCBA\",\"programmer\",\"Programmer for Atmel Studio\",\"Tremex\",\"USB ISP-Programmer\"],\"articleSection\":[\"Software and tools\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/programmer-for-atmel-studio#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/programmer-for-atmel-studio\",\"url\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/programmer-for-atmel-studio\",\"name\":\"Programmer for Atmel (Microchip) Studio &#8226; Wolles Elektronikkiste\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/programmer-for-atmel-studio#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/programmer-for-atmel-studio#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/Programmer_quadrat.jpg\",\"datePublished\":\"2020-10-30T20:03:54+00:00\",\"dateModified\":\"2020-11-29T12:15:48+00:00\",\"description\":\"Three programmers for Atmel Studio are presented and compared: the AVR Dragon, Atmel-ICE and the USB ISP-Programmer from Tremex \\\/ Diamex.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/programmer-for-atmel-studio#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/programmer-for-atmel-studio\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/programmer-for-atmel-studio#primaryimage\",\"url\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/Programmer_quadrat.jpg\",\"contentUrl\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/Programmer_quadrat.jpg\",\"width\":1278,\"height\":1278},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/programmer-for-atmel-studio#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Programmer for Atmel (Microchip) Studio\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#website\",\"url\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\",\"name\":\"Wolles Elektronikkiste\",\"description\":\"Die wunderbare Welt der Elektronik\",\"publisher\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#\\\/schema\\\/person\\\/b774e4d64b4766889a2f7c6e5ec85b46\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#\\\/schema\\\/person\\\/b774e4d64b4766889a2f7c6e5ec85b46\",\"name\":\"Wolfgang Ewald\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/cropped-Logo-1.png\",\"url\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/cropped-Logo-1.png\",\"contentUrl\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/cropped-Logo-1.png\",\"width\":512,\"height\":512,\"caption\":\"Wolfgang Ewald\"},\"logo\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/cropped-Logo-1.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Programmer for Atmel (Microchip) Studio &#8226; Wolles Elektronikkiste","description":"Three programmers for Atmel Studio are presented and compared: the AVR Dragon, Atmel-ICE and the USB ISP-Programmer from Tremex \/ Diamex.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio","og_locale":"en_US","og_type":"article","og_title":"Programmer for Atmel (Microchip) Studio &#8226; Wolles Elektronikkiste","og_description":"Three programmers for Atmel Studio are presented and compared: the AVR Dragon, Atmel-ICE and the USB ISP-Programmer from Tremex \/ Diamex.","og_url":"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio","og_site_name":"Wolles Elektronikkiste","article_published_time":"2020-10-30T20:03:54+00:00","article_modified_time":"2020-11-29T12:15:48+00:00","og_image":[{"width":1278,"height":1278,"url":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Programmer_quadrat.jpg","type":"image\/jpeg"}],"author":"Wolfgang Ewald","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Wolfgang Ewald","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio#article","isPartOf":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio"},"author":{"name":"Wolfgang Ewald","@id":"https:\/\/wolles-elektronikkiste.de\/en#\/schema\/person\/b774e4d64b4766889a2f7c6e5ec85b46"},"headline":"Programmer for Atmel (Microchip) Studio","datePublished":"2020-10-30T20:03:54+00:00","dateModified":"2020-11-29T12:15:48+00:00","mainEntityOfPage":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio"},"wordCount":1594,"commentCount":2,"publisher":{"@id":"https:\/\/wolles-elektronikkiste.de\/en#\/schema\/person\/b774e4d64b4766889a2f7c6e5ec85b46"},"image":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio#primaryimage"},"thumbnailUrl":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Programmer_quadrat.jpg","keywords":["Atmel ICE Basic","Atmel-ICE","AVR Dragon","debugWire","Diamex","Dragon","HVSP","PCBA","programmer","Programmer for Atmel Studio","Tremex","USB ISP-Programmer"],"articleSection":["Software and tools"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio","url":"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio","name":"Programmer for Atmel (Microchip) Studio &#8226; Wolles Elektronikkiste","isPartOf":{"@id":"https:\/\/wolles-elektronikkiste.de\/en#website"},"primaryImageOfPage":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio#primaryimage"},"image":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio#primaryimage"},"thumbnailUrl":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Programmer_quadrat.jpg","datePublished":"2020-10-30T20:03:54+00:00","dateModified":"2020-11-29T12:15:48+00:00","description":"Three programmers for Atmel Studio are presented and compared: the AVR Dragon, Atmel-ICE and the USB ISP-Programmer from Tremex \/ Diamex.","breadcrumb":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio#primaryimage","url":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Programmer_quadrat.jpg","contentUrl":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/06\/Programmer_quadrat.jpg","width":1278,"height":1278},{"@type":"BreadcrumbList","@id":"https:\/\/wolles-elektronikkiste.de\/en\/programmer-for-atmel-studio#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/wolles-elektronikkiste.de\/en"},{"@type":"ListItem","position":2,"name":"Programmer for Atmel (Microchip) Studio"}]},{"@type":"WebSite","@id":"https:\/\/wolles-elektronikkiste.de\/en#website","url":"https:\/\/wolles-elektronikkiste.de\/en","name":"Wolles Elektronikkiste","description":"Die wunderbare Welt der Elektronik","publisher":{"@id":"https:\/\/wolles-elektronikkiste.de\/en#\/schema\/person\/b774e4d64b4766889a2f7c6e5ec85b46"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wolles-elektronikkiste.de\/en?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/wolles-elektronikkiste.de\/en#\/schema\/person\/b774e4d64b4766889a2f7c6e5ec85b46","name":"Wolfgang Ewald","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/03\/cropped-Logo-1.png","url":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/03\/cropped-Logo-1.png","contentUrl":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/03\/cropped-Logo-1.png","width":512,"height":512,"caption":"Wolfgang Ewald"},"logo":{"@id":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/03\/cropped-Logo-1.png"}}]}},"_links":{"self":[{"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/posts\/9317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/comments?post=9317"}],"version-history":[{"count":0,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/posts\/9317\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/media\/8048"}],"wp:attachment":[{"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/media?parent=9317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/categories?post=9317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/tags?post=9317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}