<div dir="ltr">Hi James,<div><br></div><div style>It isn't entirely irrelevant. </div><div style><br></div><div style>I'm going into the lab later today, and will grab my 2560. I'll see what I can do. It will take me an extra day, though, because my 2560 has a bootloader on it that is broken: that is, it is impossible to separately upload the firmware and the bytecode, as my 2560 puts everything at location 0. That means that </div>
<div style><br></div><div style>1. I upload a firmware. It goes to location zero, where it should.</div><div style>2. I upload a bytecode file (compiled occam program). It, also, goes to location zero... thus, destroying the firmware.</div>
<div style><br></div><div style>This was a bootloader bug that should be fixed now. However, depending on the age of Christian's 2560, this could be a problem with its bootloader as well. We'll find that out as part of this.</div>
<div style><br></div><div style>We had a fix for this, but it isn't in the IDE.</div><div style><br></div><div style>Cheers,</div><div style>Matt</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 24, 2013 at 8:23 AM, James Brown <span dir="ltr"><<a href="mailto:james.brown4994@gmail.com" target="_blank">james.brown4994@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Ah sorry I have now read the title. Your question relates to Mac. I don’t have an experience of Mac so most of what I have said is probably not usefuly.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> James Brown [mailto:<a href="mailto:james.brown4994@gmail.com" target="_blank">james.brown4994@gmail.com</a>] <br>
<b>Sent:</b> 23 March 2013 16:48<br><b>To:</b> 'Christian Lewis'; users@concurrency.cc<br><b>Subject:</b> RE: [C.CC USERS] Using Mac for Plumbing Firmware Upload<u></u><u></u></span></p></div></div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I am not really an expert either but <u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Are you doing this using USB?<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If so, the arduino board should register to a COM port number<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This should be the same as when you use the arduino IDE. Is this working correctly?<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">did you get the COM port no in the dropdown on the firmware upload and did you select it?<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">did you select the correct board in the dropdown?<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Unplug and plug in the usb cable?<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span style="font:7.0pt "Times New Roman""> </span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Try restarting the pc: don’t know why but I have had issues with this error and restarting has occasionally been the only answer. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:users-bounces@concurrency.cc" target="_blank">users-bounces@concurrency.cc</a> [<a href="mailto:users-bounces@concurrency.cc" target="_blank">mailto:users-bounces@concurrency.cc</a>] <b>On Behalf Of </b>Christian Lewis<br>
<b>Sent:</b> 23 March 2013 15:50<br><b>To:</b> <a href="mailto:users@concurrency.cc" target="_blank">users@concurrency.cc</a><br><b>Subject:</b> [C.CC USERS] Using Mac for Plumbing Firmware Upload<u></u><u></u></span></p>
</div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hi, I'm really not sure if I'm doing this mail listing thing correctly, but here goes nothin'!<u></u><u></u></p><div><p class="MsoNormal">
<u></u> <u></u></p></div><div><p class="MsoNormal">So I'm trying to get started with using concurrency on my Arduino Mega 2560, so I've gone into the Transterpreter software for Mac to upload the Plumbing firmware onto the Arduino, but I keep getting this message in the window that you upload from, it says:<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><blockquote style="margin-left:30.0pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><div><p class="MsoNormal"><span style="font-family:Courier">Uploading Plumbing firmware</span><u></u><u></u></p>
</div><div><div><p class="MsoNormal"><span style="font-family:Courier">avrdude: stk500_recv(): programmer is not responding</span><u></u><u></u></p></div></div><div><div><p class="MsoNormal"><u></u> <u></u></p></div></div>
<div><div><p class="MsoNormal"><span style="font-family:Courier">avrdude done. Thank you.</span><u></u><u></u></p></div></div><div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><div><div><p class="MsoNormal"><span style="font-family:Courier;color:red">firmware upload exited with error code: 1</span><u></u><u></u></p>
</div></div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I've tried ports:<u></u><u></u></p></div><div><p class="MsoNormal">- /dev/tty.usbmodem1d11<u></u><u></u></p></div><div>
<p class="MsoNormal">- /dev/cu.usbmodem1d11<u></u><u></u></p></div><div><p class="MsoNormal">- /dev/tty.usbserial-A9007U6Z (this one gives a different message, saying that it can't open the device and that there is no such file directory)<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">None of these work. It says in the Concurrency PDF that this firmware is "just an overgrown Arduino sketch", so does that mean that I could take the file that Transterpreter is trying to upload to my Arduino Mega and place it in the Arduino IDE and just upload it from there and continue on how I would, had this problem not occurred? If not, then does anyone know what might be the problem and how I could fix this?<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks for any advice.<u></u><u></u></p></div></div></div></div></div><br>_______________________________________________<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>