<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[SoliForum - 3D Printing Community — Panelolu/ATmega1284 issue.]]></title>
	<link rel="self" href="https://www.soliforum.com/feed/atom/topic/1456/" />
	<updated>2020-11-12T17:00:05Z</updated>
	<generator>PunBB</generator>
	<id>https://www.soliforum.com/topic/1456/paneloluatmega1284-issue/</id>
		<entry>
			<title type="html"><![CDATA[Re: Panelolu/ATmega1284 issue.]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/154204/#p154204" />
			<content type="html"><![CDATA[<p>Yeah we are All trying to get this to work, we have all seen the Same Video! I suspect try deleting all the None Marlin folders and files that get installed when you Download from github and see if that helps... I got Marlin 2.0.3 bugfix to compile Once!! using VSC Atom but I can&#039;t seem to find my Bigtree 32Bit Clone MKS knockoff board with TE2865 Stepper drivers (Purple Board)<br />Its a Sanguine clone.. I suspect I used the wrong compiler or Board base... I cant seem to get VSC to Drop the base Mega also I had better results downloading the official code from the Marlin official site bug fix is only an Issue if your trying to install a None BLTOUCH Galvanic sensor like i have... Marlin 1.1.9 should be all you need if your installing a BL touch be careful though if your using a 8Bit board you only have 512Kb to work with... and you may be having EPROM storage issues and not programming Issues. check your code for bytes used if your at 450Kb you have a storage Issue...</p>]]></content>
			<author>
				<name><![CDATA[jjhcs2]]></name>
				<uri>https://www.soliforum.com/user/19337/</uri>
			</author>
			<updated>2020-11-12T17:00:05Z</updated>
			<id>https://www.soliforum.com/post/154204/#p154204</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Panelolu/ATmega1284 issue.]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/20133/#p20133" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Bad Coffee wrote:</cite><blockquote><p>Save the file, and try the upload.&nbsp; It worked for me.&nbsp; Hope someone else going through the install can use this info.</p></blockquote></div><p>Thanks for sharing, it&#039;s definitely useful information!</p>]]></content>
			<author>
				<name><![CDATA[Rincewind]]></name>
				<uri>https://www.soliforum.com/user/242/</uri>
			</author>
			<updated>2013-04-16T18:43:27Z</updated>
			<id>https://www.soliforum.com/post/20133/#p20133</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Panelolu/ATmega1284 issue.]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/20131/#p20131" />
			<content type="html"><![CDATA[<p>Well that was fun, sort of.</p><p>Switched to 16mHz, and tried to upload.</p><p>It gave me an error (forgot exact syntax) about 1284 not found, then gave me the big list of chips.&nbsp; I recopied avrdude.config into the correct directory, overwriting the old version: <br />I&#039;m on a Mac with 10.5.8, so it&#039;s:<br /></p><div class="codebox"><pre><code>/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/</code></pre></div><p>I tried the upload and got a different error:<br /></p><div class="codebox"><pre><code>avrdude: parallel port access not available in this configuration
avrdude: error at avrdude.conf:531: programmer type not specified</code></pre></div><p>Took about an hour of searching, and found out you have to edit the avrdude.conf file.&nbsp; This post on <em>an other</em> printer&#039;s wiki summed it up nicely:<br /></p><div class="quotebox"><blockquote><p>If you receive the following error when trying to upload the firmware to your board, you will need to edit the avrdude.conf file and remove or comment out the parallel port programmers from line 520 to line 712.</p></blockquote></div><br /><p>Open the file /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf (I used TextEdit.)<br />Search for </p><div class="codebox"><pre><code># Parallel port programmers</code></pre></div><p>Cut out (or comment out with a # in front of each line) the whole section, including the &#039;;&#039; before </p><div class="codebox"><pre><code>#
# some ultra cheap programmers use bitbanging on the 
# serialport.</code></pre></div><p>Save the file, and try the upload.&nbsp; It worked for me.&nbsp; Hope someone else going through the install can use this info.</p>]]></content>
			<author>
				<name><![CDATA[Bad Coffee]]></name>
				<uri>https://www.soliforum.com/user/206/</uri>
			</author>
			<updated>2013-04-16T18:02:17Z</updated>
			<id>https://www.soliforum.com/post/20131/#p20131</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Panelolu/ATmega1284 issue.]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/20014/#p20014" />
			<content type="html"><![CDATA[<p>in Stepper.cpp:<br />Old version:</p><p>#include &quot;speed_lookuptable.h&quot;<br />#if DIGIPOTSS_PIN &gt; -1<br />#include &lt;SPI.h&gt;<br />#endif</p><p>New version:</p><p>#include &quot;speed_lookuptable.h&quot;<br />#if (DIGIPOTSS_PIN &gt; -1)<br />#include &lt;SPI.h&gt;<br />#endif</p><p>Looking through the file all the other #if&#039;s were structured that way.&nbsp; I took a chance and changed the line, and the error went away.</p><p>The firmware came from Lawsy&#039;s Github.&nbsp; It&#039;s the new fw with the LCD stuff included. The 1284 came with the panelolu kit.</p><p>The printer was doing fine until I changed the chip.&nbsp; I still have the old chip (with the working fw on it) as a backup.</p><p>I just changed the board type to 16mhz and it compiled fine.&nbsp; I&#039;ll load it up later today and see if it works.</p><p>Thanks for the help.&nbsp; This has been bugging me for quite a while.</p><p>B</p>]]></content>
			<author>
				<name><![CDATA[Bad Coffee]]></name>
				<uri>https://www.soliforum.com/user/206/</uri>
			</author>
			<updated>2013-04-15T13:49:59Z</updated>
			<id>https://www.soliforum.com/post/20014/#p20014</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Panelolu/ATmega1284 issue.]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/19990/#p19990" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Bad Coffee wrote:</cite><blockquote><p>I went through all of the files and compared.&nbsp; I did find one error in line 34 where there weren&#039;t parentheses after an &#039;if&#039;&nbsp; Adding them got rid of the first error.</p></blockquote></div><p>Which one is the &quot;if&quot; that you changed exactly?</p><div class="quotebox"><blockquote><p>The &quot;Speed_Lookuptable_fast&quot; issue is still happening.</p><p>attached as a text file,&nbsp; I can see the stuff that was added for the LCD, it makes sense.&nbsp; The rest of it, however is still a mystery.</p></blockquote></div><p>I had a look at the issue. So the problem is in the file speed_lookuptable.h, which only has the definitions for 16MHz and 20Mhz.</p><p>If you are compiling for a different clock, the appropriate variables are not defined, hence the error. The older firmware (posted on the solidoodle website) did not have a check for the 20Mhz, so what happens is that if you are compiling the 8Mhz clock version, the old firmware assumes that you have a 20Mhz clock instead. </p><p>Where did you get the 1284 from? Have you already tried printing with it before installing the LCD?</p>]]></content>
			<author>
				<name><![CDATA[Rincewind]]></name>
				<uri>https://www.soliforum.com/user/242/</uri>
			</author>
			<updated>2013-04-15T08:05:33Z</updated>
			<id>https://www.soliforum.com/post/19990/#p19990</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Panelolu/ATmega1284 issue.]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/19845/#p19845" />
			<content type="html"><![CDATA[<p>edited:not needed. BC</p>]]></content>
			<author>
				<name><![CDATA[Bad Coffee]]></name>
				<uri>https://www.soliforum.com/user/206/</uri>
			</author>
			<updated>2013-04-13T19:20:27Z</updated>
			<id>https://www.soliforum.com/post/19845/#p19845</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Panelolu/ATmega1284 issue.]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/19832/#p19832" />
			<content type="html"><![CDATA[<p>Just figured out it&#039;s in stepper.cpp tab. Going to go line-by-line and see if I can find the difference between the two files.</p>]]></content>
			<author>
				<name><![CDATA[Bad Coffee]]></name>
				<uri>https://www.soliforum.com/user/206/</uri>
			</author>
			<updated>2013-04-13T17:13:14Z</updated>
			<id>https://www.soliforum.com/post/19832/#p19832</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Panelolu/ATmega1284 issue.]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/19831/#p19831" />
			<content type="html"><![CDATA[<p>Still getting the error.&nbsp; I tried uploading both Lawsy&#039;s current, and the one on the SD website.&nbsp; The SD one will compile, Lawsy&#039;s won&#039;t.&nbsp; Here&#039;s a pic. of the window.</p><p>Any Suggestions?</p><p>B</p>]]></content>
			<author>
				<name><![CDATA[Bad Coffee]]></name>
				<uri>https://www.soliforum.com/user/206/</uri>
			</author>
			<updated>2013-04-13T16:59:54Z</updated>
			<id>https://www.soliforum.com/post/19831/#p19831</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Panelolu/ATmega1284 issue.]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/13966/#p13966" />
			<content type="html"><![CDATA[<p>You are correct.&nbsp; It will not compile.&nbsp; </p><p>I&#039;ve been following Lawsy&#039;s step-by-step instructions. The FW is the one with z hysterisis fix.&nbsp; I&#039;ve tried in both Arduino 0.22 and 0.23</p><p>The drivers are there for the 1284P.&nbsp; However, it shows up as both 8mhz and 16mhz.&nbsp; If I try the 16hz, Arduino says &quot;no 1284 found&quot;&nbsp; if I lower the speed to 8mhz, it uploads but I get the error.</p><p>I&#039;m out of town for the next few days.&nbsp; When I get back I&#039;ll try a different FW version.&nbsp; I think I still have the original from the first upgrade.&nbsp; I&#039;ll roll it back and see.</p><p>B</p>]]></content>
			<author>
				<name><![CDATA[Bad Coffee]]></name>
				<uri>https://www.soliforum.com/user/206/</uri>
			</author>
			<updated>2013-02-25T13:18:35Z</updated>
			<id>https://www.soliforum.com/post/13966/#p13966</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Panelolu/ATmega1284 issue.]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/13965/#p13965" />
			<content type="html"><![CDATA[<p>can you compile the code without a upload? This seems like a fw problem and not a upload issue.&nbsp; Have you installed the arduino drivers for the correct board and set it in arduino?</p><p>Did you use lawsys fw or what firmware are you trying to modify/upload?</p>]]></content>
			<author>
				<name><![CDATA[Rondavouz]]></name>
				<uri>https://www.soliforum.com/user/12/</uri>
			</author>
			<updated>2013-02-25T12:38:32Z</updated>
			<id>https://www.soliforum.com/post/13965/#p13965</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Panelolu/ATmega1284 issue.]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/13934/#p13934" />
			<content type="html"><![CDATA[<p>I&#039;m in the process of installing an external encoder/lcd so I can print without a computer.&nbsp; All the hardware is done, (Mendel Ready!) and I&#039;m trying to load up the new firmware.</p><p>Every time I try to load, I get this error:</p><p>stepper.cpp: In function &#039;short unsigned int calc_timer(short unsigned int)&#039;:<br />stepper.cpp:261: error: &#039;speed_lookuptable_fast&#039; was not declared in this scope<br />stepper.cpp:268: error: &#039;speed_lookuptable_slow&#039; was not declared in this scope</p><br /><p>OSX 10.6.8<br />Arduino 0.22</p><p>I&#039;m not really a programmer, but I can stumble through if someone has suggestions.</p><p>Thanks<br />B</p>]]></content>
			<author>
				<name><![CDATA[Bad Coffee]]></name>
				<uri>https://www.soliforum.com/user/206/</uri>
			</author>
			<updated>2013-02-25T01:22:55Z</updated>
			<id>https://www.soliforum.com/post/13934/#p13934</id>
		</entry>
</feed>
