<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Teacup Firmware replicatorG &amp; Skeinforge</title>
        <description>I&#039;ve decided its time to graduate to a more complicated software package for my setup. I have been somewhat successful using 5D for Arduino and repsnapper. I was able to get everything I needed to work working. now its time for tweaking the gcode output. It seems to me that ReplicatorG has already many of the features i need so i am going to start tailoring my firmware hacks to its requirements. the first road block i have come to is the newly implemented checksum. I have checksum working quite well with the repsnapper code and it defiantly catches the few bad lines sent and requests the resend properly and the DDA waits for the correct line to come. I am wondering if Anyone out there is working with this exact setup and what other changes I need to be aware of . I also decided on downgrading to Skeinforge 31 as 35 and 39 both add a great deal of extras that 5D is not capable of handling. I hope to move up to those after I get 31 dialed in. 

So, any suggestions, tips and gotchas to look out for would be helpful.

my current bug is that after about 1600 or so lines my machine goes haywire and does all kinds of bad things. my feeling is it received a noisy command and given no checksum the firmware just tried to process the command. hence the reason I want checksum back in there to handle this things as well as tell me when they happen.

-regards and thanks 
trout

[Edit: Changed name to &quot;Teacup Firmware&quot; for the purposes of not confusing folk, after irc discussion. --Sebastien]</description>
        <link>https://reprap.org/forum/read.php?147,71989,71989#msg-71989</link>
        <lastBuildDate>Mon, 20 Jul 2026 09:47:12 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,120620#msg-120620</guid>
            <title>Re: Teacup Firmware</title>
            <link>https://reprap.org/forum/read.php?147,71989,120620#msg-120620</link>
            <description><![CDATA[ this is what i have in my config.h<br />
<br />
/**<br />
	analog subsystem stuff<br />
	REFERENCE - which analog reference to use. see analog.h for choices<br />
*/<br />
#define	REFERENCE		REFERENCE_AVCC<br />
<br />
what should i be doing to it to make it work?]]></description>
            <dc:creator>Phoenixblack</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Fri, 24 Feb 2012 07:45:32 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,105245#msg-105245</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,105245#msg-105245</link>
            <description><![CDATA[ @ Traumflug<br />
<br />
 I believe you are interpreting what he is saying wrong. He is saying the settings in ReplicatorG effect how its buttons work. If his or Benjacksons RepG is used things work fine, but if you use the stock RepG it does not output an E code when you push the extrude button but rather DC extruder code.]]></description>
            <dc:creator>Sublime</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Tue, 08 Nov 2011 12:55:12 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,105163#msg-105163</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,105163#msg-105163</link>
            <description><![CDATA[ You were clear, still you're wrong. Using Teacup firmware, the control panel doesn't have any influence which stepper drivers are enabled and which are not. It's plain impossible a bug in a host software reaches that far down the pipeline.]]></description>
            <dc:creator>Traumflug</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Tue, 08 Nov 2011 03:52:53 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,105066#msg-105066</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,105066#msg-105066</link>
            <description><![CDATA[ Traumflug Wrote:<br />
-------------------------------------------------------<br />
&gt; It's a software problem.<br />
&gt; <br />
&gt; Really? Teacup turns X, Y and E either all on or<br />
&gt; all off. Slightly different handling for Z, which<br />
&gt; is enabled when moved, only. So, PC software isn't<br />
&gt; involved here.<br />
&gt; <br />
&gt; To me this sounds like a misconfigured<br />
&gt; E_ENABLE_PIN or E_INVERT_ENABLE. Also: updating to<br />
&gt; the latest sources is always a good idea, if not<br />
&gt; done already. The default templates change from<br />
&gt; time to time to reflect code updates, so<br />
&gt; re-comparison between config.h and<br />
&gt; config.ramps-1.2.h is required.<br />
<br />
<br />
Sorry I should have been more clear: it's a software problem with Replicatorg, not Teacup. There was a bug in the code for the control panel when the machine uses any variant of the Replicatorg RepRap driver.]]></description>
            <dc:creator>Pointedstick</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Mon, 07 Nov 2011 11:30:47 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,105019#msg-105019</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,105019#msg-105019</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />It's a software problem.</div></blockquote>
<br />
Really? Teacup turns X, Y and E either all on or all off. Slightly different handling for Z, which is enabled when moved, only. So, PC software isn't involved here.<br />
<br />
To me this sounds like a misconfigured E_ENABLE_PIN or E_INVERT_ENABLE. Also: updating to the latest sources is always a good idea, if not done already. The default templates change from time to time to reflect code updates, so re-comparison between config.h and config.ramps-1.2.h is required.]]></description>
            <dc:creator>Traumflug</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Mon, 07 Nov 2011 03:03:44 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,104980#msg-104980</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,104980#msg-104980</link>
            <description><![CDATA[ Thanks PointedStick, I'll try that tomorrow.]]></description>
            <dc:creator>bassman</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 06 Nov 2011 17:45:34 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,104952#msg-104952</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,104952#msg-104952</link>
            <description><![CDATA[ bassman Wrote:<br />
-------------------------------------------------------<br />
&gt; I am building a Prusa Mendel with Arduino Mega<br />
&gt; 1280 (clone), RAMPS 1.2, teacup firmware and, at<br />
&gt; the moment ReplicatorG software as this is the<br />
&gt; only one I seem to be able to get working reliably<br />
&gt; on my Macbook Pro OSX 10.6. Teacup is built with<br />
&gt; standard RAMPS 1.2 config file. <br />
&gt; <br />
&gt; The X, Y, and Z axes are moving OK from the<br />
&gt; ReplicatorG control panel (jogging) but I can't<br />
&gt; get the extruder to move. It seems as though there<br />
&gt; is no power to the extruder motor as it will turn<br />
&gt; easily by hand when main power is on while all<br />
&gt; other motors are locked. I have swapped the Pololu<br />
&gt; drivers about to confirm that there is no problem<br />
&gt; there and have swapped the X-axis and extruder<br />
&gt; motors over to confirm its not a motor problem. I<br />
&gt; don't yet have the limit switches or thermocouple<br />
&gt; and heater wired in - one step at a time... <br />
&gt; <br />
&gt; I have built a couple of cnc machines running on<br />
&gt; EMC before with home built electronics but this is<br />
&gt; my first foray into Arduinos and so I don't really<br />
&gt; know whether I have an electronic problem or just<br />
&gt; a lack of knowledge on driving the software... <br />
&gt; <br />
&gt; Is it just me or do I have a problem - if so,<br />
&gt; where? <br />
&gt; <br />
&gt; Thanks, Ian<br />
<br />
<br />
It's a software problem. I've fixed this and it should be better in the next released Replicatorg version. In the meantime, this should help you: [<a href="http://www.thingiverse.com/thing:12781" target="_blank"  rel="nofollow">www.thingiverse.com</a>]<br />
<br />
In short, remove the "stepper_axis" var in the extruder definition in your reprap.xml file.]]></description>
            <dc:creator>Pointedstick</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 06 Nov 2011 14:23:43 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,104929#msg-104929</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,104929#msg-104929</link>
            <description><![CDATA[ I am building a Prusa Mendel with Arduino Mega 1280 (clone), RAMPS 1.2, teacup firmware and, at the moment ReplicatorG software as this is the only one I seem to be able to get working reliably on my Macbook Pro OSX 10.6. Teacup is built with standard RAMPS 1.2 config file. <br />
<br />
The X, Y, and Z axes are moving OK from the ReplicatorG control panel (jogging) but I can't get the extruder to move. It seems as though there is no power to the extruder motor as it will turn easily by hand when main power is on while all other motors are locked. I have swapped the Pololu drivers about to confirm that there is no problem there and have swapped the X-axis and extruder motors over to confirm its not a motor problem. I don't yet have the limit switches or thermocouple and heater wired in - one step at a time... <br />
<br />
I have built a couple of cnc machines running on EMC before with home built electronics but this is my first foray into Arduinos and so I don't really know whether I have an electronic problem or just a lack of knowledge on driving the software... <br />
<br />
Is it just me or do I have a problem - if so, where? <br />
<br />
Thanks, Ian]]></description>
            <dc:creator>bassman</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 06 Nov 2011 08:47:05 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,97070#msg-97070</guid>
            <title>Re: Teacup Firmware</title>
            <link>https://reprap.org/forum/read.php?147,71989,97070#msg-97070</link>
            <description><![CDATA[ I've been dealing with the same issue recently. I'm not sure which one to choose for the ATMEGA2560. Anybody have any input?]]></description>
            <dc:creator>mikey</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Thu, 08 Sep 2011 00:32:06 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,95273#msg-95273</guid>
            <title>Re: Teacup Firmware</title>
            <link>https://reprap.org/forum/read.php?147,71989,95273#msg-95273</link>
            <description><![CDATA[ it should be defined in your config as REFERENCE_AVCC.]]></description>
            <dc:creator>Triffid_Hunter</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Wed, 24 Aug 2011 11:01:23 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,95267#msg-95267</guid>
            <title>Teacup Firmware</title>
            <link>https://reprap.org/forum/read.php?147,71989,95267#msg-95267</link>
            <description><![CDATA[ I have been trying to verify the the firmware and I get 'REFERENCE' undeclared (first use in this function) this is located in the analog.h build of the firmware can you check to see how I can fix it.]]></description>
            <dc:creator>Kilo6</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Wed, 24 Aug 2011 10:14:40 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,88088#msg-88088</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,88088#msg-88088</link>
            <description><![CDATA[ karandex Wrote:<br />
-------------------------------------------------------<br />
&gt; /config.h:479:2: error: #error this config is<br />
&gt; marginally, and may be incorrect! please post in<br />
&gt; forum or via git any corrections<br />
<br />
So comment that line, and tell us which bits need changing : p]]></description>
            <dc:creator>Triffid_Hunter</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Thu, 23 Jun 2011 00:51:06 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,88017#msg-88017</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,88017#msg-88017</link>
            <description><![CDATA[ Triffid_Hunter Wrote:<br />
-------------------------------------------------------<br />
&gt; yes teacup runs on gen3 with acceleration.<br />
&gt; <br />
&gt; ReplicatorG has issues interpreting the returned<br />
&gt; serial data, so does reprap host and repsnapper.<br />
&gt; Kliment's pronterface seems to work nicely<br />
&gt; though.<br />
&gt; <br />
&gt; We don't have LCD support, but I do plan on adding<br />
&gt; it at some point. Now that I have a mega, I have<br />
&gt; enough I/O to hook one up and have a <br />
<br />
I have my system set up this way kinda, except I'm not using gen3 board but more of a ramps style modular set up. <br />
The drivers are polulo and I designed my own heater/thermister module as well as end stop module(still on my breadboard :-/)<br />
<br />
All this is connected to a mega 2560. <br />
I added an LCD via I2C. The LCD has a arduino tiny which does the display code and interrupts the signal from the I2c line. <br />
It basically just gives me a temp graph which is invaluable. <br />
<br />
I use skeinforge 41 open it it replicatorG and output to teacup firmware. I have an lcd wired into]]></description>
            <dc:creator>Architect</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Wed, 22 Jun 2011 08:21:11 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,88008#msg-88008</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,88008#msg-88008</link>
            <description><![CDATA[ i renamed config.h.dist to config.h and copied config.gen3 to config.h<br />
<br />
getting error<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
In file included from /analog.h:15,<br />
                 from analog.c:1:<br />
/config.h:479:2: error: #error this config is marginally, and may be incorrect! please post in forum or via git any corrections<br />
In file included from /temp.h:4,<br />
                 from analog.c:7:<br />
/config.h:479:2: error: #error this config is marginally, and may be incorrect! please post in forum or via git any corrections<br />
In file included from /temp.h:18,<br />
                 from analog.c:7:<br />
/config.h:479:2: error: #error this config is marginally, and may be incorrect! please post in forum or via git any corrections<br />
In file included from analog.c:22:<br />
/config.h:479:2: error: #error this config is marginally, and may be incorrect! please post in forum or via git any corrections]]></description>
            <dc:creator>karandex</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Wed, 22 Jun 2011 06:21:22 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,88006#msg-88006</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,88006#msg-88006</link>
            <description><![CDATA[ we don't have tool changing implemented yet, but the parser supports it. Teacup should accept T1 M6 but do nothing. What do you experience it doing?<br />
You could always tell your gcode generator to use tool 0...<br />
<br />
copying config.gen3.h is probably better, as you can then diff or revert vs your altered config.h. renaming or moving won't hur anything though.]]></description>
            <dc:creator>Triffid_Hunter</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Wed, 22 Jun 2011 06:17:11 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,88005#msg-88005</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,88005#msg-88005</link>
            <description><![CDATA[ what does this mean in instructions<br />
<br />
Copy config.h.dist or config.yourboardhere.h to the config.h file.<br />
<br />
should i rename the config.gen3 to config.h or should i copy (not replace) contents of config.gen3 to config.h]]></description>
            <dc:creator>karandex</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Wed, 22 Jun 2011 06:11:27 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,88004#msg-88004</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,88004#msg-88004</link>
            <description><![CDATA[ i dont have e axis , just xyz. so i remove that line it will compile and dont consider any m code ?<br />
<br />
in my gcode this line give me error<br />
T1M6<br />
its on start so i have to replce them by <br />
<br />
G21<br />
G90 <br />
<br />
every time, is there solution that it wont consider t1m6 ?]]></description>
            <dc:creator>karandex</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Wed, 22 Jun 2011 06:09:12 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,87998#msg-87998</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,87998#msg-87998</link>
            <description><![CDATA[ just don't put any DEFINE_TEMP_SENSOR or DEFINE_HEATER lines in your config and it'll leave out all the sensor/heater code.<br />
<br />
As for E axis, it's just another axis. if your gcode never says to move it, it may as well not exist as far as firmware is concerned.]]></description>
            <dc:creator>Triffid_Hunter</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Wed, 22 Jun 2011 05:42:19 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,87996#msg-87996</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,87996#msg-87996</link>
            <description><![CDATA[ the most ideal case will be, splinter firmware on gen3 or ramps with makerbots interfaceboard. that interface board is sweet. hey can any body make the teacup or splinter build for me with absolutely no extruder or heatbed code (but with acceleration). i need it for my cnc mill build, the problem is the gcode created by software like v carve or cambam have some code that gives error on replicaotorg. I tried teacup firmware using arduino ide on sanguino but it gives me bunch or errors. can somebody give me the edited build for it or instrucations. again there is noting extruder or heatbed on my cnc mill ::o]]></description>
            <dc:creator>karandex</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Wed, 22 Jun 2011 05:34:15 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,87993#msg-87993</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,87993#msg-87993</link>
            <description><![CDATA[ yes teacup runs on gen3 with acceleration.<br />
<br />
ReplicatorG has issues interpreting the returned serial data, so does reprap host and repsnapper. Kliment's pronterface seems to work nicely though.<br />
<br />
We don't have LCD support, but I do plan on adding it at some point. Now that I have a mega, I have enough I/O to hook one up and have a play.]]></description>
            <dc:creator>Triffid_Hunter</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Wed, 22 Jun 2011 05:20:13 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,87989#msg-87989</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,87989#msg-87989</link>
            <description><![CDATA[ have you guys managed to run teacup firmware on gen3 with acceleration and run it on replicaorg? Have you manged to add lcd and interfaceboard also ?]]></description>
            <dc:creator>karandex</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Wed, 22 Jun 2011 05:14:35 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,85224#msg-85224</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,85224#msg-85224</link>
            <description><![CDATA[ hariseldon78 Wrote:<br />
-------------------------------------------------------<br />
&gt; Just a question: i would like to add a lcd display<br />
&gt; to my electronics, and i was thinking to use the<br />
&gt; i2c port for this. Could it be possible to move<br />
&gt; the extruder motor communications in the intercom<br />
&gt; protocol? in that way we could free the 2 i2c pins<br />
&gt; and use them for other things..<br />
&gt; I could try to come out with an implementation..<br />
<br />
you can use any spare pins you like, just edit your config.h and adjust your electronics to suit.<br />
<br />
As far as LCDs go, if you're determined to run it from the main processor, I'd suggest adding a couple of new files (one for lcd library and the other for actual display format and data), and add a hook into clock.c. This might be a good time to make the functions in sersendf and sermsg a little more abstract, perhaps using avr-libc's FILE io system.]]></description>
            <dc:creator>Triffid_Hunter</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 29 May 2011 23:00:39 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,85216#msg-85216</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,85216#msg-85216</link>
            <description><![CDATA[ Triffid_Hunter Wrote:<br />
-------------------------------------------------------<br />
&gt; the gen3 motherboard actually uses the 644p's<br />
&gt; USART1 for rs422 whereas the ftdi connects to<br />
&gt; USART0. It has two different usarts. So of course<br />
&gt; hooking your debug rig to USART0 then trying to<br />
&gt; talk via USART1 isn't having any effect!<br />
<br />
Thanks Triffid for all the answers. I'm happy to say that i've been able to solve all my problems, and now motherboard and extruder communicate well. I was forced to use BANG_BANG because the extruder firmware froze in one of the eeprom calls, if you want i can try to debug better. Maybe is some problem in my extruder board..<br />
<br />
When i have a bit of time i want to clean all the debug code that i inserted and keep only the actual code changes, and produce a patch to send to you. You will then evaluate if you think it's correct to include that code. <br />
<br />
For now bye, and thanks again for the help in troubleshooting.<br />
<br />
Just a question: i would like to add a lcd display to my electronics, and i was thinking to use the i2c port for this. Could it be possible to move the extruder motor communications in the intercom protocol? in that way we could free the 2 i2c pins and use them for other things..<br />
I could try to come out with an implementation..]]></description>
            <dc:creator>hariseldon78</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 29 May 2011 20:08:37 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,85185#msg-85185</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,85185#msg-85185</link>
            <description><![CDATA[ sliptonic Wrote:<br />
-------------------------------------------------------<br />
&gt; Here's a little video of my mendel doing a print.<br />
&gt; [<a href="http://www.youtube.com/watch?v=G1p6sOlS9IE" target="_blank"  rel="nofollow">www.youtube.com</a>]<br />
&gt; The gcode was generated with skeinforge 40. <br />
&gt; Retraction speed is set at 50 and retraction<br />
&gt; distance at 2mm.  The firmware has<br />
&gt; E_STARTSTOP_STEPS set to 0.   The retraction seems<br />
&gt; very clunky with long pauses.  Setting retraction<br />
&gt; distance to 0 removes the stuttering but,<br />
&gt; obviously, causes the strings to reappear. <br />
&gt; <br />
&gt; What's 'best practice' for retraction in Teacup? <br />
&gt; Should I be using E_STARTSTOP_STEPS in conjunction<br />
&gt; with skeinforge retraction?<br />
<br />
<br />
Turn off retraction in skeinforge entirely and don't use ozzebane either. Next set your max Maximum_E_feedrate to the fastest speed you can run your extruder at. Then set your E_STARTSTOP_STEPS to say 50 for normal extruder 200 for a bowden. The firmware will reverse every time it goes from an extruding move to a non-extruding move and add it to the start of the next extruding move.<br />
<br />
I have heard that it does not work with acceleration disabled.<br />
<br />
Skeinforge retraction and firmware retraction conflict so do not try and use both.]]></description>
            <dc:creator>Sublime</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 29 May 2011 13:58:03 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,85177#msg-85177</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,85177#msg-85177</link>
            <description><![CDATA[ Here's a little video of my mendel doing a print. [<a href="http://www.youtube.com/watch?v=G1p6sOlS9IE" target="_blank"  rel="nofollow">www.youtube.com</a>]<br />
The gcode was generated with skeinforge 40.  Retraction speed is set at 50 and retraction distance at 2mm.  The firmware has E_STARTSTOP_STEPS set to 0.   The retraction seems very clunky with long pauses.  Setting retraction distance to 0 removes the stuttering but, obviously, causes the strings to reappear. <br />
<br />
What's 'best practice' for retraction in Teacup?  Should I be using E_STARTSTOP_STEPS in conjunction with skeinforge retraction?]]></description>
            <dc:creator>sliptonic</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 29 May 2011 10:45:26 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,84585#msg-84585</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,84585#msg-84585</link>
            <description><![CDATA[ the gen3 motherboard actually uses the 644p's USART1 for rs422 whereas the ftdi connects to USART0. It has two different usarts. So of course hooking your debug rig to USART0 then trying to talk via USART1 isn't having any effect!]]></description>
            <dc:creator>Triffid_Hunter</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 22 May 2011 23:16:53 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,84551#msg-84551</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,84551#msg-84551</link>
            <description><![CDATA[ Another little step forward:<br />
<br />
googling about the TXD high issue i found this command:<br />
<br />
        UCSR0B=0;<br />
<br />
This let the user change the values of RXD and TXD pins. In fact if i put it in the initialization of the extruder code I am able to communicate from one board to the other by listening using the RXD and TXD pins on the extruder, and <u>RXD1 and TXD1 pins on the motherboard</u>.<br />
<br />
But, if i insert that command in the init() of the extruder, and use the standard teacup code (not my debug modes) the boards are still not communicating. I suppose that the problem could be in the motherboard using incorrectly the RXD and TXD pins, instead of the RXD1 and TXD1 ones. <br />
Anyway, i am not being able to find the used pins because grepping RXD and TXD in the teacup code gives no result. Probably they are used with binary bitwise operators, which i still have problems to decipher. <br />
<br />
I'm sorry but now i cannot believe that anybody has got the intercom code working with <a href="http://reprap.org/mediawiki/images/d/da/Motherboard_1.2_schematic.png" target="_blank"  rel="nofollow">Motherboard 1.2</a> and <a href="http://reprap.org/mediawiki/images/8/8d/Extruder_Controller_2.2_schematic.png" target="_blank"  rel="nofollow">Extruder controller 2.2</a>. If there is someone around please speak up so we can fix my problems or the code problems.]]></description>
            <dc:creator>hariseldon78</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 22 May 2011 11:41:30 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,84548#msg-84548</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,84548#msg-84548</link>
            <description><![CDATA[ Triffid_Hunter Wrote:<br />
-------------------------------------------------------<br />
&gt; If you have to disconnect half of the differential<br />
&gt; serial bus for communication to work, there's<br />
&gt; something wrong with your electronics!<br />
<br />
I thought the same, but the more i debug, the more i think that it is a software problem. Now i'll explain why.<br />
<br />
&gt; That's some pretty invasive debug code you've<br />
&gt; generated there, kudos for keeping it simple.<br />
<br />
maybe when the debug code is good enough we could insert it into the default teacup distribution, i think other people could be in my same situation. (All the people who buy from grrf for example..)<br />
<br />
&gt; Might I suggest in your RX debug, you test whether<br />
&gt; the correct data was received, and flash<br />
&gt; differently or something so you can see if the<br />
&gt; data is being corrupted?<br />
<br />
ATM it is only a 1 / 0 debug, so corruption problems are more high level..<br />
<br />
&gt; Access to an oscilloscope or logic analyser would<br />
&gt; be ideal for sorting this out<br />
<br />
I don't have any of them, but i am doing all i can with a precise autoranging multimeter. I'm very happy to have spent those 60 €!<br />
<br />
Back to the troubleshooting: i think i am coming down to the source of the problem. In the <a href="http://reprap.org/mediawiki/images/8/8d/Extruder_Controller_2.2_schematic.png" target="_blank"  rel="nofollow">extruder board </a> i use this debug code:<br />
<br />
//initialization code<br />
        WRITE(TX_ENABLE_PIN,1);<br />
        WRITE(RX_ENABLE_PIN,1);<br />
        SET_OUTPUT(TX_ENABLE_PIN);<br />
        SET_OUTPUT(RX_ENABLE_PIN);<br />
        SET_OUTPUT(TXD);<br />
        for( ; ; ){<br />
                WRITE(TXD,1);<br />
                WRITE(DEBUG_LED, 1);<br />
                delay_ms(30000);<br />
                WRITE(TXD,0);<br />
                WRITE(DEBUG_LED, 0);<br />
                delay_ms(30000);<br />
        }<br />
<br />
i tried it with various initialization codes:<br />
1)     init();<br />
//all the usual teacup initializations,<br />
<br />
2)     intercom_init();<br />
        io_init();<br />
//a small subset, without interrupts enabling etc..<br />
<br />
3)     enable_transmit();<br />
<br />
4)     init();<br />
        enable_transmit();<br />
<br />
5)    //nothing<br />
<br />
From what i understand the RXD and TXD pins are the same pin used by the ftdi cable to upload the program into the 168. I am able to upload without any problem, so i deduce they are not dead pins. Please correct me where i'm wrong.<br />
So: <br />
-i upload the program<br />
-i disconnect the ftdi cable<br />
-i connect the RS485 cable but with the A and B cables disconnected (i sacrificed an ethernet cable by adding some leds and jumpers.. But i tested it extensively, so i know it is not source of problems.)<br />
-i use my multimeter with black lead on the GND coming from the RS485 and the red one on the TXD pin. I tested with the TXD pin on the ftdi connection, and the one on the sn75176b chip. <br />
<br />
Result: the TXD pin is ALWAYS HIGH. Always at 5.00 V perfect and never changing. So the WRITE(TXD,0) command don't have any effect. <br />
<br />
To summarize my foundings:<br />
a) the TXD and RXD pins are NOT DEAD<br />
b) the SET_OUTPUT(TXD);WRITE(TXD,0); commands have NO EFFECT<br />
<br />
Is there any explanation to this behaviour? Maybe the chip has some "serial mode" activated (to be able to flash the program) that prevent the manipulation of TXD and RXD pins by the user?]]></description>
            <dc:creator>hariseldon78</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 22 May 2011 09:20:32 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,84538#msg-84538</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,84538#msg-84538</link>
            <description><![CDATA[ ... i'm waiting until the old board is here again and the configuration works, then post the files and changes.<br />
<br />
Actually it's adopted for RAMPS and i have previously made some changes to test the communication, so it's a more chaotic configuration ...]]></description>
            <dc:creator>VDX</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 22 May 2011 04:07:35 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,71989,84530#msg-84530</guid>
            <title>Re: Teacup Firmware replicatorG &amp; Skeinforge</title>
            <link>https://reprap.org/forum/read.php?147,71989,84530#msg-84530</link>
            <description><![CDATA[ If you have to disconnect half of the differential serial bus for communication to work, there's something wrong with your electronics!<br />
<br />
That's some pretty invasive debug code you've generated there, kudos for keeping it simple. Might I suggest in your RX debug, you test whether the correct data was received, and flash differently or something so you can see if the data is being corrupted?<br />
<br />
Access to an oscilloscope or logic analyser would be ideal for sorting this out]]></description>
            <dc:creator>Triffid_Hunter</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sat, 21 May 2011 22:25:12 -0400</pubDate>
        </item>
    </channel>
</rss>
