Arduino communication problems

Discussion in 'UDOO X86' started by Sami, Aug 31, 2017.

  1. Sami

    Sami New Member

    Joined:
    Aug 31, 2017
    Messages:
    4
    Likes Received:
    1
    I can't seem to get the Arduino IDE (1.8.4, Debian 9.1) to upload any sketches to the UDOO X86 Curie. I just get the following errors from avrdude:

    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00

    The serial port is set to /dev/ttyACM0. Pressing the master reset didn't help -- it just hangs the upload.

    I also tried using dfu-util from the Intel Curie ODK (with arc/examples/ASCIITable), which seemed to work after resetting a few times but the sketch isn't running as far as I can tell (no output from the serial port):

    Opening DFU capable USB device...
    ID 8087:0aba
    Run-time device DFU version 0011
    Claiming USB DFU Interface...
    Setting Alternate Setting #7 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0011
    Device returned transfer size 2048
    Copying data from PC to DFU device
    Download [=========================] 100% 48788 bytes
    Download done.
    Sent a total of 48788 bytes
    state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    Resetting USB to switch back to runtime mode
    SUCCESS: Sketch will execute in about 5 seconds.

    Any suggestions?
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    it appears you are using avrdude, so you didn't select the correct board from Tools/Board menu [​IMG] Simply select "Arduino/Genuino 101" and you are ready to go! (I believe you already selected the correct serial port)
     
  3. Sami

    Sami New Member

    Joined:
    Aug 31, 2017
    Messages:
    4
    Likes Received:
    1
    Ha, that was it, I had selected "Arduino/Genuino Uno" by accident. Thanks very much!
     
    waltervl likes this.

Share This Page