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 Visual micro and Ardustatio3 (Read 3343 times)
GuyTzoler
Newbies
*
Offline


Posts: 2
Joined: Jul 20th, 2014
Visual micro and Ardustatio3
Jul 20th, 2014 at 6:12pm
Print Post  
Hi

I have downloaded and installed VS2013 and VM got it all working and building the code of ardustation from here:
https://code.google.com/p/ardustation3/

but when i try to run in debug i got:
VM_DBG.h:134: error: ISO C++ forbids declaration of 'HardwareSerial' with no type

after some googling i found that i need to set project properties:
micro debug - Full
remote transport - FastSerial

and now i get:
VM_DBG.h:292: error: 'transport' was not declared in this scope

digging into VM_DBG.h i couldn't found a declaration for transport when using FastSerial so not sure what i and missing.

this is the full error i get now:
Code
Select All
Compiling debug version of 'ArduStation3' for 'Arduino Mega 2560 or Mega ADK'
ArduStation3.ino:In file included from
VM_DBG.h:In member function 'void VisualMicroDebug::setVariable(T&, int, int)'
VM_DBG.h:292: error: 'transport' was not declared in this scope
ArduStation3.ino:In function 'void setup()'
ArduStation3.ino:197: error: 'class VisualMicroDebug' has no member named 'begin'
ArduStation3.ino:197: error: 'class VisualMicroDebug' has no member named 'transport'
ArduStation3.ino:200: error: 'class VisualMicroDebug' has no member named 'transport'
ArduStation3.ino:200: error: 'class VisualMicroDebug' has no member named 'transport'
ArduStation3.ino:In function 'void loop()'
ArduStation3.ino:369: error: 'class VisualMicroDebug' has no member named 'transport'
ArduStation3.ino:369: error: 'class VisualMicroDebug' has no member named 'transport'
VM_DBG.cpp:In file included from
VM_DBG.h:In member function 'void VisualMicroDebug::setVariable(T&, int, int)'
VM_DBG.h:292: error: 'transport' was not declared in this scope
VM_DBG.cpp:In member function 'int VisualMicroDebug::breakWait(uint8_t)'
VM_DBG.cpp:352: error: 'transport' was not declared in this scope
VM_DBG.cpp:368: error: 'transport' was not declared in this scope
VM_DBG.cpp:In member function 'void VisualMicroDebug::sendContinuedACK(uint8_t)'
VM_DBG.cpp:468: error: 'transport' was not declared in this scope
VM_DBG.cpp:In member function 'void VisualMicroDebug::sendMessage(const char*)'
VM_DBG.cpp:482: error: 'transport' was not declared in this scope
VM_DBG.cpp:In member function 'uint8_t VisualMicroDebug::readVariableTextDataType()'
VM_DBG.cpp:809: error: 'transport' was not declared in this scope
VM_DBG.cpp:In member function 'uint8_t VisualMicroDebug::readVariableTextLength()'
VM_DBG.cpp:814: error: 'transport' was not declared in this scope
VM_DBG.cpp:In function 'void no_lvalue_err()'
VM_DBG.cpp:825: error: 'class VisualMicroDebug' has no member named 'transport'
VM_DBG.cpp:In member function 'void VisualMicroDebug::fetchVarData()'
VM_DBG.cpp:890: error: 'transport' was not declared in this scope
Error compiling

 



Any idea?

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual micro and Ardustatio3
Reply #1 - Jul 20th, 2014 at 8:21pm
Print Post  
Hi Guy,

The DIYd firmware strips our a lot of the Arduino core and removes the standard Arduino Serial.

FastSerial was their alternative but then they removed that from the firmware so that is why it won;t work with the version of their software you are using.

You might be able to use the SoftwareSerial option along with a couple of spare digital pins + ftdi or some other usb connection. I don't know if the modified Arduino core you are using supports SoftwareSerial. You will also need to specify a speed <= 56k and the rx/tx pins in the project properties.

I hope this helps, interested to hear the result.

Thanks
  
Back to top
IP Logged
 
GuyTzoler
Newbies
*
Offline


Posts: 2
Joined: Jul 20th, 2014
Re: Visual micro and Ardustatio3
Reply #2 - Jul 20th, 2014 at 8:59pm
Print Post  
That helps a lot Smiley ... thanks for that... i'll see if i can use the SoftwareSerial.
« Last Edit: Jul 20th, 2014 at 9:05pm by GuyTzoler »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint