<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Error trying to upload Marlin</title>
        <description> I have a gen6.d board, and I am trying to upload a newer version of Marlin to it, but I am receiving the following error:
&quot;avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x0e
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x3a
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x48
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x54
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x4a
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x40
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xc2
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x2c
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x68
Problem uploading to board.&quot;

The board is working fine for printing, the update aims to enable auto bed leveling. 
The Sanguino was installed by Boards Manager.
I have no compilation problem, and Serial Monitor Echo is able to pickup data from the board as follow:
&quot;start
echo:Free Memory:799 PlannerBufferBytes:1168
echo:Using Default settings:
echo:Steps per unit:
echo:  M92 X40.00 Y40.00 Z2078.72 E514.00
echo:Maximum feedrates (mm/s):
echo:  M203 X250.00 Y250.00 Z3.00 E25.00
echo:Maximum Acceleration (mm/s2):
echo:  M201 X4500 Y4500 Z40 E5000
echo:Acceleration: S=acceleration, T=retract acceleration
echo:  M204 S1500.00 T1500.00
echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum xY jerk (mm/s),  Z=maximum Z jerk (mm/s)
echo:  M205 S0.00 T0.00 B20000 X10.00 Z0.20
echo:PID settings:
echo:   M301 P22.20 I1.25 D99.00
echo:SD init fail
workDir open failed&quot;


About my specs:
MacOS Sierra 10.12.1;
Gen6.d board;
IDE Arduino 1.6.12 with Board: &quot;Sanguino&quot;, Processor: ATmega644P or ATmega644PA (16 MHz), Port: &quot;dev/cu.usbserial-A101OV2J&quot;;
Sanguino 1.0.1;
USB Driver: FT232R USB UART;

