<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'>
Dave,<br><br>Yes, that works like normal.<br><br>~Andreas<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Wed, 6 Jun 2012 20:07:50 +0100<br>Subject: RE: [C.CC USERS] Firmware issues<br>From: gilmorenator@gmail.com<br>To: andreas-r@hotmail.com<br>CC: users@concurrency.cc<br><br>Andreas,<BR>
Are you able to upload code from the Arduino application?<BR>
Cheers,<BR>
Dave.<BR>
<div class="ecxgmail_quote">On Jun 6, 2012 7:54 PM, "Andreas Rasmussen" &lt;<a href="mailto:andreas-r@hotmail.com">andreas-r@hotmail.com</a>&gt; wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">
Dave,<br><br>I'm running Windows 7 (64-bit).<br><br>No triple exclamation marks. Currently trying to upload just this simple bit of code:<br><br>#INCLUDE "plumbing.module"<br><br>PROC main()<br>&nbsp; heartbeat ()<br>
:<br><br>~Andreas<br><br><div><div></div><hr>CC: users@concurrency.cc<br>From: <a href="mailto:gilmorenator@gmail.com">gilmorenator@gmail.com</a><br>Subject: Re: [C.CC USERS] Firmware issues<br>Date: Wed, 6 Jun 2012 19:36:49 +0100<br>
To: <a href="mailto:andreas-r@hotmail.com">andreas-r@hotmail.com</a><br><br><div>Andreas,</div><div><br></div><div>What OS are you running?</div><div><br></div><div>You don't happen to have 3 exclamation (!!!) marks in your code anywhere?</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Dave.&nbsp;<br></div><div><br>On 6 Jun 2012, at 18:27, Andreas Rasmussen &lt;<a href="mailto:andreas-r@hotmail.com">andreas-r@hotmail.com</a>&gt; wrote:<br><br>
</div><div></div><blockquote><div>


<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.&nbsp; 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 &gt; 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 (<a href="http://concurrency.cc/book/" target="_blank">http://concurrency.cc/book/</a>), 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 <a href="http://username.github.com" target="_blank">username.github.com</a>"<br><br>Has the Plumbing for the Arduino disappeared, or has it been hidden somewhere? :-)<br>
<br><div><div></div><hr>Date: Wed, 6 Jun 2012 17:07:04 +0100<br>From: <a href="mailto:gilmorenator@gmail.com">gilmorenator@gmail.com</a><br>To: <a href="mailto:rachsmith@utexas.edu">rachsmith@utexas.edu</a><br>
CC: <a href="mailto:users@concurrency.cc">users@concurrency.cc</a><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 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 style="background-color:rgb(255,255,204)">ihex</span> file


3)
Use the script ihemerge.py script to generate a new <span 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 style="background-color:rgb(255,255,204)">ihex</span> file generated by step2

python <span style="background-color:rgb(255,255,204)">ihexmerge</span>.py
arduino/tvm/firmware/tvm-avr-atmega1280-16000000-arduinomega.hex
yourfile.<span style="background-color:rgb(255,255,204)">ihex</span> &gt; combined.<span 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 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>On 6 June 2012 16:51, David Gilmore <span dir="ltr">&lt;<a href="mailto:gilmorenator@gmail.com">gilmorenator@gmail.com</a>&gt;</span> wrote:<br>

<blockquote 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>&nbsp;</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><div><div>On 6 June 2012 16:44, Rachel E Smith <span dir="ltr">&lt;<a href="mailto:rachsmith@utexas.edu">rachsmith@utexas.edu</a>&gt;</span> wrote:<br>


</div></div><blockquote style="border-left:1px #ccc solid;padding-left:1ex"><div><div>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>
<a href="mailto:users@concurrency.cc">users@concurrency.cc</a><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
<a href="mailto:users@concurrency.cc">users@concurrency.cc</a>
<a href="http://lists.concurrency.cc/mailman/listinfo/users" target="_blank">http://lists.concurrency.cc/mailman/listinfo/users</a></div>                                               </div>
</div></blockquote><blockquote><div><span>_______________________________________________</span><br><span>users mailing list</span><br><span><a href="mailto:users@concurrency.cc">users@concurrency.cc</a></span><br>
<span><a href="http://lists.concurrency.cc/mailman/listinfo/users" target="_blank">http://lists.concurrency.cc/mailman/listinfo/users</a></span><br></div></blockquote></div>                                               </div></div>
</blockquote></div></div>                                               </div></body>
</html>