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 debugging using a avrispmkii via libusb-win32 (Read 4147 times)
John Link
Newbies
*
Offline


Posts: 2
Joined: Jul 11th, 2012
debugging using a avrispmkii via libusb-win32
Sep 24th, 2013 at 10:13pm
Print Post  
I can build and upload with Visual Micro and Visual Studio 2012 with no problem using a avrispmkii via libusb-win32. However when debugging serial monitor window comes up trying to connect to com20. The avrispmkii is using libusb-win32 not com20. Any idea how to get the serial monitor to look at the libusb-win32 port rather than com20?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: debugging using a avrispmkii via libusb-win32
Reply #1 - Sep 24th, 2013 at 10:28pm
Print Post  
Hi,

The debugger uses serial so it needs to connect to a serial port.

If you do not have a usb cable connected to the main arduino usb port then you can use an FTDI cable (or other) to connect to other arduino serial ports if available on your hardware or  use 1 or 2 digital pins and the SoftwareSerial debug option. 

The port or settings that the debugger will use can be overridden in the project properties (RemotePort, LocalPort, RemoteTransport etc)

There is an article here which needs more work but should explain things a bit more.

Hope this helps, if you find a way to use a programmer such as the avrisp to send serial messages we could make it work.
  
Back to top
IP Logged
 
John Link
Newbies
*
Offline


Posts: 2
Joined: Jul 11th, 2012
Re: debugging using a avrispmkii via libusb-win32
Reply #2 - Sep 26th, 2013 at 12:49am
Print Post  
Yes, I will try it. Thanks.  Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint