<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Thank you for your quick replay!<br>
      <br>
      Sending a !!!? and resetting the board doesn't give me back
      anything. The serial monitor remains empty :-( Could that be an
      m8u2 issue too?<br>
      <br>
      To your other question: Yes, I run jEdit in the chroot environment
      and just tried to upload the frimware. The verbose output reads:<br>
      <br>
      Uploading Plumbing firmware<br>
      Device id: arduinomega<br>
      Using config: /usr/share/tvm-avr/conf/arduinomega.conf <br>
      Command: [/usr/bin/avrdude, -C, /etc/avrdude.conf, -U,
      flash:w:/usr/share/tvm-avr/firmware/tvm-avr-atmega1280-16000000.hex:i,
      -F, -P, /dev/ttyACM0, -c, arduino, -p, m1280, -b, 57600] <br>
      avrdude: stk500_recv(): programmer is not responding<br>
      <br>
      I started to read a bit about the matter and found out, that the
      arduino profile configured in&nbsp; the jedit seems to be the one for
      the mega1280.<br>
      <br>
      So I tried the following from command-line:<br>
      <br>
      # avrdude -C /etc/avrdude.conf -U
      flash:w:/usr/share/tvm-avr/firmware/tvm-avr-atmega1280-16000000.hex:i
      /<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; -P /dev/ttyACM0 -c avrisp2 -p m2560<br>
      <br>
      and was successful!!<br>
      <br>
      What I don't got to work is to upload it from jEdit. I tried to
      modify /usr/share/tvm-avr/conf/arduinomega.conf accordingly:<br>
      TVM_MCU=m2560<br>
      and<br>
      TVM_AVRDUDE_*_FLAGS="... -c avrisp2"<br>
      <br>
      The change in TVM_MCU was taken into account in the jEdit upload
      command, but the change in the FLAGS weren't, so the upload didn't
      work.<br>
      <br>
      <br>
      The next step was to try the heartbeat-program. The Problem now
      was, that the build-chain seems not to support the TVM_MCU=m2560
      setting. After setting it back to m1280 the compilation run
      through, but I couldn't upload the compiled program to the
      arduino, as I don't know the command line to do it (I'm pretty new
      to all of the arduino stuff).<br>
      <br>
      To get the compilation done with the TVM_MCU=m2560 I set the
      following Symlinks<br>
      tvm-avr/include/arch/m2560 -&gt; m1280<br>
      tvm-avr/include/arch/arduinomega2560 -&gt; arduinomega<br>
      <br>
      and changed the plattfrom in arduinomega.conf.<br>
      <br>
      Now I think I'm getting my source compiled as m1280 code, but who
      cares! I just can't upload the program because of the programmer
      setting, which is not red from the TVM_AVRDUDE_*_FLAGS in the
      conf-file.<br>
      <br>
      <br>
      Best regards,<br>
      <br>
      Andreas<br>
      <br>
      <br>
      On 03/30/2013 12:27 AM, Matt Jadud wrote:<br>
    </div>
    <blockquote
cite="mid:CAAGM455JNKTzP2ViEsTuMB2yc4iOSrXcyySZ-YEVGYUz9+t3Gw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Andreas,
        <div><br>
        </div>
        <div>This is only partially related; the Mega 2560 is going to
          be a problem due to bootloader issues, I suspect.</div>
        <div><br>
        </div>
        <div style="">That said, could you please try the following:</div>
        <div style=""><br>
        </div>
        <div style="">1. In the Arduino environment, open up the IDE,
          open the Serial Monitor, and set the speed to 115200.</div>
        <div style=""><br>
        </div>
        <div style="">2. Type "!!!?" (without the quotes) into the text
          field.</div>
        <div style=""><br>
        </div>
        <div style="">3. Hit the reset button on the Arduino.</div>
        <div style=""><br>
        </div>
        <div style="">4. Hit "Send" on the serial monitor immediately
          after. (You have, I think, 500ms to hit the button.)</div>
        <div style=""><br>
        </div>
        <div style="">You should get back a bunch of status information
          from the bootloader. This will, I believe, include the date
          the bootloader was compiled.</div>
        <div style=""><br>
        </div>
        <div style="">For both you and Christian, I would appreciate
          knowing what vintage of bootloader we're dealing with.&nbsp;</div>
        <div style=""><br>
        </div>
        <div style="">And, a question re: the i386-chroot environment:
          are you running the JEdit IDE under Linux? I'm curious what
          you did to attempt the upload. The error you're experiencing
          is an avrdude error. Knowing the command you ran to attempt
          the upload would be useful.</div>
        <div style=""><br>
        </div>
        <div style="">Cheers,</div>
        <div style="">Matt</div>
        <div style=""><br>
        </div>
        <div style=""><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Fri, Mar 29, 2013 at 5:48 PM, afromm
          <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:arduino@fromms-online.de" target="_blank">arduino@fromms-online.de</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
            <br>
            I just found the plumbing and Occam-pi programming
            environment for arduino, and it seems to be just what I need
            for my project. So I tried to install the Software but
            without any success. Here are the details:<br>
            <br>
            My System: Ubuntu Linux precise/amd64. The Arduino-IDE works
            great with<br>
            my Arduino: Sainsmart Mega 2560<br>
            <br>
            <br>
            Here is what I tried to get Occam-pi to work.<br>
            <br>
            First get the whole thing in my native system: &nbsp;No chance,
            because of the amd64 platform doesn't allow to install the
            i386 version of many libs without throwing many applications
            away.<br>
            <br>
            So I set up an i386-chroot. The Occam-pi environment
            installed flawlessly, but couldn't get the firmware on my
            Arduino.<br>
            The error-message I got is the same as Christian Lewis gets
            on his system:<br>
            <br>
            Uploading Plumbing firmware<br>
            avrdude: stk500_recv(): programmer is not responding<br>
            <br>
            <br>
            After that I tried to install the Windows-Version running on
            a Virtualbox Windows XP (32) System. There the error message
            was that avrdude couldn't sync with the Arduino. The
            Arduino-System could upload a sketch to the Board under
            Windows, but got a checksum error after uploading the
            sketch.<br>
            <br>
            Ah, and yes, I tried many times the uplaod process,
            disconecting the Arduino in between and reseting it very
            often.<br>
            <br>
            <br>
            Any help would be great to finaly get the
            Ocam-pi-environment running to start coding for my project.<br>
            <br>
            Thanks in advance!<br>
            <br>
            Andreas<br>
            <br>
            _______________________________________________<br>
            users mailing list<br>
            <a class="moz-txt-link-abbreviated" href="mailto:users@concurrency.cc">users@concurrency.cc</a><br>
            <a moz-do-not-send="true"
              href="http://lists.concurrency.cc/mailman/listinfo/users"
              target="_blank">http://lists.concurrency.cc/mailman/listinfo/users</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>