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 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Debugging Arduino DUE (Read 19077 times)
Aleks
Junior Member
**
Offline


Posts: 24
Joined: Mar 8th, 2018
Re: Debugging Arduino DUE
Reply #20 - Mar 13th, 2018 at 4:09pm
Print Post  
Tim@Visual Micro wrote on Mar 13th, 2018 at 3:08pm:
Well I am confused. You have reported many different COM port numbers

Logs I did on a same port Com20
I tried different ports, so earlier I did screenshots on COM3 port
Does not matter, does not work on any ports

Tim@Visual Micro wrote on Mar 13th, 2018 at 3:08pm:
I read all your messages. Please be clear when you are talking about "Programming" port or "Native" port. Your reports talk about a "different port" but that is confusing because many users would say COM1 and COM2 are different ports.


I will explain.
In Visual micro, on the port (Native usb port), the sketch is uploaded.
but not uploaded when using (programming port )

I can re-make screenshots and prepare logs on any COM port.
Which one is better for you? Smiley

PS: I can send a log file when uploading through the Native USB port, maybe this will help to understand the reason.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugging Arduino DUE
Reply #21 - Mar 13th, 2018 at 7:48pm
Print Post  
It's okay thanks I will compare the  logs you have posted
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugging Arduino DUE
Reply #22 - Mar 13th, 2018 at 9:25pm
Print Post  
I tried the Due and it works okay but you need to follow my original instruction and ensure the USB driver is correct.

You are installing the wrong USB driver. The correct driver is provided by the arduino ide/drivers folder



  
Back to top
WWW  
IP Logged
 
Aleks
Junior Member
**
Offline


Posts: 24
Joined: Mar 8th, 2018
Re: Debugging Arduino DUE
Reply #23 - Mar 14th, 2018 at 10:08am
Print Post  
Good day!
It seems I know why it does not work.
Because I bought the board in China Smiley

When I installed the driver from Arduino.
It ceases to work even in Arduino IDE.

I decided not to torture myself or yourself)
I thought I'll upload sketches via port (Native CSS)
And debug the port through the Program.
But it did not help.

That's what happens.
If I connect both ports, debugging does not stop at the breakpoint.And if you leave it connected only to Native USB , everything works.

Maybe I did not set up work with the second port?
Help me how to do this?

I see a peculiarity when working with one or two ports.

When the card is connected only via the Native USB port
The driver is called Arduino DUE and is connected to COM10

When I connect the second port, the driver for the Native USB is called the Bossf program port and connected via another COM port

If you want I can help you understand why the Chinese driver is not loaded sketch. I can send debugging information.

Now I will learn how to debug the CSS USB TTL converter.

« Last Edit: Mar 14th, 2018 at 10:09am by Aleks »  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugging Arduino DUE
Reply #24 - Mar 14th, 2018 at 12:03pm
Print Post  
1)

The bossac upload command is independent of visual micro. If you make the command work with your board outside of visual studio (.bat file) then you will have solved the issue.

2)

Please start a new thread if you would like to discuss debugging on the Native USB port.

  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugging Arduino DUE
Reply #25 - Mar 14th, 2018 at 9:09pm
Print Post  
where did you buy your board? I will buy one and try it.

Please give purchase link
  
Back to top
WWW  
IP Logged
 
Aleks
Junior Member
**
Offline


Posts: 24
Joined: Mar 8th, 2018
Re: Debugging Arduino DUE
Reply #26 - Mar 15th, 2018 at 7:58am
Print Post  
  
Back to top
 
IP Logged
 
Aleks
Junior Member
**
Offline


Posts: 24
Joined: Mar 8th, 2018
Re: Debugging Arduino DUE
Reply #27 - Mar 15th, 2018 at 9:14am
Print Post  
Do not buy, I'll try on another computer.
By the way, I have a question.
If I try to delete the registration of the program and check the work on the unregistered program, can I then return the registration?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugging Arduino DUE
Reply #28 - Mar 15th, 2018 at 9:38pm
Print Post  
1)
Thanks. I should get one anyway. If you have a problem then others will?

2)

I am not sure I understand the question.

Visual Micro is free to build and upload. This means you can test uploading on any machine with visual micro without registration.

Does this answer the question?
  
Back to top
WWW  
IP Logged
 
Aleks
Junior Member
**
Offline


