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 No output from Mega Arduino on Serial Monitor when using Atmel Studio (Read 3308 times)
Harvey_Lab
Newbies
*
Offline


Posts: 8
Joined: Aug 24th, 2014
No output from Mega Arduino on Serial Monitor when using Atmel Studio
Aug 24th, 2014 at 5:49pm
Print Post  
Hi Guys,
I am new to Atmel Studio and Visual Micro.
I am working my way through tutorials, trial and error etc and am doing fine but I am stuck on getting Serial Monitor to produce an output from the program when using Atmel Studio. The port is fine,  it programs the Arduino(lights flash ok) and reports that the port opens    etc. 
I have attached the Arduino version of the program which works fine on the  Arduino IDE, flashes the lights and produces a msg on the serial Monitor. 
Please help!!
Regards
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No output from Mega Arduino on Serial Monitor when using Atmel Studio
Reply #1 - Aug 24th, 2014 at 7:13pm
Print Post  
Hi Frank,

I see you are using 9600 baud. Did you select 9600 in the serial monitor?

If you set the correct speed and it fails then please tick the "Reconnect" checkbox in the serial monitor.

If still an issue please show attach a screen shot of the serial monitor open and not working.

Thanks very much
  
Back to top
IP Logged
 
Harvey_Lab
Newbies
*
Offline


Posts: 8
Joined: Aug 24th, 2014
Re: No output from Mega Arduino on Serial Monitor when using Atmel Studio
Reply #2 - Aug 24th, 2014 at 9:20pm
Print Post  
Hi Tim
You were right, the speed of the serial monitor was different to the program.
I assumed that when I was getting the dialog "port open, port closed etc" that the speed had to be correct and I did not bother to check it.
Many thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No output from Mega Arduino on Serial Monitor when using Atmel Studio
Reply #3 - Aug 24th, 2014 at 9:26pm
Print Post  
Great

If you use the debugger you will need to set the RemoteSpeed project property to 9600 so that it defaults to the speed of your code. 

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

Thanks for the update.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint