<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Uploading firmware to motherboard</title>
        <description> Hi

I seriously need some help.

When uploading to motherboard I get the well known:

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51.

I have tried everything sugested - here and on the arduino forum. This means:
- The reset trick. Pushing reset before, after while uploading to board.
- Changing settings for the com port and in the board.txt file.
- Plugging/replugging USB on different time of the upload
- Actually made a new motherboard - same issue
- Tried 3 different UM232R modules
- Rewired the cables
- Reinstalled the drivers for UM232R
- Disabled antivirus and firewall in windows.
- Tried running on 3 different pc&#039;s (including 2 different Win7 virtual XPModes)
- Reburned the bootloader
- Propably more I forgot.

Here is what happens:
When attaching the USB to pc, the debug led on motherboard flashes rapidly for a few second, then stops.
If pushing reset the debug led flashes 3 times rapidly, 1 second wait and then another flash.
When uploading to board the debug led flashes 3 times rapidly, 1 second wait(means the rest is correctly sent to board) but then the led constantly lights up and 5-10 seconds later the message &quot;Not in sync&quot; appears.

I have attached a screendump from when I burned the bootloader.

I am using a laptop with Win7 Home Premium Edition, also tried on desktop pc with Win7 Ultimate Edition. Same story.

Any suggestion is much appreciated. Any other info needed just ask.

