<?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 — Unable to Compile / Update Firmware for SD3 (AT90USB1286/Printrboard)]]></title>
		<link>https://www.soliforum.com/topic/6309/unable-to-compile-update-firmware-for-sd3-at90usb1286printrboard/</link>
		<atom:link href="https://www.soliforum.com/feed/rss/topic/6309/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Unable to Compile / Update Firmware for SD3 (AT90USB1286/Printrboard).]]></description>
		<lastBuildDate>Wed, 30 Apr 2014 12:22:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Unable to Compile / Update Firmware for SD3 (AT90USB1286/Printrboard)]]></title>
			<link>https://www.soliforum.com/post/55377/#p55377</link>
			<description><![CDATA[<p>It&#039;s the Mac version of the custom Arduino 0022, it&#039;s very different from the windows version (in the libraries and hardware showing). I ended up using a Windows VM **yuk** and got it to compile and it works.</p><p>At some point, I&#039;ll revisit and find out what the differences are and put that together. Also MacGyverX sent me, what appears to be a working build environment for Mac, but it was about 5 minutes after I got the Windows VM working. <img src="https://www.soliforum.com/img/smilies/tongue.png" width="15" height="15" alt="tongue" /> It&#039;s much appreciated though!</p>]]></description>
			<author><![CDATA[null@example.com (billchurch)]]></author>
			<pubDate>Wed, 30 Apr 2014 12:22:26 +0000</pubDate>
			<guid>https://www.soliforum.com/post/55377/#p55377</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unable to Compile / Update Firmware for SD3 (AT90USB1286/Printrboard)]]></title>
			<link>https://www.soliforum.com/post/55342/#p55342</link>
			<description><![CDATA[<p>I used lawsys firmware on mine, it compiled just fine.&nbsp; It might help to try his out from here:<br /><a href="https://github.com/mlaws/solidoodle2-marlin">https://github.com/mlaws/solidoodle2-marlin</a></p>]]></description>
			<author><![CDATA[null@example.com (accusedmonk)]]></author>
			<pubDate>Tue, 29 Apr 2014 23:02:30 +0000</pubDate>
			<guid>https://www.soliforum.com/post/55342/#p55342</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unable to Compile / Update Firmware for SD3 (AT90USB1286/Printrboard)]]></title>
			<link>https://www.soliforum.com/post/55338/#p55338</link>
			<description><![CDATA[<div class="quotebox"><cite>en-rage wrote:</cite><blockquote><p>I just updated my solidoodle 3 printers firmware tonight. It has the Printboard Rev E, my operating system is Windows 7 64bit</p><p>These instructions I compiled after talking with Adrian, and reading the existing wiki (<a href="http://wiki.solidoodle.com/update-firmware">http://wiki.solidoodle.com/update-firmware</a>)<br />A: Download the Arduino IDE (<a href="http://www.arduino.cc">www.arduino.cc</a>)<br />B: Download Teensyduino (<a href="http://pjrc.com/teensy/td_download.html">http://pjrc.com/teensy/td_download.html</a>)<br />C: Download the firmware&nbsp; (<a href="https://github.com/ozadr1an/Solidoodle-Marlin_v1/tree/Solidoodle_Marlin_v1_beta">https://github.com/ozadr1an/Solidoodle- … in_v1_beta</a>)<br />D: Download the upload BootloaderHID (<a href="http://blog.lincomatic.com/wp-content/uploads/2012/03/BootloaderHID.zip">http://blog.lincomatic.com/wp-content/u … derHID.zip</a>)</p><p>1.&nbsp; &nbsp; Install Arduiono IDE<br />2.&nbsp; &nbsp; By default it installed in C:/program files/Arduino (or program files C:/program files(x86)/Arduino)<br />3.&nbsp; &nbsp; Install Teenyduino<br />4.&nbsp; &nbsp; It will ask you where the arduino install is, point it to the above folder<br />5.&nbsp; &nbsp; Unzip the firmware file to a folder you will remember<br />6.&nbsp; &nbsp; Open the Arduino.exe (shortcut put on your desktop after the Arduino IDE installed<br />7.&nbsp; &nbsp; Click Tools, Board (might say Board:Arduino Uno) and select the Teensy ++2.0<br />8.&nbsp; &nbsp; Click Tools, Serial Port, and change it to the port of your printer<br />(If you are unsure, and using windows, click the start button, right click computer, click properties, click device manager, and click on ports. Your printer will be the one listed as “USB serial port (Com X) write down whatever the x is, and put it in step 8)<br />9.&nbsp; &nbsp; Click File – Open<br />10.&nbsp; &nbsp; Browse to the folder you extracted in step 5, select the file (in the marlin folder) named Configureation.H , double click it or select it and click open<br />11.&nbsp; &nbsp; You will notice that there are several tabs across the top: Marlin, Configuration.H, ConfigurationStore.cpp etc, select the Configuration.H tab<br />12.&nbsp; &nbsp; Scroll down until you see (in black as the grey is comments and effects nothing) <br /> #define SOLIDOODLE_VERSION 2 (line 22 on mine) Change to #define SOLIDOODLE_VERSION 3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />13.&nbsp; &nbsp; #define MOTHERBOARD&nbsp; 62 (line #76 on mine…you can tell the line by clicking the code, and looking at the bottom left, a number will be there, this is the line of code)<br />Change it to read #define MOTHERBOARD 81<br />14.&nbsp; &nbsp; find #define TEMP_SENSOR_0 1 (line 120 ) and change to #define TEMP_SENSOR_0 6<br />15.&nbsp; &nbsp; find #define HEATER_0_MAXTEMP 225 (line145)&nbsp; change to #define HEATER_0_MAXTEMP 350<br />16.&nbsp; &nbsp; 350C is the max the thermister can is good for, the hotend can go higher, but you’ll need a thermocouple instead of the thermister<br />17.&nbsp; &nbsp; In the top arduino menu, click Sketch, then Verify/compile<br />18.&nbsp; &nbsp; If you installed Teensyduino, it will pop up a window, just close it<br />19.&nbsp; &nbsp; If your sketch does not report errors and simply gives you the Binary sketch size and memory use, it is safe to upload. If it reports errors, you have made a syntax error, and should recheck those lines you changed. <br />20.&nbsp; &nbsp; Before doing the final compile, click file – save (if you do not, it will not upload the changes)<br />21.&nbsp; &nbsp; Hold down SHIFT and click Compile<br />22.&nbsp; &nbsp; There has been a .hex file created. Marlin.cpp.hex, in my case (windows 7) it is under C:/users/whateverYourProfileNameIs/AppData/Local/Temp….it will be in the folder <br />named build-xxxxxxxxx.tmp (the x’s are a string of numbers) created today. You must have view hidden or system files enabled in folder options (control panel. Have view folders by icon instead of category enabled, folder options,view, check Show hidden files and folders)<br />23.&nbsp; &nbsp; Unzip the BootloaderHID.Zip (step D) to a folder<br />24.&nbsp; &nbsp; Copy the Marlin.cpp.hex file, and past it in the folder above (the bootloaderHID folder<br />25.&nbsp; &nbsp; Make sure your computer is connected to the printer via usb cable<br />26.&nbsp; &nbsp; Add a jumper to the BOOT pins on the printboard (back of the printer) or bend the 2 pins so they are touching , then press the RESET button<br />27.&nbsp; &nbsp; Open a new command window (click the windows start button, and in the search programs field (windows vista or newer) type CMD.<br />28.&nbsp; &nbsp; Within the CMD window, navigate to the folder you unzipped the BootleaderHID to in step 23<br />29.&nbsp; &nbsp;&nbsp; Type “hid_bootloader_cli -mmcu=at90usb1286 -w -v Marlin.cpp.hex” (no quotations)<br />30.&nbsp; &nbsp; It should say something like “read Marlin.cpp.hex xx bytes, xx% usage, found halfkay bootloader, programming…………………..Booting<br />31.&nbsp; &nbsp; Remove the jumper, or unbend the boot pins on the printboard (back of the printer)<br />32.&nbsp; &nbsp; Press reset<br />33.&nbsp; &nbsp; Verify that you have updated them, start up Repetier Host. <br />34.&nbsp; &nbsp; Click Connect <br />35.&nbsp; &nbsp; Look at the bottom of the screen, you will see a greeting msg when you connect it should now read<br />02:09:14.238 : echo:Unknown command: &quot;&quot;<br />02:09:14.405 : FIRMWARE_NAME:Marlin V1; Sprinter/grbl mashup for gen6 FIRMWARE_URL:http://github.com/mlaws/solidoodle2-marlin/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Solidoodle EXTRUDER_COUNT:1<br />02:09:14.405 : echo:Active Extruder: 0<br />If you see the address changed to github.com instead of solidoodle, you know you&#039;re golden</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (AZERATE)]]></author>
			<pubDate>Tue, 29 Apr 2014 22:52:40 +0000</pubDate>
			<guid>https://www.soliforum.com/post/55338/#p55338</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unable to Compile / Update Firmware for SD3 (AT90USB1286/Printrboard)]]></title>
			<link>https://www.soliforum.com/post/55336/#p55336</link>
			<description><![CDATA[<p>For the printrboards, you have to use the arduino loaded with teensylu.&nbsp; You should see teensy/printrboard as a selection in the board menu.&nbsp; Make sure you have the right com port selected too!</p>]]></description>
			<author><![CDATA[null@example.com (accusedmonk)]]></author>
			<pubDate>Tue, 29 Apr 2014 22:32:20 +0000</pubDate>
			<guid>https://www.soliforum.com/post/55336/#p55336</guid>
		</item>
		<item>
			<title><![CDATA[Unable to Compile / Update Firmware for SD3 (AT90USB1286/Printrboard)]]></title>
			<link>https://www.soliforum.com/post/55321/#p55321</link>
			<description><![CDATA[<p>Having a hell of a time getting firmware compiled to finish my E3D upgrade.</p><p>I&#039;ve followed the directions (several times) at the solidoodle wiki.</p><p>Could never get the Solidoodle firmware or the Marlin firmware to compile for my Printrboard (AT90USB1286). </p><p>I can, however, follow the instructions on the soliwiki for the E3D upgrade and get firmware to compile just fine for an ATmega1284P. So, seems like my Arudino stuff is setup right.</p><p>I&#039;m running a Mac (OS X 10.8.5) and I have v0022 Alpha of the Arduino IDE (and only that) as the instructions recommend.</p><p>What I&#039;ve done so far.</p><p>I&#039;ve tried downloading the windows version of 0022 that was called out on wiki solidoodle update-firmware and copying the libraries and hardware folders over to ~/Documents/Arduino, but no dice. I can see the Printrboard entries but it fails compilation with:</p><div class="codebox"><pre><code>In file included from cardreader.cpp:1:
Marlin.h: In function &#039;void serialprintPGM(const char*)&#039;:
Marlin.h:87: error: &#039;Serial&#039; was not declared in this scope</code></pre></div><p>I&#039;m trying Windows in a VM next, I can&#039;t believe I&#039;m saying that.</p><p><strong>UPDATE:</strong><br />&quot;Solved&quot;, the Mac version of this build environment sucks, it&#039;s missing a lot and even after copying the libraries and hardware from the Windows version to the Mac version it&#039;s still not right. Windows method is the one that works somewhat painlessly. If I have time, and I remember I&#039;ll try and figure out the Mac version for those who may not have a Windows box lying around.</p>]]></description>
			<author><![CDATA[null@example.com (billchurch)]]></author>
			<pubDate>Tue, 29 Apr 2014 20:40:10 +0000</pubDate>
			<guid>https://www.soliforum.com/post/55321/#p55321</guid>
		</item>
	</channel>
</rss>
