<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Can&amp;#039;t upload the Firmware when MAX_HARDWARE_ENDSTOP_Z is changed to true</title>
        <description> Hello, 

I am trying to upload the repetier-host firmware on ATMega2560 + Ramps 1.4 for my Delta Printer
But it wont. It will always stop uploading at 39% with Arduino IDE 1.5.2
Arduino IDE 1.0.6 results the same problem.

This happens when I change 
Quoteconfiguration.h - 0.91 Rev 8
#define MAX_HARDWARE_ENDSTOP_Z false
to true

See here at the last line:
Quoteconfiguration.h - 0.91 Rev 8
#define ENDSTOP_PULLUP_X_MIN true
#define ENDSTOP_PULLUP_Y_MIN true
#define ENDSTOP_PULLUP_Z_MIN true

#define ENDSTOP_PULLUP_X_MAX true
#define ENDSTOP_PULLUP_Y_MAX true
#define ENDSTOP_PULLUP_Z_MAX true

#define ENDSTOP_X_MIN_INVERTING false
#define ENDSTOP_Y_MIN_INVERTING false
#define ENDSTOP_Z_MIN_INVERTING false

#define MIN_HARDWARE_ENDSTOP_X false
#define MIN_HARDWARE_ENDSTOP_Y false
#define MIN_HARDWARE_ENDSTOP_Z false

#define ENDSTOP_X_MAX_INVERTING false
#define ENDSTOP_Y_MAX_INVERTING false
#define ENDSTOP_Z_MAX_INVERTING false