Posts: 24
Joined: Mar 8th, 2018
Re: Debugging Arduino DUE
Reply #29 - Mar 16th, 2018 at 6:53am
Print Post  
Tim@Visual Micro wrote on Mar 15th, 2018 at 9:38pm:
1)
Thanks. I should get one anyway. If you have a problem then others will?

2)

I am not sure I understand the question.

Visual Micro is free to build and upload. This means you can test uploading on any machine with visual micro without registration.

Does this answer the question?

I have a Pro version.
I thought that maybe there is a problem in the pro version
(I myself am a developer and I understand that anything can happen Smiley

And can I register again later?
« Last Edit: Mar 16th, 2018 at 6:54am by Aleks »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugging Arduino DUE
Reply #30 - Mar 16th, 2018 at 10:26am
Print Post  
Yes I know you have the Pro version. You wrote to me complaining the price was too high for Russia. I gave you special reduced price.

The activation/registration is not linked to visual studio. You have activated your machine OK and have Pro enabled so what is the problem?

  
Back to top
WWW  
IP Logged
 
Aleks
Junior Member
**
Offline


Posts: 24
Joined: Mar 8th, 2018
Re: Debugging Arduino DUE
Reply #31 - Mar 16th, 2018 at 11:08am
Print Post  
Tim@Visual Micro wrote on Mar 16th, 2018 at 10:26am:
Yes I know you have the Pro version. You wrote to me complaining the price was too high for Russia. I gave you special reduced price.

For this many thanks.

Quote:
The activation/registration is not linked to visual studio. You have activated your machine OK and have Pro enabled so what is the problem?


I just wanted to check if there was an error on the trial version or not.
Question.
When I studied the documentation,
I read that I can delete the registration key from the settings and register it with another computer.
How often can this be done?
I would like to do this at home and at work.
Since I can not be at the same time in two places Smiley I would have enough of one key.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugging Arduino DUE
Reply #32 - Mar 16th, 2018 at 12:20pm
Print Post  
That would defeat the reason for 1 machine and 3 machine licence keys.

  
Back to top
WWW  
IP Logged
 
Aleks
Junior Member
**
Offline


Posts: 24
Joined: Mar 8th, 2018
Re: Debugging Arduino DUE
Reply #33 - Mar 20th, 2018 at 11:32am
Print Post  
Good day.
I apologize for not responding for a long time.

I checked the upload sketch on the DUE on another computer.
The computer was first installed Visual Studio Communi 2017 Preview
Installed Visual Mikro (not registered)

On the port of NativUSB is fine.

On the port "Programm port" sketch was uploaded only the first time.
Further he writes that the device was not found.

Compiling debug version of 'TestForFlashDue' for 'Arduino Due (Programming Port)'
Program size: 22 936 bytes (used 4% of a 524 288 byte maximum) (1,10 secs)
 
Uploading 'TestForFlashDue' to 'Arduino Due (Programming Port)' using 'COM5'
The uploader process failed
No device found on COM5



I noticed that when the sketch was loaded for the first time.
The system brought up such a message, and nothing more.
Launching Debugger...

Those. could not start debugging.

PS:In Arduino IDE, everything works, on both ports.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugging Arduino DUE
Reply #34 - Mar 20th, 2018 at 3:18pm
Print Post  
Please change the tool bar from Debug to Release so that you have same build and upload as Arduino IDE
« Last Edit: Mar 20th, 2018 at 3:19pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Aleks
Junior Member
**
Offline


Posts: 24
Joined: Mar 8th, 2018
Re: Debugging Arduino DUE
Reply #35 - Mar 20th, 2018 at 3:50pm
Print Post  
The same message

Compiling 'TestForFlashDue' for 'Arduino Due (Programming Port)'
Program size: 21 924 bytes (used 4% of a 524 288 byte maximum) (0,22 secs)
 
Uploading 'TestForFlashDue' to 'Arduino Due (Programming Port)' using 'COM5'
The uploader returned an error
No device found on COM5


how are the screenshots applied?
« Last Edit: Mar 20th, 2018 at 3:51pm by Aleks »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugging Arduino DUE
Reply #36 - Mar 21st, 2018 at 8:50pm
Print Post  
What is the USB driver name, date and time in Control Panel > Device Manager?

Thanks
« Last Edit: Jul 9th, 2020 at 11:26pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint