<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.marcelpost.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Mcu_0088-AVR-programmer</id>
	<title>Mcu 0088-AVR-programmer - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.marcelpost.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Mcu_0088-AVR-programmer"/>
	<link rel="alternate" type="text/html" href="https://www.marcelpost.com/wiki/index.php?title=Mcu_0088-AVR-programmer&amp;action=history"/>
	<updated>2026-05-17T04:57:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://www.marcelpost.com/wiki/index.php?title=Mcu_0088-AVR-programmer&amp;diff=1313&amp;oldid=prev</id>
		<title>Admin at 10:49, 12 January 2014</title>
		<link rel="alternate" type="text/html" href="https://www.marcelpost.com/wiki/index.php?title=Mcu_0088-AVR-programmer&amp;diff=1313&amp;oldid=prev"/>
		<updated>2014-01-12T10:49:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The finished result of this project is to create an AVR-compatible In-Circuit Serial Programmer using an ATtiny85 as the controller. The board will interface using the open-source USB protocol and is able to program a range of AVR compatible microcontrollers with it. The cost is around $16 for which you can easily purchase a fully assembled and tested device, but I just found it so neat to be able to create my own programmer.&lt;br /&gt;
&lt;br /&gt;
The schematic, code and drivers listed on this page are mostly all works of others so I will not take credit for that. I merely have this page here to show you how it&amp;#039;s done and what the end result looks like.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* source code&lt;br /&gt;
&lt;br /&gt;
* binary (.HEX)&lt;br /&gt;
&lt;br /&gt;
Firmware version 1.3&lt;br /&gt;
[[File:Littlewire v13.zip]]&lt;br /&gt;
&lt;br /&gt;
Firmware version 1.1&lt;br /&gt;
[[File:Combined.zip]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* program the programmer&lt;br /&gt;
&lt;br /&gt;
I used a pololu programmer to program this project onto a new ATtiny85 microcontroller.&lt;br /&gt;
&lt;br /&gt;
These are the commands to flash the hex file into the chip:&lt;br /&gt;
&lt;br /&gt;
(I copied the contents of a little batch file)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set PROJECT=littlewire_v13&lt;br /&gt;
set PORT=\\.\USBSER000&lt;br /&gt;
set GCC_DEVICE=attiny85&lt;br /&gt;
set PGM_DEVICE=t85&lt;br /&gt;
set PGM_PROTO=avrispv2&lt;br /&gt;
&lt;br /&gt;
echo erase chip&lt;br /&gt;
avrdude -c %PGM_PROTO% -P %PORT% -p %PGM_DEVICE% -e&lt;br /&gt;
&lt;br /&gt;
echo write program to chip&lt;br /&gt;
avrdude -c %PGM_PROTO% -P %PORT% -p  %PGM_DEVICE% -U flash:w:%PROJECT%.hex -U lfuse:w:0xe1:m -U hfuse:w:0x5d:m -U efuse:w:0xfe:m&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Final result&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* usage instructions&lt;br /&gt;
&lt;br /&gt;
Before I created my own programmer I was using the (also very simple) programmer from Pololu. In order to program avr&amp;#039;s with this programmer I used the following avrdude command line:&lt;br /&gt;
&lt;br /&gt;
Pololu programmer avrdude command to program an ATtiny85&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set PORT=\\.\USBSER000&lt;br /&gt;
set PGM_PROTO=avrispv2&lt;br /&gt;
avrdude -F -c %PGM_PROTO% -P %PORT% -p t85 -U flash:w:myproject.hex -D&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the new programmer I have to change things slightly, just tell avrdude we&amp;#039;re using a different programmer:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set PORT=\\.\USBSER000&lt;br /&gt;
set PGM_PROTO=usbtiny&lt;br /&gt;
avrdude -F -c %PGM_PROTO% -P %PORT% -p t85 -U flash:w:myproject.hex -D&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* drivers for windows&lt;br /&gt;
&lt;br /&gt;
[[File:LittleWire driver.zip]]&lt;br /&gt;
&lt;br /&gt;
NOTE: the drivers for Linux are already supported in recent Linux kernels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* source design from LittleWire&lt;br /&gt;
&lt;br /&gt;
http://littlewire.cc/&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>