<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[SoliForum - 3D Printing Community — Firmware mods to rescue and resume failed prints]]></title>
	<link rel="self" href="https://www.soliforum.com/feed/atom/topic/5971/" />
	<updated>2014-04-02T00:02:02Z</updated>
	<generator>PunBB</generator>
	<id>https://www.soliforum.com/topic/5971/firmware-mods-to-rescue-and-resume-failed-prints/</id>
		<entry>
			<title type="html"><![CDATA[Re: Firmware mods to rescue and resume failed prints]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/53358/#p53358" />
			<content type="html"><![CDATA[<p>renee or anyone, please help i need step by step directions to get the panelolu 2 to work with SD3</p><p>I am not a programmer just a mechanic and I have pulled most of my hair out trying to get this to work but can,t&nbsp; &nbsp; &nbsp;Please help</p>]]></content>
			<author>
				<name><![CDATA[slimstar2]]></name>
				<uri>https://www.soliforum.com/user/5384/</uri>
			</author>
			<updated>2014-04-02T00:02:02Z</updated>
			<id>https://www.soliforum.com/post/53358/#p53358</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Firmware mods to rescue and resume failed prints]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/53322/#p53322" />
			<content type="html"><![CDATA[<p>Nice work tealvince!</p>]]></content>
			<author>
				<name><![CDATA[Rincewind]]></name>
				<uri>https://www.soliforum.com/user/242/</uri>
			</author>
			<updated>2014-04-01T12:18:07Z</updated>
			<id>https://www.soliforum.com/post/53322/#p53322</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Firmware mods to rescue and resume failed prints]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/53273/#p53273" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>slimstar2 wrote:</cite><blockquote><p>Thank you Hazer&nbsp; </p><p>Teensy Loader, Command Line, Version 2.0 <br />error reading intel hex file &quot;Marlin.cpp.hex&quot;</p></blockquote></div><p>If you missed it, renee just posted a fix for this:</p><p><a href="http://www.soliforum.com/post/53271/#p53271">http://www.soliforum.com/post/53271/#p53271</a></p>]]></content>
			<author>
				<name><![CDATA[tealvince]]></name>
				<uri>https://www.soliforum.com/user/676/</uri>
			</author>
			<updated>2014-03-31T15:21:10Z</updated>
			<id>https://www.soliforum.com/post/53273/#p53273</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Firmware mods to rescue and resume failed prints]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/53232/#p53232" />
			<content type="html"><![CDATA[<p>Thank you Hazer&nbsp; </p><br /><br /><br /><p>I followed your link to the wiki&nbsp; and did a test run up to <br />the part where I entered cmd line&nbsp; &nbsp; &nbsp;I typed in&nbsp; ;</p><p> hid_bootloader_cli -mmcu=at90usb1286 -w -v Marlin.cpp.hex</p><p>hit the enter key</p><p>and got this&nbsp; </p><p>Teensy Loader, Command Line, Version 2.0 <br />error reading intel hex file &quot;Marlin.cpp.hex&quot;</p><p>I did not have the MB plugged in to the usb cable for this test for fear of something going wrong <br />and not being able to use my printer at all.</p><p>I am using Arduino 0022 from the wiki page </p><p>&nbsp; Thank you for your help&nbsp; &nbsp; &nbsp; &nbsp;Bill D.</p>]]></content>
			<author>
				<name><![CDATA[slimstar2]]></name>
				<uri>https://www.soliforum.com/user/5384/</uri>
			</author>
			<updated>2014-03-30T19:02:38Z</updated>
			<id>https://www.soliforum.com/post/53232/#p53232</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Firmware mods to rescue and resume failed prints]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/53224/#p53224" />
			<content type="html"><![CDATA[<p>Programming issues aside, your compiled firmware also looks like it might be too small.&nbsp; With the LCD option enabled, my marlin firmware was twice as big, which is why upgrading to a 1284p was necessary.&nbsp; On a printerboard it might compile to be smaller, but I would expect it to be bigger than that</p>]]></content>
			<author>
				<name><![CDATA[tealvince]]></name>
				<uri>https://www.soliforum.com/user/676/</uri>
			</author>
			<updated>2014-03-30T15:52:51Z</updated>
			<id>https://www.soliforum.com/post/53224/#p53224</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Firmware mods to rescue and resume failed prints]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/53211/#p53211" />
			<content type="html"><![CDATA[<p>The Solidoodle Printrboard Rev E comes with an HID bootloader. You cannot upload firmware through arduino or avrdude. You either have to use the method mentioned in the wiki:</p><p><a href="http://wiki.solidoodle.com/update-firmware">http://wiki.solidoodle.com/update-firmware</a></p><p>or use a programmer on the ISP port, like a usbtiny.</p>]]></content>
			<author>
				<name><![CDATA[Hazer]]></name>
				<uri>https://www.soliforum.com/user/2747/</uri>
			</author>
			<updated>2014-03-30T12:48:47Z</updated>
			<id>https://www.soliforum.com/post/53211/#p53211</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Firmware mods to rescue and resume failed prints]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/53201/#p53201" />
			<content type="html"><![CDATA[<p>I am assuming you are using a panelolu2&nbsp; on a solidoodle 2 or 3? from the piciture. If am wrong I apologizes for taking your time . If I am right&nbsp; maybe you could tell how yuo got them to work . I can&#039;t get mine to upload&nbsp; I just got my panelolu 2 from Think 3d print 3d and my SD 3 at Xmas . My motherboard says rev E&nbsp; &nbsp;but looks slightly different that the one pictured in T3 P3 website . </p><p>This is what it says after trying to upload</p><p>&nbsp; &nbsp; &nbsp; &nbsp;Binary sketch size: 48542 bytes (of a 130048 byte maximum)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Connecting to programmer:&nbsp; .<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Found programmer: Id&nbsp; = “B u “; type = .<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Software Version =&nbsp; .;Hardware Version = .<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; avrdude: error:&nbsp; buffered memory access not supported. Maybe it isn’t<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a butterfly/AVR109 but a AVR910 device?</p><p>This with the T3P3 branch of Marlin they sent me to via a link</p><br /><p>&nbsp; &nbsp; &nbsp; Thank you&nbsp; &nbsp; &nbsp; Bill D.</p>]]></content>
			<author>
				<name><![CDATA[slimstar2]]></name>
				<uri>https://www.soliforum.com/user/5384/</uri>
			</author>
			<updated>2014-03-30T03:29:03Z</updated>
			<id>https://www.soliforum.com/post/53201/#p53201</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Firmware mods to rescue and resume failed prints]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/53200/#p53200" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>slimstar2 wrote:</cite><blockquote><p>Hi my name is&nbsp; Bill&nbsp; I recently got SD 3&nbsp; &nbsp;and tried to add T3P3 Panelolu2&nbsp; but have had issues would you be inclined to help?</p></blockquote></div><p>Not sure I can be of much help but if you post what you&#039;re experiencing I am sure somebody will be able to.&nbsp; Ive just been able to figure out what I need by reading the source code.</p>]]></content>
			<author>
				<name><![CDATA[tealvince]]></name>
				<uri>https://www.soliforum.com/user/676/</uri>
			</author>
			<updated>2014-03-30T02:59:26Z</updated>
			<id>https://www.soliforum.com/post/53200/#p53200</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Firmware mods to rescue and resume failed prints]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/53156/#p53156" />
			<content type="html"><![CDATA[<p>Hi my name is&nbsp; Bill&nbsp; I recently got SD 3&nbsp; &nbsp;and tried to add T3P3 Panelolu2&nbsp; but have had issues would you be inclined to help?</p>]]></content>
			<author>
				<name><![CDATA[slimstar2]]></name>
				<uri>https://www.soliforum.com/user/5384/</uri>
			</author>
			<updated>2014-03-28T22:00:27Z</updated>
			<id>https://www.soliforum.com/post/53156/#p53156</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Firmware mods to rescue and resume failed prints]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/52995/#p52995" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>adrian wrote:</cite><blockquote><p>Nice stuff - will have a poke around myself a bit laters..<br />Did you consider using the M600/M601/M602 mods that would otherwise offer similar functionality ?</p></blockquote></div><p>Yes.&nbsp; In fact i used the M600 code for reference when adding my pause/resume changes.&nbsp; However, the M600 code primarily handles filament changes and seems to be meant for imbedding those changes at specific places in a print, I wanted to extend the concept to be fully interactive with an LCD (even without a PC) and work with any axis so a similar operation could be used at any point an operator noticed a clog/shift/break problem in a print.&nbsp; I was surprised after seeing the M600 code that the pause/resume menus did not reset the current e-position in the same way, since one of the most common reasons for pausing a print is presumably to change the filament.</p><p>The feature that I think is most potentially useful, however, is the &quot;Resume from SD&quot; menu I added, which essentially automates the process of measuring the z-height and splitting up a cgode file at the right place when needing to resume a partial print.&nbsp; That&#039;s normally a pain to do, especially when printing files from an SD card with no computer handy to edit the file.&nbsp; </p><p>The intention was to make the process much more like resuming a DVD, where you can simply back up to where you last were and hit &quot;Play&quot; to resume.&nbsp; As a bonus, since the code still processes the non-motion codes in the skipped part of the file, any temperature or other settings should be restored, which wouldn&#039;t occur if a gcode file were simply started in the middle.&nbsp; I might have missed a code or two, but I used it last night to resume a print that stopped midway from a clog and I found it super convenient.</p>]]></content>
			<author>
				<name><![CDATA[tealvince]]></name>
				<uri>https://www.soliforum.com/user/676/</uri>
			</author>
			<updated>2014-03-26T14:18:34Z</updated>
			<id>https://www.soliforum.com/post/52995/#p52995</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Firmware mods to rescue and resume failed prints]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/52979/#p52979" />
			<content type="html"><![CDATA[<p>Nice stuff - will have a poke around myself a bit laters..<br />Did you consider using the M600/M601/M602 mods that would otherwise offer similar functionality ?</p>]]></content>
			<author>
				<name><![CDATA[adrian]]></name>
				<uri>https://www.soliforum.com/user/663/</uri>
			</author>
			<updated>2014-03-26T08:17:56Z</updated>
			<id>https://www.soliforum.com/post/52979/#p52979</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Firmware mods to rescue and resume failed prints]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/52960/#p52960" />
			<content type="html"><![CDATA[<p>The last few days I&#039;ve been messing with firmware, making tweaks for my own use, and wanted to share some of the mods I&#039;ve come up with.&nbsp; A lot of this has evolved to work around clogs I&#039;ve been getting with some self-extruded filament, but would be useful for any clogs and many other problems.<br /><span class="postimg"><img src="http://www.soliforum.com/misc.php?action=pun_attachment&amp;item=4927" alt="http://www.soliforum.com/misc.php?action=pun_attachment&amp;amp;item=4927" /></span><br />Some of the changes (such as setting the default z-steps-per-mm for an m3 rod) are strictly for my own hardware and preferences, but I&#039;ve tried to annotate all the changes to make them easy for anybody else to cut in. I have a cheap lcd display and controller and added most options as new menus, but most of the changes could also be adapted to be called from gcode as well.</p><p>I&#039;m going to continue to add any ideas I find interesting, and the code may be a little raw, but here is a zip of my modified source so far and the changes:</p><p>Major:</p><p>1) RESUME_PRINT_FROM_ZLEVEL</p><p>This menu option lets you start a print from and SD card file, but any axis-homing commands and all motor and extruder movements below the current z level are ignored.&nbsp; I use this feature to &quot;resume&quot; a print that stops printing due to a clog or broken filament.&nbsp; I just manually seek the head down to the exact top of the partial print and &quot;resume&quot; the same file I printed originally.&nbsp; It heats up normally but jumps past all the printing code until it reached the right z-level, then continues where it left off.</p><p>The code internally just sets a &quot;floor&quot; z level.&nbsp; I image you could add a gcode command to set this level to a specific value or from the current z-level so that this would work for PC-based printing as well.</p><p>2) PAUSE_AND_HEAD_UP</p><p>This extra pause menu conveniently drops the bed a preset amount after pausing to allow for nozzle cleaning with a drill bit.&nbsp; Importantly, I changed this and all pause menus to save the current axis positions immediately after pausing so one could seek back to that position later (more below).&nbsp; The move-z menu is automatically activated after pausing to allow for additional adjustments.</p><p>3) PAUSE_AND_RETRACT</p><p>Similar to above, but retracts the filament after pausing to prep for a filament change.&nbsp; The move-extruder menu is automatically activated so the new filament can be fed in.&nbsp; I lengthened the timeout value before control goes back to the main menu due to inactivity.</p><p>4) RESTORE_LAST_POSITION</p><p>When printing is paused, this menu seek all three axes back to the saved positions, even if you&#039;ve manually moved the head around.&nbsp; This is useful to have as a separate option in case additional manual adjustments are needed, such as dropping the head down a bit to make up for layers that failed to print.</p><p>5) RESUME_FROM_LAST</p><p>Combines the above menu with a normal &quot;resume&quot; menu to continue printing after seeking to the last position as above.&nbsp; Importantly, I changed the &quot;resume&quot; menus to compensate for any extruder moves.&nbsp; Previously, I would find after resuming a print that the gcode would try to &quot;undo&quot; any manual filament feeding I would do after changing filament.&nbsp; This seemed unhelpful, so I added the compensation.</p><p>6) RESUME_FROM_HERE</p><p>This replaces the normal &quot;resume&quot; menu, but add offset values, if needed, to fool the printer into thinking it hasn&#039;t moved from its saved pause position.&nbsp; This lets you make adjustments in any direction to compensate for a shift or gap and still have the rest of the print line continue from where you tell it.</p><p>Minor Changes (probably not of general interest):</p><p>a) Added a custom welcome message</p><p>My LCD always said &quot;Welcome Mendel&quot; instead of &quot;Welcome Solidoodle&quot;.&nbsp; The existing code looked correct, so I don&#039;t know why it was wrong, but I wanted to customize the message anyway.</p><p>b) Custom cooldown function</p><p>The previous cooldown menu used gcode&nbsp; but only cooled the extruder.&nbsp; I don&#039;t know why the bed temp wasn&#039;t also set, but I changed this to a function to explicitly set everything to 0 and that seems to work better.</p><p>c) Flattened distance menu</p><p>I never liked the extra step of having to select a movement distance since I almost always wanted 1mm movement.&nbsp; I put both 1mm and .1mm options in the same menu and lost the 10mm choices.</p><p>d) Preheat Safe temp</p><p>I added a menu to allow preheating the bed, but only warming the extruder to 80 degrees so it wouldn&#039;t burn the ABS if I left it in this state for a long time.</p><p>e) Prehead ABS menu</p><p>I don&#039;t print in PLA, so I took those menus out for now for me.</p><p>f) Reverse encoder direction</p><p>The thumbwheel control with my LCD controller turned in the wrong direction (clockwise for up and counterclockwise for down) so I added a switch to optionally reverse the direction.</p>]]></content>
			<author>
				<name><![CDATA[tealvince]]></name>
				<uri>https://www.soliforum.com/user/676/</uri>
			</author>
			<updated>2014-03-26T01:25:12Z</updated>
			<id>https://www.soliforum.com/post/52960/#p52960</id>
		</entry>
</feed>
