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 No Conversation for 'Serial_*' to 'UARTClass' (Read 1374 times)
Mike S.
Newbies
*
Offline


Posts: 2
Joined: Mar 11th, 2016
No Conversation for 'Serial_*' to 'UARTClass'
Mar 11th, 2016 at 1:14pm
Print Post  
Hello VM-Team,

I have a problem since I tried to start an example for a CAN-Bus. At compiling the "CAN_EchoTest" the following text is print:
"
due_can.cpp:In member function 'int CANRaw::available()
due_can.cpp:1009:1: warning: control reaches end of non-void function [-Wreturn-type]
CAN_Test1.ino:In function 'void setup()
CAN_Test1.ino:34:68: error: no matching function for call to 'VisualMicroDebug::begin(Serial_*, int)
:void setup() { 
    debugger: The error shown above might be caused by invalid breakpoint syntax or the board is not yet supported for debugging (pls let us know!)
CAN_Test1.ino:candidate is
CAN_Test1.ino:In file included from
VM_DBG.h:begin(UARTClass*, long unsigned int)
:void begin(UARTClass *theSerial, unsigned long baud)
VM_DBG.h:no known conversion for argument 1 from 'Serial_*' to 'UARTClass*
"

I have searched in the VM_DBG.h file (which is linked if I click on the message) and I thought it might be a multiple definition of debug types (VM_DEBUGGER_TYPE_"type"). Well I have tried to fix it by catching the case, that multiple definitions of a VM_DEBUGGER_TYPE_"type" were made. This had not the expected result. Now I hope you may help me at getting a working solution. The library I'm trying to use is in the attachment. Because of the circumstance I am using your engine since recently I don't really know what to do.

With kind regards and thanks in advance,

Mike S.

Using: Arduino Due and Visual Studio 2013 Professional
  

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No Conversation for 'Serial_*' to 'UARTClass'
Reply #1 - Mar 12th, 2016 at 1:47pm
Print Post  
Your report shows a problem when attempting a "Debug" compile.

I have tested with arduino 1.6.x and can not find a problem so please give more info...

Can you confirm that the project properties RemotePort and RemoteTransport are empty which is their default states?

Confirm which Due port you are using?

Which Arduino Ide version?

Thanks
« Last Edit: Mar 12th, 2016 at 1:50pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Mike S.
Newbies
*
Offline


Posts: 2
Joined: Mar 11th, 2016
Re: No Conversation for 'Serial_*' to 'UARTClass'
Reply #2 - Mar 14th, 2016 at 8:12am
Print Post  
Hello Tim,

I can confirm, that Remote Port as well as Remote Transport is empty in the project settings. I am using the programming port and the IDE Version is 1.6.x.
If I put the debug on release, there is no problem anymore. Still I want to debug this file. I am very grateful of your response and hope you can help me.

With Kind regards,

Mike S.

Edit: I'm very sorry, my own stupidity has come to catch me again - in line 22 there is a #define for the native port and I am using the programming port! I'll read the manual next time.

Kind regards,

Mike S.
« Last Edit: Mar 14th, 2016 at 11:24am by Mike S. »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: No Conversation for 'Serial_*' to 'UARTClass'
Reply #3 - Mar 14th, 2016 at 7:33pm
Print Post  
No probs. Thanks for the update and good to hear it is working.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint