Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Unable to debug Arduino Pro Mini 3V3 8MHz (Read 885 times)
Fer
Newbies
*
Offline



Posts: 5
Buenos Aires
Unable to debug Arduino Pro Mini 3V3 8MHz
Aug 27th, 2018 at 4:42pm
 
Hi!

I am new with Visual Micro and I have followed the Debugging tutorial successfully with an Arduino Nano.

However when I connect my Arduino Pro Mini 3V3 8MHz board (through a USB-TTL adapter which uses a CH340 integrated circuit) I am able to upload the "Blinking without delay" program as instructed in the tutorial and the program runs OK (I get the correct scripts in the output window and I can see the blinking led in my board).

However in the Expressions window I only see a message ""Waiting for debug breakpoint data" while the serial monitor shows several non ASCII characters passing by continuously. I imagine I should change some property, but I don't know which one. Please, could you give me some advice? Your help will be very much appreciated. Thanks in advance!
Back to top
 
WWW fernando.santesteban.3  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10526
United Kingdom
Re: Unable to debug Arduino Pro Mini 3V3 8MHz
Reply #1 - Aug 27th, 2018 at 5:15pm
 
Without debug. Does normal serial work is you send serial messages from arduino to the serial monitor?
Back to top
 
WWW  
IP Logged
 
Fer
Newbies
*
Offline



Posts: 5
Buenos Aires
Re: Unable to debug Arduino Pro Mini 3V3 8MHz
Reply #2 - Aug 27th, 2018 at 5:50pm
 
Hi, Tim, thank you for your prompt response.

I made a simple "hello world + blinking led" program. The program runs correctly, since I see the blinking led, and in the serial port I see:

Opening port
Port open
xf`ff�f�
f�f���`
ff怘... lots of strange characters that print continuously.

My program has a serial.begin(9600) line, and the monitor is also adjusted to 9600. Any thoughts? Again, thank you very much. Kind regards.


Back to top
 
WWW fernando.santesteban.3  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10526
United Kingdom
Re: Unable to debug Arduino Pro Mini 3V3 8MHz
Reply #3 - Aug 28th, 2018 at 8:59pm
 
The tool is set to Release and not Debug?
Back to top
 
WWW  
IP Logged
 
Fer
Newbies
*
Offline



Posts: 5
Buenos Aires
Re: Unable to debug Arduino Pro Mini 3V3 8MHz
Reply #4 - Aug 28th, 2018 at 11:26pm
 
The tool is set to debug as indicated in the tutorial. In fact all the options mentioned in the tutorial are set accordingly. Following the tutorial the debug feature worked OK with my Arduino Nano but doesn't seem to work in the Arduino Pro Mini.
Back to top
 
WWW fernando.santesteban.3  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10526
United Kingdom
Re: Unable to debug Arduino Pro Mini 3V3 8MHz
Reply #5 - Aug 28th, 2018 at 11:30pm
 
Hi,

To make this clean test of the serial capability please ensure debug is off. Set the toolbar to Release and then upload with your serial code

If that works then try your own code at serial speed of 115200. If that fails then try 56k. We need to determine what speed serial your board will work at.

Thanks
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print