Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Arduino Due - Serial debugging (Read 2374 times)
Freddy
Newbies
*
Offline


Posts: 1
Joined: Oct 8th, 2014
Arduino Due - Serial debugging
Oct 8th, 2014 at 3:39pm
Print Post  
Visual Micro is a great tool. However, I have a problem. As soon as I try to use the Serial library will not start debbugern / program. In the output it says: Program Started 'nameOfProjekt'. Since it does not happen any more and I get no output.

The code I'm testing is: 
void setup () {
    Serial.begin (9600); 


void loop () {
   Serial.println ("Hello World ..."); 
   delay (1000); // Do not print too fast! 


If I remove the Serial function code, the program runs as normaly but get no output of course.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino Due - Serial debugging
Reply #1 - Oct 8th, 2014 at 3:52pm
Print Post  
Hi,

Thanks for the message.

The reason for this is that the debugger expects 115200 serial speed by default.

Your sketch code is using 9600

You can tell Visual Micro to use 9600 for debug by changing the RemoteSpeed project property.

http://www.visualmicro.com/page/User-Guide.aspx?doc=Debugging-With-Different-Por...

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint