Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Serial Monitor start and then freeze on "Hello_world" program

  1. #1
    Junior Member
    Join Date
    Sep 2018
    Posts
    2

    Serial Monitor start and then freeze on "Hello_world" program

    Hello all,

    I've just received my teensy3.6, I tried to run a basic Hello world and I got troubles with the Serial.println command on the IDE Arduino

    The monitor starts printing "Hello World" but stop after 3 or 4 seconds ...

    I found a similar topic on this forum but no real solution is given so I tried to post my own topic on this issue.

    What I have already done:
    - Update Arduino IDE version to 1.8.7
    - Update Teensyduino with the new release 1.44
    - Change USB wire
    - Restart everything (teensy, computer etc...)
    - Google


    - I'm running IDE arduino on "Linux Mint 17.2 rafaela"

    Please, I would love it if you could help.
    Best regards

    Joris

    Code:
    /*
      Blink
      Turns on an LED on for one second, then off for one second, repeatedly. Serial monitor of arduino 
     
      This example code is in the public domain.
     */
     
    // Pin 13 has an LED connected on most Arduino boards.
    // Pin 11 has the LED on Teensy 2.0
    // Pin 6  has the LED on Teensy++ 2.0
    // Pin 13 has the LED on Teensy 3.0
    // give it a name:
    int led = 13;
    
    // the setup routine runs once when you press reset:
    void setup() {                
      // initialize the digital pin as an output.
      pinMode(led, OUTPUT);     
      Serial.begin(9600);
      
    }
    
    // the loop routine runs over and over again forever:
    void loop() {
      digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
      Serial.println("Hello world");
      delay(1000);               // wait for a second
      digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
      delay(100);               // wait for a second
    }
    Click image for larger version. 

Name:	capture_helloworld.jpg 
Views:	5 
Size:	70.4 KB 
ID:	14859

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,367
    I'm running it here on Ubuntu. Works fine.

    Click image for larger version. 

Name:	sc.png 
Views:	3 
Size:	276.3 KB 
ID:	14860

    Maybe there's something different about Mint? Historically, the Gnome Modem Manager has been a problem. The udev rule file (you installed it properly, right?) is supposed to tell Modem Manager not to touch or interfere with the USB serial devices for Teensy.

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,367
    When the serial monitor output stops, does the LED continue blinking on your Teensy 3.6?

  4. #4
    Junior Member
    Join Date
    Sep 2018
    Posts
    2
    Quote Originally Posted by PaulStoffregen View Post
    When the serial monitor output stops, does the LED continue blinking on your Teensy 3.6?
    HI Paul,

    Yes it's still blinking.
    But thanks to you I solved the problem. My udev rules file was wrong and I corrected it and it works. Thanks a lot for the clue!

    Regards

    Joris

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •