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
Nano clone with CH340 (Read 663 times)

Posts: 2
Nano clone with CH340
Dec 28th, 2018 at 2:30am
I am unable to debug a Nano clone using a CH340 instead of the usual FTDI. 

Should I be expecting this?

If I set a tracepoint (no break) and build/upload DEBUG profile (automatic debugging is on) the program appears to halt (as though on a breakpoint). In the meantime the vMicro debug trace screen shows "Launching debugger" but nothing subsequently happens.

Am I able to debug these boards?  If not, I can switch to a genuine UNO since i only use these as a cheap alternative but it would be nice to be able to work with them directly.


Back to top
IP Logged
Visual Micro

Posts: 10645
United Kingdom
Re: Nano clone with CH340
Reply #1 - Dec 28th, 2018 at 12:09pm

The debugger just uses standard serial. So you should set the tool bar to Release and try your own serial at 115200 to see if it works.

If you can send serial to the monitor with println("Hello World") then debug should work okay with trace points. If you can send a serial message from the monitor and receive on the arduino with serial.available() and serial.read() then break points should also work.

If the standard serial does not work then try at a lower speed
Back to top
IP Logged
Page Index Toggle Pages: 1
Send Topic Print