<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi all<br><br>I have the same firmware problem with an arduino 2560 mega and have tried following the directions.<br><br>I compiled the program and tried uploading, which produced the following error:<br>"avrdude.exe: stk500_getsync(): not in sync: resp=0xe0<br><br>avrdude.exe done. Thank you."<br><br>An ihex file named Test.ihex was produced.<br><br>Installed python 2.7.3, downloaded the ihexmerge.py file, and did the following:<br>With the path set (set path=%path%;C:\python27).<br>(Instructions from earlier e-mail)<br><br>First copied the ihexmerge.py script and the Test.ihex file to the root transterpreter folder.<br><br>Ran:<br>cd documents\Transterpreter<br><br>Followed by:<br>python ihexmerge.py arduino/tvm/firmware/tvm-avr-atmega1280-16000000-arduinomega.hex Test.ihex > combined.ihex<br><br>This produced the combined.ihex file.<br><br>Then i ran this: (with the arduino mega 2560 on COM port 3)<br>"bin/avrdude.exe" -C bin/avrdude.conf -V -F -p atmega2560 -P COM3 -b 115200 -c stk500v2 -D -U flash:w:combined.ihex<br><br>Which just gives a whole lot of the following error message:<br>"avrdude.exe: stk500_2_ReceiveMessage(): timeout".<br>After 34 of those i also got this error message:<br>"avrdude.exe: stk500v2_getsync(): timeout communicating with programmer".<br><br>I'm not really an experienced user when it comes to this. Can anyone please help me? I would love to get this to work :-)<br><br><br>~Andreas<br><br><br>PS: On the concurrency.cc website (http://concurrency.cc/book/), the link to the Plumbing for the Arduino just leads to github, which gives this error:<br>"404<br>There isn't a GitHub Page hosted here, sorry.<br>Are you trying to publish one?<br><br>We'll send you an email when your page has been built. It may take up to ten minutes until your page is available.<br><br>Read the Full Documentation to learn how to set up username.github.com"<br><br>Has the Plumbing for the Arduino disappeared, or has it been hidden somewhere? :-)<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Wed, 6 Jun 2012 17:07:04 +0100<br>From: gilmorenator@gmail.com<br>To: rachsmith@utexas.edu<br>CC: users@concurrency.cc<br>Subject: Re: [C.CC USERS] Firmware issues<br><br>Rachel,<div><br></div><div>Sorry I should have provided instructions,</div><div><br></div><div>I believe these are the steps you need to take:</div><div><br></div><div><pre><font face="arial, helvetica, sans-serif">1)
compile the program in the IDE
2)
use the run/upload button to attempt to upload the code
this step generates the <span class="ecxil" style="background-color:rgb(255,255,204)">ihex</span> file, and it does not matter if
upload actually failes. The important things is to get the <span class="ecxil" style="background-color:rgb(255,255,204)">ihex</span> file
3)
Use the script ihemerge.py script to generate a new <span class="ecxil" style="background-color:rgb(255,255,204)">ihex</span> file that
combines the firmware for the mega1280 (which is compatible with the
2560) and the <span class="ecxil" style="background-color:rgb(255,255,204)">ihex</span> file generated by step2
python <span class="ecxil" style="background-color:rgb(255,255,204)">ihexmerge</span>.py
arduino/tvm/firmware/tvm-avr-atmega1280-16000000-arduinomega.hex
yourfile.<span class="ecxil" style="background-color:rgb(255,255,204)">ihex</span> > combined.<span class="ecxil" style="background-color:rgb(255,255,204)">ihex</span>
4)
use avrdude to upload the file, something like this:
bin/avrdude.exe -C bin/avrdude.conf -V -F -p atmega2560 -P COM4 -b
115200 -c stk500v2 -D -U flash:w:combined.<span class="ecxil" style="background-color:rgb(255,255,204)">ihex</span></font></pre><div><br></div><div>You'll need to have Python installed for the script to work,</div><div>
<br></div><div>Anything else just shout!</div><div><br></div><div>Dave.</div><br><div class="ecxgmail_quote">On 6 June 2012 16:51, David Gilmore <span dir="ltr"><<a href="mailto:gilmorenator@gmail.com">gilmorenator@gmail.com</a>></span> wrote:<br>
<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">Rachel,<div><br></div><div>If its the 2560 that you have then you will need to run this magic script:</div><div><br></div>
<div><a href="http://projects.cs.kent.ac.uk/projects/kroc/trac/browser/kroc/trunk/tvm/arduino/scripts/ihexmerge.py" target="_blank">http://projects.cs.kent.ac.uk/projects/kroc/trac/browser/kroc/trunk/tvm/<span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">arduino</span>/scripts/ihexmerge.py</a> </div>
<div><br></div><div>I believe this is a common problem with the Arduino Mega,</div><div><br></div><div>HTH</div><div><br></div><div>Dave.<br><br><div class="ecxgmail_quote"><div><div class="h5">On 6 June 2012 16:44, Rachel E Smith <span dir="ltr"><<a href="mailto:rachsmith@utexas.edu">rachsmith@utexas.edu</a>></span> wrote:<br>
</div></div><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hello all,<br><br>I am having trouble uploading the plumbing firmware to my Arduino Mega. It is giving me this error:<br>
<br clear="all">avrdude.exe: stk500_getsync(): not in sync: resp=0xd8<br><br>Any ideas? <br><br>Thanks. <br>
<br></div></div>_______________________________________________<br>
users mailing list<br>
users@concurrency.cc<br>
<a href="http://lists.concurrency.cc/mailman/listinfo/users" target="_blank">http://lists.concurrency.cc/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
<br>_______________________________________________
users mailing list
users@concurrency.cc
http://lists.concurrency.cc/mailman/listinfo/users</div>                                            </div></body>
</html>