#define MAX_HARDWARE_ENDSTOP_X true
#define MAX_HARDWARE_ENDSTOP_Y true
#define MAX_HARDWARE_ENDSTOP_Z true // &amp;lt;-- problem!!</description>
        <link>https://reprap.org/forum/read.php?178,423313,423313#msg-423313</link>
        <lastBuildDate>Wed, 15 Jul 2026 13:02:04 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?178,423313,425131#msg-425131</guid>
            <title>Re: Can&#039;t upload the Firmware when MAX_HARDWARE_ENDSTOP_Z is changed to true</title>
            <link>https://reprap.org/forum/read.php?178,423313,425131#msg-425131</link>
            <description><![CDATA[ On Notebook there were same problem. <br />
<br />
But I've changed the Z_HOME_DIR 1 to -1 and now it works!<br />
I don't know why it was 1, it was generated by firmware configuration tool. The Printer Type was always selected to Delta Printer]]></description>
            <dc:creator>forgoden</dc:creator>
            <category>Delta Machines</category>
            <pubDate>Mon, 27 Oct 2014 19:10:33 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?178,423313,424767#msg-424767</guid>
            <title>Re: Can&#039;t upload the Firmware when MAX_HARDWARE_ENDSTOP_Z is changed to true</title>
            <link>https://reprap.org/forum/read.php?178,423313,424767#msg-424767</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>3D-ES</strong><br />
That is a strange problem...<br />
<br />
If I understand correct, you can compile the firmware without errors with both true and false,<br />
but when you try to upload the binary it always fails with true and always succeeds with false?!<br />
<br />
As far as I know, there is no connection between that setting and the upload mechanism...<br />
The upload process is not interested in the meaning of the file, it only transfers 1's and 0's.<br />
<br />
I *think* that you can even upload a binary that only contains zeroes, without errors.<br />
But I have been wrong lots of times before, I would love to be corrected on this problem :D<br />
<br />
Do you have a second USB cable that you can try?<br />
Do you have a second PC / laptop that you can try it on?</div></blockquote>
<br />
Thank you for reply. Yes, you understood correctly. Its very strange for me too. There is no compiler errors. When I upload with the "false", the led on Arduino Mega Board is blinking fast for long time (around 20 seconds) and it succeeds . When I change the MAX_HARDWARE_ENDSTOP_Z to "true", then its blinking fast about 2 seconds and then it stops. When I restart arduino, the display shows nothing. <br />
I've testet it on other Arduino Mega 2560 (and also without ramps 1.4)-&gt; same problem<br />
<br />
Okay, your idea is good. I'll try on other computers and other arduino mega 2560 boards and inform here.]]></description>
            <dc:creator>forgoden</dc:creator>
            <category>Delta Machines</category>
            <pubDate>Mon, 27 Oct 2014 03:51:06 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?178,423313,423703#msg-423703</guid>
            <title>Re: Can&#039;t upload the Firmware when MAX_HARDWARE_ENDSTOP_Z is changed to true</title>
            <link>https://reprap.org/forum/read.php?178,423313,423703#msg-423703</link>
            <description><![CDATA[ That is a strange problem...<br />
<br />
If I understand correct, you can compile the firmware without errors with both true and false,<br />
but when you try to upload the binary it always fails with true and always succeeds with false?!<br />
<br />
As far as I know, there is no connection between that setting and the upload mechanism...<br />
The upload process is not interested in the meaning of the file, it only transfers 1's and 0's.<br />
<br />
I *think* that you can even upload a binary that only contains zeroes, without errors.<br />
But I have been wrong lots of times before, I would love to be corrected on this problem :D<br />
<br />
Do you have a second USB cable that you can try?<br />
Do you have a second PC / laptop that you can try it on?]]></description>
            <dc:creator>3D-ES</dc:creator>
            <category>Delta Machines</category>
            <pubDate>Thu, 23 Oct 2014 17:49:32 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?178,423313,423651#msg-423651</guid>
            <title>Re: Can&#039;t upload the Firmware when MAX_HARDWARE_ENDSTOP_Z is changed to true</title>
            <link>https://reprap.org/forum/read.php?178,423313,423651#msg-423651</link>
            <description><![CDATA[ it still doesnt work, this wouldnt recognize as c++ syntax??]]></description>
            <dc:creator>forgoden</dc:creator>
            <category>Delta Machines</category>
            <pubDate>Thu, 23 Oct 2014 16:35:53 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?178,423313,423560#msg-423560</guid>
            <title>Re: Can&#039;t upload the Firmware when MAX_HARDWARE_ENDSTOP_Z is changed to true</title>
            <link>https://reprap.org/forum/read.php?178,423313,423560#msg-423560</link>
            <description><![CDATA[ You should remove the comment if you want that enabled if I am not mistaken. <br />
<br />
So the code would look like<br />
define MAX_HARDWARE_ENDSTOP_Z true (NO # sign in front of it)]]></description>
            <dc:creator>jaguarking11</dc:creator>
            <category>Delta Machines</category>
            <pubDate>Thu, 23 Oct 2014 13:36:33 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?178,423313,423313#msg-423313</guid>
            <title>Can&#039;t upload the Firmware when MAX_HARDWARE_ENDSTOP_Z is changed to true</title>
            <link>https://reprap.org/forum/read.php?178,423313,423313#msg-423313</link>
            <description><![CDATA[ Hello, <br />
<br />
I am trying to upload the repetier-host firmware on ATMega2560 + Ramps 1.4 for my Delta Printer<br />
But it wont. It will always stop uploading at 39% with Arduino IDE 1.5.2<br />
Arduino IDE 1.0.6 results the same problem.<br />
<br />
This happens when I change <br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>configuration.h - 0.91 Rev 8</strong><br />
#define MAX_HARDWARE_ENDSTOP_Z false</div></blockquote>
to true<br />
<br />
See here at the last line:<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>configuration.h - 0.91 Rev 8</strong><br />
#define ENDSTOP_PULLUP_X_MIN true<br />
#define ENDSTOP_PULLUP_Y_MIN true<br />
#define ENDSTOP_PULLUP_Z_MIN true<br />
<br />
#define ENDSTOP_PULLUP_X_MAX true<br />
#define ENDSTOP_PULLUP_Y_MAX true<br />
#define ENDSTOP_PULLUP_Z_MAX true<br />
<br />
#define ENDSTOP_X_MIN_INVERTING false<br />
#define ENDSTOP_Y_MIN_INVERTING false<br />
#define ENDSTOP_Z_MIN_INVERTING false<br />
<br />
#define MIN_HARDWARE_ENDSTOP_X false<br />
#define MIN_HARDWARE_ENDSTOP_Y false<br />
#define MIN_HARDWARE_ENDSTOP_Z false<br />
<br />
#define ENDSTOP_X_MAX_INVERTING false<br />
#define ENDSTOP_Y_MAX_INVERTING false<br />
#define ENDSTOP_Z_MAX_INVERTING false<br />
<br />
#define MAX_HARDWARE_ENDSTOP_X true<br />
#define MAX_HARDWARE_ENDSTOP_Y true<br />
#define MAX_HARDWARE_ENDSTOP_Z true // &lt;-- problem!!</div></blockquote>]]></description>
            <dc:creator>forgoden</dc:creator>
            <category>Delta Machines</category>
            <pubDate>Thu, 23 Oct 2014 02:35:04 -0400</pubDate>
        </item>
    </channel>
</rss>
