Troubleshooting ubuntu freezes after 6hr with arduino program

Discussion in 'Troubleshooting' started by PieterV, Nov 19, 2015.

  1. PieterV

    PieterV New Member

    Joined:
    Nov 19, 2015
    Messages:
    9
    Likes Received:
    1
    Hello all,

    we're having a problem with our udoo Quad running udoobuntu 1.1
    When we start a arduino sketch this will work for a few,6-7, hours and then the udoo board freezes and we need to hard reboot the system.
    Does anyone had the same problem like this before?
    I've tried to troubleshoot what happens but our knowledge is very limited with using the remote shell console.
    Can we keep track of what happens in the background with a command, ....?

    Any suggestion is welcome.

    Pieter
     
  2. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
  3. PieterV

    PieterV New Member

    Joined:
    Nov 19, 2015
    Messages:
    9
    Likes Received:
    1
    We tried this and this works but after reboot and when we open i.e. Arduino, open the sketch, and monitor everything nothing happens on the serial command of the external pc.

    We've to tell you all as well the we use the serial output screen from arduino to monitor some values on the screen of the udoo.
    Is this the reason why we can't see anything on the external pc screen?
     
  4. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Yes, that should be the reason.
    The serial is not designed for that.
     
  5. PieterV

    PieterV New Member

    Joined:
    Nov 19, 2015
    Messages:
    9
    Likes Received:
    1
    Ok but is there a command to monitor what happens? i.e. ""debug and some addition?
    as seen in the screenshot attached from the external pc nothing happens when we're logged in. As I mentioned we are new in the debugging/troubleshooting of this & keen to learn this.
     

    Attached Files:

  6. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    The method I shared with you is the only one I know. Are you saying that it doesn't print anything? If it doesn't print anything it means the CPU hangs somehow, or that it's a hardware problem. Could you please reflash the OS on another Micro SD so you can exclude this sort of problems? Could you try another power supply too, so to exclude a brown out?
    If you still have this problem after these tests you better open a ticket and explain your problem.
     

Share This Page