Best Regards
DARY</description>
        <link>https://reprap.org/forum/read.php?158,62582,62582#msg-62582</link>
        <lastBuildDate>Sat, 08 Aug 2026 17:37:10 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,63195#msg-63195</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,63195#msg-63195</link>
            <description><![CDATA[ It works again.<br />
By seetting the baudrate of COM port in windows settings to 57600 and in the board.txt for Sanguino to 38400.<br />
Don't ask me why. I neither have to touch the resetbutton at all.<br />
<br />
Over and out<br />
<br />
DARY]]></description>
            <dc:creator>DARY</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Sat, 09 Oct 2010 15:41:33 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,63183#msg-63183</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,63183#msg-63183</link>
            <description><![CDATA[ I've found the best way to update the firmware on the mobo is the following. Plug in the usb, then immediately plus upload firmware.]]></description>
            <dc:creator>ensgrp</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Sat, 09 Oct 2010 10:30:39 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,63133#msg-63133</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,63133#msg-63133</link>
            <description><![CDATA[ Okay. The problems are back. I can't upload to the board again. The only thing i have done is updating Java, which was necessary to run the RepRap software. The software perfectly communicate with the board - making one of the stepper motors spin. This means the board works, the wiring are okay and the USBtoRS232 is okay. So why I can't upload is the question.<br />
This is my currently configuration:<br />
<br />
Win 7 64 Home Premium<br />
Java Runtime 64bit JRE 6 update 21<br />
Arduino version tested 18 - 21<br />
<br />
I tried uninstalling Java 6 and installed  Java version 5 instead. No luck<br />
Anyone with a brilliant idea?<br />
<br />
<br />
DARY]]></description>
            <dc:creator>DARY</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Fri, 08 Oct 2010 13:55:19 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,62872#msg-62872</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,62872#msg-62872</link>
            <description><![CDATA[ Hi<br />
<br />
I managed to download the programB). That is the positive side, but the negative is I don't know how and why.<br />
I tried to make and use a RS232 cable connected directly to the pc's com port. That gave the exact same result with the constant light on debug led. Then I just wanted to give another shot with the USBtoRS232 adapter - checking the wires and so. First try downloading succeeded - even without touching the reset button. So for now I will give it a break and try again later. Maybe I can figure out what went wrong first. My guess is still so far something with the windows settings.<br />
<br />
Thanks for your replies. Never the less much appreciated.<br />
DARY]]></description>
            <dc:creator>DARY</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Wed, 06 Oct 2010 17:09:42 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,62752#msg-62752</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,62752#msg-62752</link>
            <description><![CDATA[ Thanks.<br />
<br />
I will try do this later today.<br />
Besides that I have an old laptop with serial com port. I will try this if nothing else works, to skip the USBtoRS232 module.<br />
<br />
DARY]]></description>
            <dc:creator>DARY</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Wed, 06 Oct 2010 06:43:15 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,62747#msg-62747</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,62747#msg-62747</link>
            <description><![CDATA[ ... it may be the difference between 19200 Baud with the old and 57600 with the newest firmware - check the BAUD-settings in the serial setup and in the firmware!<br />
<br />
AFAIK for uploading the extruder i had to press the reset button shortly after starting the download, not waiting when the size is printed ...]]></description>
            <dc:creator>VDX</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Wed, 06 Oct 2010 06:00:43 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,62746#msg-62746</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,62746#msg-62746</link>
            <description><![CDATA[ Hi Viktor<br />
<br />
But the reset trick might be used on the extruder board while downloading aswell?<br />
<br />
I have tried Arduino-18, -19 and -20. Same issue with all of the. Maybe I should try downloading the software again, to go back to original settings in the boardfile.<br />
<br />
DARY]]></description>
            <dc:creator>DARY</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Wed, 06 Oct 2010 05:56:05 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,62713#msg-62713</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,62713#msg-62713</link>
            <description><![CDATA[ Hi DARY,<br />
<br />
the debug-LED in the extruder won't blink while programming! ... and the motherboard-LED will display fast changing pulses while programming and then show the slow 'heartbeat' ...<br />
<br />
I didn't change anything with the serial port, but if i remember correct, my baudrate setting with Arduino0019 was 19200 BAUD and the new firmware is coded to 57600 BAUD - so you have to check, what's correct for your version ...]]></description>
            <dc:creator>VDX</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Tue, 05 Oct 2010 15:26:46 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,62683#msg-62683</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,62683#msg-62683</link>
            <description><![CDATA[ Thank you for the responses.<br />
<br />
Unfortunately nothing works. I flipped the TxD/RxD, with only result that the debug blinks in a different way. No constant light on.<br />
I cannot program the extruderboard either. Here the debug led doesn't blinks at all when uploading - only the 1 second on / 1second off which showing the bootloader is in the chip.<br />
My only conclusion for this. There is something wrong with the pc or windows.<br />
<br />
Anyone knows how important the settings for the serial com converter in device settings in windows are? Does they have to match up with the board.txt? If so, how about the Stop Bit, Parity Bit etc...<br />
<br />
DARY]]></description>
            <dc:creator>DARY</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Tue, 05 Oct 2010 14:05:39 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,62650#msg-62650</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,62650#msg-62650</link>
            <description><![CDATA[ Here is a diagram of how mine is wired. I keep the mb wired the same for flashing and for normal operation. For flashing the extruder, i flip the 6 pin cable over as the extruder ground is at the top while the mb ground is at the bottom.<br />
<br />
Here is a diagram of how i have everything wired.<a href="http://i.imgur.com/URYzc.png" target="_blank"  rel="nofollow">Wireing diagram</a>]]></description>
            <dc:creator>ensgrp</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Tue, 05 Oct 2010 09:44:12 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,62643#msg-62643</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,62643#msg-62643</link>
            <description><![CDATA[ DARY Wrote:<br />
-------------------------------------------------------<br />
&gt; Okay so all you use for the 4 wire is(on the<br />
&gt; motherboard): <br />
&gt; 2 = GND<br />
&gt; 3 = VCC<br />
&gt; 4 = RX<br />
&gt; 5 = TX<br />
&gt; ??<br />
<br />
... correct, i can leave pin1 and pin6 open while programming the motherboard ... but this won't work with the extruder ...<br />
<br />
For RxD/TxD you have to check, if you have to cross them or not - i have some controllers with MAX232, where i have to connect RxD from the Interface to TxD on the board, and TxD to RxD ...]]></description>
            <dc:creator>VDX</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Tue, 05 Oct 2010 07:56:41 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,62641#msg-62641</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,62641#msg-62641</link>
            <description><![CDATA[ Hi<br />
<br />
I have the 6-pin USBtoRS232 adapter from FTDI which was recommended in the Reprap Wiki.<br />
<br />
Okay so all you use for the 4 wire is(on the motherboard): <br />
2 = GND<br />
3 = VCC<br />
4 = RX<br />
5 = TX<br />
??<br />
<br />
BTW the pin 1 and 2 are physically connected on the PCB, so it doesn't matter which one to use for GND. Thats why I was curious about the #CTS connected to pin 2 in the diagram.<br />
<br />
No haven't try to reverse - but will certinately try to do that to see if that helps.<br />
<br />
Thanks.]]></description>
            <dc:creator>DARY</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Tue, 05 Oct 2010 07:51:07 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,62631#msg-62631</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,62631#msg-62631</link>
            <description><![CDATA[ ... i'm uploading firmware to the "motherboard 1.2" with a 4-pin-USBtoRS232-adapter, where GND is wired to the (grounded) pin 2.<br />
<br />
For the "extruder 2.2" i need the 6-pin-adapter or it won't work.<br />
<br />
Have you tried with reversing the TxD/RxD-pins?]]></description>
            <dc:creator>VDX</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Tue, 05 Oct 2010 04:21:34 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,62625#msg-62625</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,62625#msg-62625</link>
            <description><![CDATA[ Hi<br />
<br />
Thanks for the response. Well, actually didn't try uploading to the extruder yet - but as mentioned tried 2 different motherboards.<br />
I am curious about the debug led. When you had the problem uploading - did yours aswell blink and then light up constantly?<br />
<br />
Also a little curious about the wires connection 2(#CTS). On the Motherboard it is connected to ground - is that right or at least needed?]]></description>
            <dc:creator>DARY</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Tue, 05 Oct 2010 02:15:46 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,62619#msg-62619</guid>
            <title>Re: Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,62619#msg-62619</link>
            <description><![CDATA[ I'm running windows 7 preimium as well. I had the same problem and it was due to one of the pins on the cable between the UM232R and the mb being loose. Note: I sitll need to holder rest, release it , then click upload immediately for it to work.  Do you have issues uploading to the extruder controller as well?]]></description>
            <dc:creator>ensgrp</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Mon, 04 Oct 2010 22:16:38 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?158,62582,62582#msg-62582</guid>
            <title>Uploading firmware to motherboard</title>
            <link>https://reprap.org/forum/read.php?158,62582,62582#msg-62582</link>
            <description><![CDATA[ Hi<br />
<br />
I seriously need some help.<br />
<br />
When uploading to motherboard I get the well known:<br />
<br />
avrdude: stk500_getsync(): not in sync: resp=0x00<br />
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51.<br />
<br />
I have tried everything sugested - here and on the arduino forum. This means:<br />
- The reset trick. Pushing reset before, after while uploading to board.<br />
- Changing settings for the com port and in the board.txt file.<br />
- Plugging/replugging USB on different time of the upload<br />
- Actually made a new motherboard - same issue<br />
- Tried 3 different UM232R modules<br />
- Rewired the cables<br />
- Reinstalled the drivers for UM232R<br />
- Disabled antivirus and firewall in windows.<br />
- Tried running on 3 different pc's (including 2 different Win7 virtual XPModes)<br />
- Reburned the bootloader<br />
- Propably more I forgot.<br />
<br />
Here is what happens:<br />
When attaching the USB to pc, the debug led on motherboard flashes rapidly for a few second, then stops.<br />
If pushing reset the debug led flashes 3 times rapidly, 1 second wait and then another flash.<br />
When uploading to board the debug led flashes 3 times rapidly, 1 second wait(means the rest is correctly sent to board) but then the led constantly lights up and 5-10 seconds later the message "Not in sync" appears.<br />
<br />
I have attached a screendump from when I burned the bootloader.<br />
<br />
I am using a laptop with Win7 Home Premium Edition, also tried on desktop pc with Win7 Ultimate Edition. Same story.<br />
<br />
Any suggestion is much appreciated. Any other info needed just ask.<br />
<br />
Best Regards<br />
DARY]]></description>
            <dc:creator>DARY</dc:creator>
            <category>Sanguino(lolu)</category>
            <pubDate>Mon, 04 Oct 2010 15:17:34 -0400</pubDate>
        </item>
    </channel>
</rss>
