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 Unable to debug Arduino Pro Mini 3V3 8MHz (Read 3433 times)
Fer
Newbies
*
Offline


Posts: 5
Location: Buenos Aires
Joined: Aug 27th, 2018
Unable to debug Arduino Pro Mini 3V3 8MHz
Aug 27th, 2018 at 3:42pm
Print Post  
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
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to debug Arduino Pro Mini 3V3 8MHz
Reply #1 - Aug 27th, 2018 at 4:15pm
Print Post  
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
Location: Buenos Aires
Joined: Aug 27th, 2018
Re: Unable to debug Arduino Pro Mini 3V3 8MHz
Reply #2 - Aug 27th, 2018 at 4:50pm
Print Post  
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
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


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


Posts: 5
Location: Buenos Aires
Joined: Aug 27th, 2018
Re: Unable to debug Arduino Pro Mini 3V3 8MHz
Reply #4 - Aug 28th, 2018 at 10:26pm
Print Post  
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
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to debug Arduino Pro Mini 3V3 8MHz
Reply #5 - Aug 28th, 2018 at 10:30pm
Print Post  
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 TopicPrint