{"id":3333,"date":"2010-11-17T19:31:35","date_gmt":"2010-11-18T01:31:35","guid":{"rendered":"http:\/\/mightyohm.com\/blog\/?p=3333"},"modified":"2015-09-26T11:11:01","modified_gmt":"2015-09-26T18:11:01","slug":"atmel-avrisp-mkii-working-in-virtualbox","status":"publish","type":"post","link":"https:\/\/mightyohm.com\/blog\/2010\/11\/atmel-avrisp-mkii-working-in-virtualbox\/","title":{"rendered":"Atmel AVRISP mkII working in Virtualbox"},"content":{"rendered":"<p>In the past I have had problems getting the <a href=\"http:\/\/www.atmel.com\/dyn\/products\/tools_card.asp?tool_id=3808\">Atmel AVRISP mkII<\/a> to work with <a href=\"http:\/\/www.virtualbox.org\/\">Virtualbox<\/a>. \u00a0This can be really irritating if, like me, you want to write code in Linux but are forced to run Windows for Skype and various <a href=\"http:\/\/www.atmel.com\/dyn\/products\/tools_card.asp?tool_id=2725&amp;source=redirect\">closed-source development tools<\/a> (ugh).<\/p>\n<p>Today, it seems to be working. \u00a0I can talk to the AVRISP with <a href=\"http:\/\/savannah.nongnu.org\/projects\/avrdude\/\">avrdude<\/a> and program devices. \u00a0Cool!<\/p>\n<p>I&#8217;m not sure what I changed. \u00a0I&#8217;m using Virtualbox 3.2.10 r66523, running on a Windows 7 64-bit host. \u00a0The VM\/client OS is Ubuntu 10.10. \u00a0I created a USB filter for the AVRISP in the Virtual Machine settings; it doesn&#8217;t seem to work without it. \u00a0That might be what I was missing before.<\/p>\n<p>To avoid having to run avrdude with root priveledges, I created the file \/etc\/udev\/rules.d\/10-avrisp2.rules with the contents:<\/p>\n<pre>SUBSYSTEM==\"usb\", SYSFS{idVendor}==\"03eb\", SYSFS{idProduct}==\"2104\", GROUP=\"adm\", MODE=\"0666\"<\/pre>\n<p>Pretty simple.<\/p>\n<p>Oh, I should add that there is no guarantee other combinations of host\/client OS will work. \u00a0 If you&#8217;re getting different results, leave a comment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the past I have had problems getting the Atmel AVRISP mkII to work with Virtualbox. \u00a0This can be really irritating if, like me, you want to write code in Linux but are forced to run Windows for Skype and various closed-source development tools (ugh). Today, it seems to be working. \u00a0I can talk to &hellip; <a href=\"https:\/\/mightyohm.com\/blog\/2010\/11\/atmel-avrisp-mkii-working-in-virtualbox\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Atmel AVRISP mkII working in Virtualbox<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[10],"tags":[252,61,66,332,349],"class_list":["post-3333","post","type-post","status-publish","format-standard","hentry","category-microcontrollers","tag-atmel","tag-avr","tag-linux","tag-ubuntu","tag-virtualbox"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pioCd-RL","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":3076,"url":"https:\/\/mightyohm.com\/blog\/2010\/09\/avrisp-mkii-libusb-drivers-for-windows-7-vista-x64\/","url_meta":{"origin":3333,"position":0},"title":"AVRISP mkII libusb drivers for Windows 7 \/ Vista x64","author":"Jeff","date":"September 16, 2010","format":false,"excerpt":"Continuing on the theme of my last post, here are libusb-win32 drivers for the Atmel AVRISP mkII. Unlike the Atmel-supplied drivers, these support avrdude, and as a bonus they will install on the 64-bit version of Windows 7 without digital signature errors. Yes! avrispmkii_libusb-win32_1.2.1.0.zip Note that if you want to\u2026","rel":"","context":"In &quot;Microcontrollers&quot;","block_context":{"text":"Microcontrollers","link":"https:\/\/mightyohm.com\/blog\/category\/microcontrollers\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3090,"url":"https:\/\/mightyohm.com\/blog\/2010\/09\/improved-firmware-for-usbtinyisp-fixes-usb-issues-in-virtualbox\/","url_meta":{"origin":3333,"position":1},"title":"Improved firmware for USBTinyISP fixes USB issues","author":"Jeff","date":"September 20, 2010","format":false,"excerpt":"I am a big fan of VirtualBox. \u00a0I have used it in various forms over the past couple years: to run Windows within Linux, Linux within Windows, Linux within OSX, Windows within OSX, etc. \u00a0It is fast, powerful, configurable, and best of all, free. However, there is one major disadvantage\u2026","rel":"","context":"In &quot;Microcontrollers&quot;","block_context":{"text":"Microcontrollers","link":"https:\/\/mightyohm.com\/blog\/category\/microcontrollers\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mightyohm.com\/blog\/wp-content\/uploads\/2010\/09\/virtualbox-500x394.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":822,"url":"https:\/\/mightyohm.com\/blog\/2008\/12\/building-a-wifi-radio-part-7-building-an-lcd-display\/","url_meta":{"origin":3333,"position":2},"title":"Building a Wifi Radio &#8211; Part 7, Building an LCD Display","author":"Jeff","date":"December 18, 2008","format":false,"excerpt":"This is the seventh part of an ongoing series about building a low cost, open source streaming internet radio.\u00a0 If you haven\u2019t already, check out the previous parts (see the links at the end of this article) for some background about the project. In part six, we used OpenWrt's UNIX-style\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/mightyohm.com\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"http:\/\/www.lduhtrp.net\/image-3238164-10440897","width":350,"height":200},"classes":[]},{"id":2910,"url":"https:\/\/mightyohm.com\/blog\/2010\/03\/run-avrdude-without-root-privs-in-ubuntu\/","url_meta":{"origin":3333,"position":3},"title":"Run avrdude on Ubuntu without root","author":"Jeff","date":"March 30, 2010","format":false,"excerpt":"A quick tip for Ubuntu users: As installed by the avrdude package on Ubuntu, avrdude needs root priveledges to work properly with the Adafruit USBTinyISP AVR programmer.\u00a0 This gets annoying pretty fast because to program an AVR you need to run avrdude (or make) with sudo every time or log\u2026","rel":"","context":"In &quot;Microcontrollers&quot;","block_context":{"text":"Microcontrollers","link":"https:\/\/mightyohm.com\/blog\/category\/microcontrollers\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2063,"url":"https:\/\/mightyohm.com\/blog\/2009\/07\/atmel-retiring-atmega4888168-microcontrollers\/","url_meta":{"origin":3333,"position":4},"title":"Atmel retiring ATmega48\/88\/168 microcontrollers","author":"Jeff","date":"July 3, 2009","format":false,"excerpt":"Has anyone else noticed that the ATmega48\/88\/168 family of 8-bit AVR microcontrollers recently joined Atmel's \"mature devices\" list, shown above? Truthfully, I was not surprised to see this, having been tipped off by an Atmel sales rep earlier this year at ESC in San Jose. The good news is that\u2026","rel":"","context":"In &quot;Microcontrollers&quot;","block_context":{"text":"Microcontrollers","link":"https:\/\/mightyohm.com\/blog\/category\/microcontrollers\/"},"img":{"alt_text":"Atmel AVR Microcontrollers - Mature Devices","src":"https:\/\/i0.wp.com\/mightyohm.com\/blog\/wp-content\/uploads\/2009\/07\/avr_mature.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2530,"url":"https:\/\/mightyohm.com\/blog\/2009\/11\/minor-updates-to-avr-hv-rescue-shield\/","url_meta":{"origin":3333,"position":5},"title":"Minor updates to the AVR HV Rescue Shield","author":"Jeff","date":"November 3, 2009","format":false,"excerpt":"This week there have been a couple minor updates to the AVR HV Rescue Shield: I just uploaded version 1.1 of the Arduino sketch, which fixes an issue with garbage being printed in the serial monitor between burn cycles.\u00a0 I also made some minor changes to try to reduce the\u2026","rel":"","context":"In &quot;Kits&quot;","block_context":{"text":"Kits","link":"https:\/\/mightyohm.com\/blog\/category\/kits\/"},"img":{"alt_text":"AVR HV Rescue Shield with ATmega168 target ","src":"https:\/\/i0.wp.com\/www.mightyohm.com\/blog\/wp-content\/uploads\/2009\/03\/rescue-shield-with-atmega2_scaled-500x375.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/posts\/3333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/comments?post=3333"}],"version-history":[{"count":3,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/posts\/3333\/revisions"}],"predecessor-version":[{"id":7814,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/posts\/3333\/revisions\/7814"}],"wp:attachment":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/media?parent=3333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/categories?post=3333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/tags?post=3333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}