Tks in adv.</description>
        <link>https://reprap.org/forum/read.php?1,717575,717575#msg-717575</link>
        <lastBuildDate>Mon, 13 Apr 2026 01:01:28 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?1,717575,728321#msg-728321</guid>
            <title>Re: Error trying to upload Marlin</title>
            <link>https://reprap.org/forum/read.php?1,717575,728321#msg-728321</link>
            <description><![CDATA[ The issue is back...<br />
<br />
I received communication error message when uploading a Marlin Sketch, however, it was still able to complete the transfer. <br />
After this, I am not able to communicate with the printer,  tried Pronterface, Octoprint and Arduino IDE. It sees the port "dev/cu.usbserial-A101OV2J", but is not able connect, retrieving the following message:<br />
"<br />
avrdude: stk500_recv(): programmer is not responding<br />
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00<br />
avrdude: stk500_recv(): programmer is not responding<br />
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00<br />
avrdude: stk500_recv(): programmer is not responding<br />
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00<br />
avrdude: stk500_recv(): programmer is not responding<br />
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00<br />
avrdude: stk500_recv(): programmer is not responding<br />
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00<br />
avrdude: stk500_recv(): programmer is not responding<br />
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00<br />
avrdude: stk500_recv(): programmer is not responding<br />
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00<br />
avrdude: stk500_recv(): programmer is not responding<br />
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00<br />
avrdude: stk500_recv(): programmer is not responding<br />
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00<br />
avrdude: stk500_recv(): programmer is not responding<br />
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00<br />
Problem uploading to board.  See [<a href="http://www.arduino.cc/en/Guide/Troubleshooting#upload" target="_blank"  rel="nofollow">www.arduino.cc</a>] for suggestions.<br />
"]]></description>
            <dc:creator>niksoley</dc:creator>
            <category>General</category>
            <pubDate>Mon, 05 Dec 2016 08:04:01 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,717575,721801#msg-721801</guid>
            <title>Re: Error trying to upload Marlin</title>
            <link>https://reprap.org/forum/read.php?1,717575,721801#msg-721801</link>
            <description><![CDATA[ Its dependent on what boot loader they installed<br />
<br />
Happy you have it working.]]></description>
            <dc:creator>Dust</dc:creator>
            <category>General</category>
            <pubDate>Wed, 09 Nov 2016 15:36:06 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,717575,721725#msg-721725</guid>
            <title>Re: Error trying to upload Marlin</title>
            <link>https://reprap.org/forum/read.php?1,717575,721725#msg-721725</link>
            <description><![CDATA[ Hi Dust, it worked!!<br />
However the solution was to change only the atmega644p.upload.speed=115200 to 38400, and let protocol=arduino.]]></description>
            <dc:creator>niksoley</dc:creator>
            <category>General</category>
            <pubDate>Wed, 09 Nov 2016 11:20:32 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,717575,721532#msg-721532</guid>
            <title>Re: Error trying to upload Marlin</title>
            <link>https://reprap.org/forum/read.php?1,717575,721532#msg-721532</link>
            <description><![CDATA[ The Boards Manager like to install stuff in a not obvious directory <br />
<br />
On Mac OS X:<br />
/Users/(username)/Library/Arduino15<br />
<br />
On Windows:<br />
Arduino IDE 1.6.5r5 and previous:<br />
C:\Users\(username)\AppData\Roaming\Arduino15<br />
Arduino IDE 1.6.6 and later:<br />
C:\Users\(username)\AppData\Local\Arduino15<br />
<br />
On Linux:<br />
/home/(username)/.arduino15    (a.k.a. ~/.arduino15)]]></description>
            <dc:creator>Dust</dc:creator>
            <category>General</category>
            <pubDate>Tue, 08 Nov 2016 16:09:38 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,717575,721490#msg-721490</guid>
            <title>Re: Error trying to upload Marlin</title>
            <link>https://reprap.org/forum/read.php?1,717575,721490#msg-721490</link>
            <description><![CDATA[ Hi all, few updates:<br />
<br />
Tried the trick of pressing reset button without success. :(<br />
<br />
I will try edit the board.txt before burning the bootloader.<br />
So, just looked for 644p in my board.txt file,  and I was not able to find it. However, as attachment, the option is in the menu, am I doing something wrong?<br />
<br />
Follow a copy of my board.txt [<a href="http://pastebin.com/WVkxj1PF" target="_blank"  rel="nofollow">pastebin.com</a>]<br />
It is located at Contents/Java/hardware/arduino/avr]]></description>
            <dc:creator>niksoley</dc:creator>
            <category>General</category>
            <pubDate>Tue, 08 Nov 2016 13:44:59 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,717575,717825#msg-717825</guid>
            <title>Re: Error trying to upload Marlin</title>
            <link>https://reprap.org/forum/read.php?1,717575,717825#msg-717825</link>
            <description><![CDATA[ Ah, I had the same issue with this board, I tried to old trick of pressing and holding the reset button until the arduino IDE said it was uploading then I let go. This worked after a couple tries. Another thing I tried was going to an older version of arduino, very old. I think it was build 22 this worked as well?]]></description>
            <dc:creator>fazz33</dc:creator>
            <category>General</category>
            <pubDate>Thu, 27 Oct 2016 23:31:15 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,717575,717819#msg-717819</guid>
            <title>Re: Error trying to upload Marlin</title>
            <link>https://reprap.org/forum/read.php?1,717575,717819#msg-717819</link>
            <description><![CDATA[ This basically is saying can't communicate with boot loader.<br />
<br />
could be a few things<br />
<br />
1) your board doesn't have a boot loader installed, it is possible to upload firmware without a boot loader and some suppliers use this method, making uploading new firmware impossible without a hardware device known as a avrisp   <br />
<br />
2) your tiring to upload with the wrong upload setting, baud rate and protocol. This is not the marlin baud rate, its is the baud rate of the boot loader.<br />
reading the setting that where popular at the time when gen 6 was also popular <br />
<br />
atmega644p.upload.protocol=stk500<br />
atmega644p.upload.speed=38400<br />
<br />
the boards.txt file that comes threw board manager uses<br />
<br />
atmega644p.name=Sanguino W/ ATmega644P or ATmega644PA (16 MHz)<br />
atmega644p.upload.protocol=arduino<br />
atmega644p.upload.speed=115200<br />
<br />
so find the boards.txt that has these settings and change the baud rate and protocol to the older setting.<br />
restart the ardunio ide and try again]]></description>
            <dc:creator>Dust</dc:creator>
            <category>General</category>
            <pubDate>Thu, 27 Oct 2016 20:29:48 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,717575,717799#msg-717799</guid>
            <title>Re: Error trying to upload Marlin</title>
            <link>https://reprap.org/forum/read.php?1,717575,717799#msg-717799</link>
            <description><![CDATA[ Didn't work, but tks for the idea.]]></description>
            <dc:creator>niksoley</dc:creator>
            <category>General</category>
            <pubDate>Thu, 27 Oct 2016 17:34:59 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,717575,717796#msg-717796</guid>
            <title>Re: Error trying to upload Marlin</title>
            <link>https://reprap.org/forum/read.php?1,717575,717796#msg-717796</link>
            <description><![CDATA[ Try a shorter USB cable.]]></description>
            <dc:creator>makerparts</dc:creator>
            <category>General</category>
            <pubDate>Thu, 27 Oct 2016 17:13:51 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,717575,717575#msg-717575</guid>
            <title>Error trying to upload Marlin</title>
            <link>https://reprap.org/forum/read.php?1,717575,717575#msg-717575</link>
            <description><![CDATA[ I have a gen6.d board, and I am trying to upload a newer version of Marlin to it, but I am receiving the following error:<br />
"avrdude: stk500_recv(): programmer is not responding<br />
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00<br />
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x0e<br />
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x3a<br />
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x48<br />
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x54<br />
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x4a<br />
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x40<br />
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xc2<br />
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x2c<br />
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x68<br />
Problem uploading to board."<br />
<br />
The board is working fine for printing, the update aims to enable auto bed leveling. <br />
The Sanguino was installed by Boards Manager.<br />
I have no compilation problem, and Serial Monitor Echo is able to pickup data from the board as follow:<br />
"start<br />
echo:Free Memory:799 PlannerBufferBytes:1168<br />
echo:Using Default settings:<br />
echo:Steps per unit:<br />
echo:  M92 X40.00 Y40.00 Z2078.72 E514.00<br />
echo:Maximum feedrates (mm/s):<br />
echo:  M203 X250.00 Y250.00 Z3.00 E25.00<br />
echo:Maximum Acceleration (mm/s2):<br />
echo:  M201 X4500 Y4500 Z40 E5000<br />
echo:Acceleration: S=acceleration, T=retract acceleration<br />
echo:  M204 S1500.00 T1500.00<br />
echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum xY jerk (mm/s),  Z=maximum Z jerk (mm/s)<br />
echo:  M205 S0.00 T0.00 B20000 X10.00 Z0.20<br />
echo:PID settings:<br />
echo:   M301 P22.20 I1.25 D99.00<br />
echo:SD init fail<br />
workDir open failed"<br />
<br />
<br />
About my specs:<br />
MacOS Sierra 10.12.1;<br />
Gen6.d board;<br />
IDE Arduino 1.6.12 with Board: "Sanguino", Processor: ATmega644P or ATmega644PA (16 MHz), Port: "dev/cu.usbserial-A101OV2J";<br />
Sanguino 1.0.1;<br />
USB Driver: FT232R USB UART;<br />
<br />
Tks in adv.]]></description>
            <dc:creator>niksoley</dc:creator>
            <category>General</category>
            <pubDate>Wed, 26 Oct 2016 18:55:51 -0400</pubDate>
        </item>
    </channel>
</rss>
