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 how do i set the default baud rate of the the VS micro debugger window? (Read 6147 times)
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
how do i set the default baud rate of the the VS micro debugger window?
Jan 10th, 2016 at 4:28pm
Print Post  
it always reverts to 115k. how do i make the default be something else?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: how do i set the default baud rate of the the VS micro debugger window?
Reply #1 - Jan 10th, 2016 at 4:45pm
Print Post  
Please see documentation and project properties

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

Thanks
  
Back to top
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: how do i set the default baud rate of the the VS micro debugger window?
Reply #2 - Jan 10th, 2016 at 4:48pm
Print Post  
i read your link however i have a question.

for my ard uno, the only hardware serial port is in use by a device plugged into it.

so if I use software serai()  then what leads (wires) do I bring out of the arduio uno and where do i plug these leads into the pc?  The pc has no physical serial port
  
Back to top
 
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: how do i set the default baud rate of the the VS micro debugger window?
Reply #3 - Jan 10th, 2016 at 4:52pm
Print Post  
while you support the "softwareserial" do you also support ALTsoftwareserial?

https://www.pjrc.com/teensy/td_libs_AltSoftSerial.html
  
Back to top
 
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: how do i set the default baud rate of the the VS micro debugger window?
Reply #4 - Jan 10th, 2016 at 5:12pm
Print Post  
i guessed and it still does not work. see attached 2 images.

How do I connect the pin 10 and 11 that swserial is using to physically my laptop?

I see no output "Hello World" in the Vis  Micro debug windor
  

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: how do i set the default baud rate of the the VS micro debugger window?
Reply #5 - Jan 10th, 2016 at 5:45pm
Print Post  
It only supports SoftwareSerial at the moment.

You need an ftdi cable or sparkfun ftdi adapater which has pin headers at one end and pc/usb at the other.
  
Back to top
IP Logged
 
GeeTee
Member
***
Offline


Posts: 103
Joined: Nov 10th, 2014
Re: how do i set the default baud rate of the the VS micro debugger window?
Reply #6 - Jan 10th, 2016 at 7:02pm
Print Post  
thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: how do i set the default baud rate of the the VS micro debugger window?
Reply #7 - Jan 10th, 2016 at 7:25pm
Print Post  
SoftwareSerial can be a bit fussy about baud rates. I usually stick to 56k which seems to work okay, certainly no higher. 

Something tells me 4800 might be too slow but I can't be sure.

Rx/Tx or Tx only - Break/Update/Trace
If you only want to trace debug, no break or var update, then you will only need one wire from your arduino tx pin to the ftdi otherwise you will have two wires connected (rx/tx). 

Quick Trace Mode
There is a "Visual Micro>Trace Only" menu item that automatically assumes one wire trace mode, regardless of each breakpoints break/trace settings.
« Last Edit: Jan 10th, 2016 at 7:30pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint