<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[SoliForum - 3D Printing Community — Reflashing the EMUtag]]></title>
		<link>https://www.soliforum.com/topic/16563/reflashing-the-emutag/</link>
		<atom:link href="https://www.soliforum.com/feed/rss/topic/16563/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Reflashing the EMUtag.]]></description>
		<lastBuildDate>Sun, 16 Jul 2017 18:02:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Reflashing the EMUtag]]></title>
			<link>https://www.soliforum.com/post/136666/#p136666</link>
			<description><![CDATA[<p>It&#039;s cool, thanks for posting the information! For whatever reason the I had trouble using the pins you have written but was able to use the pinouts from the original emutag site without a problem.&nbsp; It probably was my wiring, but all is well now!</p><p>Thanks again.</p>]]></description>
			<author><![CDATA[null@example.com (woogerboy21)]]></author>
			<pubDate>Sun, 16 Jul 2017 18:02:16 +0000</pubDate>
			<guid>https://www.soliforum.com/post/136666/#p136666</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reflashing the EMUtag]]></title>
			<link>https://www.soliforum.com/post/136641/#p136641</link>
			<description><![CDATA[<div class="quotebox"><cite>woogerboy21 wrote:</cite><blockquote><p>one other things, is the pins listed in the avr config correct or were they just an example?&nbsp; according to the j8head jpg you have the gpio numbers should be different than those listed in your post?</p></blockquote></div><p>The pins listed in the avrdude config are exactly how I configured my setup.&nbsp; The setup I posted is what I did step by step.&nbsp; Any linking information was just added for clarity, but apparently I caused confusion.&nbsp; Hope that helps.</p>]]></description>
			<author><![CDATA[null@example.com (mjf55)]]></author>
			<pubDate>Fri, 14 Jul 2017 06:27:21 +0000</pubDate>
			<guid>https://www.soliforum.com/post/136641/#p136641</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reflashing the EMUtag]]></title>
			<link>https://www.soliforum.com/post/136629/#p136629</link>
			<description><![CDATA[<p>Ironically I have done the same dang thing to one of my emutags and will be trying to reflash my tag.&nbsp; Does anyone know if there is any place on the Da Vinci Jr&#039;s board to pull 5V from?&nbsp; Usually I run my tag&#039;s on the 5V cell battery banks but managed to leave this tag in the printer a bit to long.</p><p>edit:</p><p>one other things, is the pins listed in the avr config correct or were they just an example?&nbsp; according to the j8head jpg you have the gpio numbers should be different than those listed in your post?</p>]]></description>
			<author><![CDATA[null@example.com (woogerboy21)]]></author>
			<pubDate>Thu, 13 Jul 2017 16:50:42 +0000</pubDate>
			<guid>https://www.soliforum.com/post/136629/#p136629</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reflashing the EMUtag]]></title>
			<link>https://www.soliforum.com/post/136609/#p136609</link>
			<description><![CDATA[<div class="quotebox"><cite>mjf55 wrote:</cite><blockquote><p>Just got note from the EMUtag developer.&nbsp; He has created a &#039;How To&#039; Page on the EMUtag site.<br />Here is the link.&nbsp; It is not yet linked from any other page.<br /><a href="http://emutag.com/howtos.php">http://emutag.com/howtos.php</a></p></blockquote></div><p>That page also shows how to power the EMUTAG from an external DC source, but requires modifying the board... I wonder if those two schottky diodes could be placed outside of the board if one gets rid of the onboard cells and uses an external battery pack (e.g. 3x AA) as backup alongside a 5 V AC-DC adapter?</p>]]></description>
			<author><![CDATA[null@example.com (fj.aquino)]]></author>
			<pubDate>Thu, 13 Jul 2017 09:53:10 +0000</pubDate>
			<guid>https://www.soliforum.com/post/136609/#p136609</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reflashing the EMUtag]]></title>
			<link>https://www.soliforum.com/post/136545/#p136545</link>
			<description><![CDATA[<p>Just got note from the EMUtag developer.&nbsp; He has created a &#039;How To&#039; Page on the EMUtag site.<br />Here is the link.&nbsp; It is not yet linked from any other page.<br /><a href="http://emutag.com/howtos.php">http://emutag.com/howtos.php</a></p>]]></description>
			<author><![CDATA[null@example.com (mjf55)]]></author>
			<pubDate>Sat, 08 Jul 2017 23:23:16 +0000</pubDate>
			<guid>https://www.soliforum.com/post/136545/#p136545</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reflashing the EMUtag]]></title>
			<link>https://www.soliforum.com/post/136476/#p136476</link>
			<description><![CDATA[<p>Sorry, I forgot to reply to this post. You can feel free to post any information I give you. Thank you for asking first though.</p><p>BTC</p>]]></description>
			<author><![CDATA[null@example.com (Bozotclown1970)]]></author>
			<pubDate>Wed, 05 Jul 2017 01:53:35 +0000</pubDate>
			<guid>https://www.soliforum.com/post/136476/#p136476</guid>
		</item>
		<item>
			<title><![CDATA[Reflashing the EMUtag]]></title>
			<link>https://www.soliforum.com/post/136462/#p136462</link>
			<description><![CDATA[<p>Last week I had some problems with my EMUtag, resulting from letting the batteries run down too low while using it.&nbsp; The first time , with the help of Bozotheclown1970, I was able to recover using a new default file to load.&nbsp; The second time, resulted in a &#039;dead&#039; ENUtag.&nbsp; &nbsp;I could not get it to read, no matter what I did.<br />So I wrote to the developer of EMUtag and he gave me some information and files and I was able to reflash it using my raspberry pi.</p><p>As I gained permission from the developer to direct post his file links, he asked &quot;it would be nice if you could reserve sections for firmware flashing instructions using all 5 methods (arduino, RPi, FTDI, parport, and a dedicated AVR programmer), so that RPi method will be one of the sections.&quot;</p><p>I write this post as a set of instructions to use a Raspberry Pi to re-flash the EMUtag.&nbsp; &nbsp;It would be great if the community could post other methods here as a one stop thread for the EMUtag flashing.&nbsp; I know that Mr Clown has a post helping with Arduino / FTDI.&nbsp; Csan that get copied over here?&nbsp; I will do the work if it is ok.</p><p>Raspberry Pi</p><p>==============================================================<br /><strong><br />Raspberry Pi side:</strong></p><p>Enable SPI interface by opening a terminal:<br />1- pi@raspberrypi ~ $ sudo raspi-config<br />2- select option 5 - Interfacing Options<br />3- select P5 - SPI<br />4- select Yes to the question &quot;Would you like SPI interface to be enabled&quot;<br />5- select OK<br />6- select Finish</p><p><strong>Emutag side:</strong></p><p>Solder 0.1&quot; pitch pins to the EMTtag board.&nbsp; <br />See this image as to the location and meaning of each pin <a href="http://emutag.com/img/icsp.jpg">http://emutag.com/img/icsp.jpg</a></p><br /><p>****!!!! These pin numbers are physical pins numbers, <strong>not GPIO numbers</strong> and they are set up to match the programmer section below<br />see <a href="http://pi4j.com/images/j8header-3b-large.png">http://pi4j.com/images/j8header-3b-large.png</a><br />EMUtag&nbsp; MOSI to pin 19 on RPi<br />EMUtag MISO to pin 21 on RPi<br />EMUtag SCK to pin 23 on RPi<br />EMUtag RESET to pin 07 on RPi<br />EMUtag GND to GND on RPi<br />EMUtag 5V to 5V on RPi</p><br /><p><strong>Preparing avrdude:</strong></p><p> we will be compiling from source<br /> Lifted from &lt;<a href="http://ozzmaker.com/program-avr-using-raspberry-pi-gpio/">http://ozzmaker.com/program-avr-using-r … y-pi-gpio/</a>&gt;</p><div class="codebox"><pre><code>pi@raspberrypi ~ $ sudo apt-get update
pi@raspberrypi ~ $ sudo apt-get install -y build-essential bison flex automake libelf-dev libusb-1.0-0-dev libusb-dev libftdi-dev libftdi1
pi@raspberrypi ~ $ wget http://download.savannah.gnu.org/releases/avrdude/avrdude-6.2.tar.gz
pi@raspberrypi ~ $ tar xfv avrdude-6.2.tar.gz
pi@raspberrypi ~ $ cd avrdude-6.2/
pi@raspberrypi avrdude-6.2/~ $ ./configure – -enable-linuxgpio
pi@raspberrypi avrdude-6.2/~ $ make
pi@raspberrypi avrdude-6.2/~ $ sudo make install</code></pre></div><p>Changing avrdude settings</p><div class="codebox"><pre><code>pi@raspberrypi avrdude-6.2/~ $ sudo nano /usr/local/etc/avrdude.conf</code></pre></div><p> Linux GPIO configuration for avrdude.<br />Change the lines below to the GPIO pins (GPIO04 as an example) I did this sucessfully connected to the AVR.<br /></p><div class="codebox"><pre><code>programmer
    id = &quot;linuxgpio&quot;;
    desc = &quot;Use the Linux sysfs interface to bitbang GPIO lines&quot;;
    type = &quot;linuxgpio&quot;;
    reset = 4;
    sck = 11;
    mosi = 10;
    miso = 9;
;</code></pre></div><p><strong>Loading and writing firmware files:</strong></p><div class="codebox"><pre><code>wget http://emutag.com/firmware/ntag213-sniff.bin
wget http://emutag.com/firmware/common.eep

sudo avrdude -c linuxgpio -p t4313 -U flash:w:ntag213-sniff.bin:r -U eeprom:w:common.eep:r -U efuse:w:0xfe:m -U hfuse:w:0xdf:m -U lfuse:w:0xdf:m</code></pre></div><p>==============================================================</p>]]></description>
			<author><![CDATA[null@example.com (mjf55)]]></author>
			<pubDate>Tue, 04 Jul 2017 00:26:36 +0000</pubDate>
			<guid>https://www.soliforum.com/post/136462/#p136462</guid>
		</item>
	</channel>
</rss>
