Cant comm with Arduino through Linux after uploading sketch

Discussion in 'Arduino IDE' started by jaykudo, Mar 11, 2014.

  1. jaykudo

    jaykudo New Member

    Joined:
    Jan 12, 2014
    Messages:
    17
    Likes Received:
    0
    Hi everyone,

    Bit of an obscure issue, but very easily replicated.

    I am running Linaro Ubuntu 12.04 on the UDOO. When attempting to communicate through Linux to the Arduino (using /dev/ttymxc3 serial interface) after a fresh Linux boot, everything works fine.

    Code:
    root@udoo:~# stty -F /dev/ttymxc3
    speed 9600 baud; line = 0;
    -brkint -imaxbel
    root@udoo:~# stty -F /dev/ttymxc3 115200
    root@udoo:~# cat /dev/ttymxc3
    [TEMP] - Temperature is 43.41 C
    [SERIAL] - Input char
    [FAN] - Timer started. Fan will run for 320 seconds, unless temp drops below 30C first
    [TEMP] - Temperature is 43.18 C
    [SERIAL] - Input char
    ^C
    root@udoo:~#
    
    (the serial output from the Arduino is seen after the 'cat' command. Everything is working fine here)
    [​IMG]

    I can reset the Arduino (by way of using the RESET pin and some code (as seen in STEP 1, here: http://www.instructables.com/id/two-way ... -software/) and all is still working fine.

    But then, when I upload the sketch to the Arduino (using USB cable to my PC and J18 disconnected) 'cat' no longer shows any output. It remains this way until I reboot Linux. Then it works again until I upload a sketch to Arduino again.

    Has anyone else had this same issue? Any way to fix this?
    Thanks.
     
  2. jaykudo

    jaykudo New Member

    Joined:
    Jan 12, 2014
    Messages:
    17
    Likes Received:
    0
    Re: Cant comm with Arduino through Linux after uploading ske

    Anyone able to help me out here? I have a suspicion that I may have posted this in the wrong sub-forum. If so, can someone please point me on the right direction. Thanks!
     

Share This Page