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 Issues with 'usb_serial_class' and 'theSerial' (Read 6043 times)
sachleen
Newbies
*
Offline


Posts: 3
Joined: Jan 21st, 2013
Issues with 'usb_serial_class' and 'theSerial'
Jan 22nd, 2013 at 12:08am
Print Post  
Hi all,

Just installed the debugger and, after setting (Micro Debug) to Full, I get the following errors:

Code
Select All
Compiling 'test' for 'Arduino Uno'
Binary sketch size: 1176 bytes (of a 32256 byte maximum) (0.1430082 secs)
Compiling debug version of 'test' for 'Arduino Uno'
test.ino : In file included from
VM_DBG.h : ISO C++ forbids declaration of 'usb_serial_class' with no type
VM_DBG.h : expected ';' before '*' token
VM_DBG.h : 'usb_serial_class' has not been declared
VM_DBG.h : 'usb_serial_class' has not been declared
VM_DBG.cpp : In file included from
VM_DBG.h : ISO C++ forbids declaration of 'usb_serial_class' with no type
VM_DBG.h : expected ';' before '*' token
VM_DBG.h : 'usb_serial_class' has not been declared
VM_DBG.h : 'usb_serial_class' has not been declared
VM_DBG.cpp : variable or field 'begin' declared void
VM_DBG.cpp : 'usb_serial_class' was not declared in this scope
VM_DBG.cpp : 'theSerial' was not declared in this scope
Error compiling 



I created a new project and my code is a simple blink sketch:

Code
Select All
int count;
void setup()
{
    count = 0;
    pinMode(13, OUTPUT);
}

void loop()
{
    digitalWrite(13, count%2);
    count ++;
    delay(500);
} 



If I set (Micro Debug) to None, the sketch loads fine on to the board, but of course, I cannot debug anything.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Issues with 'usb_serial_class' and 'theSerial'
Reply #1 - Jan 22nd, 2013 at 1:16am
Print Post  
Hi,

Which plugin version do you have installed? Tools>Options>Visual Micro>Version?

Which Arduino IDE version?

Thanks
« Last Edit: Jan 22nd, 2013 at 1:17am by Tim@Visual Micro »  
Back to top
IP Logged
 
sachleen
Newbies
*
Offline


Posts: 3
Joined: Jan 21st, 2013
Re: Issues with 'usb_serial_class' and 'theSerial'
Reply #2 - Jan 22nd, 2013 at 1:23am
Print Post  
I have VisualMicro 1.1212.30 with Arduino 1.0.2
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Issues with 'usb_serial_class' and 'theSerial'
Reply #3 - Jan 22nd, 2013 at 1:25am
Print Post  
Did you install the 3.3 debugger or 3.4? It's worth uninstalling the debugger in "control panel>add or remove programs>visual micro debugger" then re-installing.

EDIT: If that fails then please update to arduino 1.0.3, I don't think they changed this area for 1.0.3 but I have not tested 1.0.2

Hope to hear how that goes.

Thanks
« Last Edit: Jan 22nd, 2013 at 1:27am by Tim@Visual Micro »  
Back to top
IP Logged
 
sachleen
Newbies
*
Offline


Posts: 3
Joined: Jan 21st, 2013
Re: Issues with 'usb_serial_class' and 'theSerial'
Reply #4 - Jan 22nd, 2013 at 1:44am
Print Post  
Tim,

I had the 3.4 debugger, downloaded the 3.3 debugger and it works now.

Thanks for the help!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Issues with 'usb_serial_class' and 'theSerial'
Reply #5 - Jan 22nd, 2013 at 1:59am
Print Post  
Great
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint