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 AVR target: Serial Monitor reverts to 57600 after flash download (Read 5393 times)
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
AVR target: Serial Monitor reverts to 57600 after flash download
Oct 13th, 2014 at 4:49am
Print Post  
Run VS 6.2/VM
Open COM2 serial monitor. Baud Rate is 115200 as it should be.
Run a download as usual. 
At the end of successful download, serial monitor changes to 57600 baud. (the downloaded app uses 115200).

With serial monitor COM2 open at 115200 baud, if I untick, tick the Connect check box, it reverts to 57600, same as it does reopening after download.

Windows 7 device manager says COM2's default baud rate is 115200. COM2 is a USB to Serial FTDI chip.

It started doing this recently. Don't know why.

« Last Edit: Oct 13th, 2014 at 4:54am by stevech »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: AVR target: Serial Monitor reverts to 57600 after flash download
Reply #1 - Oct 13th, 2014 at 8:07am
Print Post  
You have debug enabled and have set 56k remotespeed in project properties
  
Back to top
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: AVR target: Serial Monitor reverts to 57600 after flash download
Reply #2 - Oct 16th, 2014 at 11:21pm
Print Post  
AS 6.2

I have searched for the needle in the haystack, but the property setting as above not found. Is this in VM or VS?
  
Back to top
 
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: AVR target: Serial Monitor reverts to 57600 after flash download
Reply #3 - Oct 16th, 2014 at 11:44pm
Print Post  
Half a needle found.... It's the <expletive> ALT-ENTER to get to the properties display.

I set local and remote to 115200. I set COM port to COM39, the USB/Serial port.  I saved all. I restarted AS. But problem remains.. close-open it changes speeds.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: AVR target: Serial Monitor reverts to 57600 after flash download
Reply #4 - Oct 17th, 2014 at 9:03am
Print Post  
Hi Sorry to hear of the hassle.

I can confirm the upload speed is unrelated to the serial monitor.

If debug is enabled then the remoteSpeed is used and it defaults to 115k unless overridden in the project properties

If debug is not enabled then the speed is controlled by the list of speeds on the serial monitor and the selected speed is retained by the project.

Out of interest, do you have more than one project in your solution?
  
Back to top
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: AVR target: Serial Monitor reverts to 57600 after flash download
Reply #5 - Oct 17th, 2014 at 3:59pm
Print Post  
thank you for the continued help.
Jut one project in this 'solution'.

When you say 'debug is enabled', do you mean:
Project Properties
Misc
(Micro Debug)
?
(Micro Debug) is set to None
Is this the VM debugger or the VS debugger?





  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: AVR target: Serial Monitor reverts to 57600 after flash download
Reply #6 - Oct 17th, 2014 at 4:38pm
Print Post  
No probs,

Using the project properties to enable the debugger is the "Advanced" mode. 

However I think you will have auto/simple mode switched on which it is by default.

You need to un-tick "tools>visual Micro>automatic debug" OR change the configuration mode on the tool bar from "Debug" to "Release".
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint