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
Locked Topic Compiling 'BLINKER' with the Debugger and SoftwareSerial (Read 31702 times)
Christos
Junior Member
**
Offline


Posts: 30
Location: North Carolina
Joined: Feb 26th, 2014
Re: Compiling 'BLINKER' with the Debugger and SoftwareSerial
Reply #20 - Feb 27th, 2014 at 8:17pm
 
Okay, It works!!  Thanks for all your help.  And thanks for a really nice product.  It will help my Arduino development for sure.

Oh, and before I forget... I went back to using the analog pins for for debugging, so it's confirmed.  It works with Analog Pins (as long as they are on the list of pins that work with SoftwareSerial that is...).
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiling 'BLINKER' with the Debugger and SoftwareSerial
Reply #21 - Feb 27th, 2014 at 9:04pm
 
Excellent, thanks for the great feedback and seeing it through. I'll try re-producing what you had. Best of luck with everything
  
Back to top
IP Logged
 
Christos
Junior Member
**
Offline


Posts: 30
Location: North Carolina
Joined: Feb 26th, 2014
Re: Compiling 'BLINKER' with the Debugger and SoftwareSerial
Reply #22 - Feb 27th, 2014 at 9:28pm
 
New issue...

SD library compiles fine using "Arduino 1.0.x" but isn't found using "Arduino 1.5.x" even though the library is in C:\Arduino\arduino-1.0.5-r2\libraries\SD.

Thanks, we'll get there.
  
Back to top
 
IP Logged
 
Christos
Junior Member
**
Offline


Posts: 30
Location: North Carolina
Joined: Feb 26th, 2014
Re: Compiling 'BLINKER' with the Debugger and SoftwareSerial
Reply #23 - Feb 27th, 2014 at 9:37pm
 
Another note... If I right-click "File" in my code and select "Goto Implementation (Alt+G), the file (C:\Arduino\arduino-1.0.5-r2\libraries\SD\SD.h) opens up just fine.  So my guess it's being "seen" by the IDE, and not the compiler somehow.

Thanks
--- Output ---
Compiling 'epicSDCardFunctions' for 'Arduino Mega or Mega 2560 w/ ATmega2560 (Mega 2560)'
Build folder: s/mega_atmega2560
SketchLibFolders
vr\lib\gcc\avr\4.3.2\include\;
Summary: Header=1 Prototypes=15 Imports=4
Additional Defines: VISUALMICRO_COMPILER_VER=1;
Architecture Tools: C:\Arduino\arduino-1.5.6-r2\hardware\tools\avr\bin\
GCC: 4.3.2
Sketchbook: file:///C:/Users/Christos/Documents/Arduino
"C:\Arduino\arduino-1.5.6-r2\hardware\tools\avr\bin\avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=150 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I"C:\Arduino\arduino-1.5.6-r2\hardware\arduino\avr\cores\arduino" -I"C:\Arduino\arduino-1.5.6-r2\hardware\arduino\avr\variants\mega" -I"C:\Arduino\arduino-1.5.6-r2\hardware\arduino\avr\libraries\SPI" atmega2560\epicSDCardFunctions.cpp" -o atmega2560\epicSDCardFunctions.cpp.o" -DVISUALMICRO_COMPILER_VER=1
epicSDCardFunctions.ino:20: error: 'File' does not name a type
epicSDCardFunctions.ino:21: error: 'File' was not declared in this scope
epicSDCardFunctions.ino:22: error: 'File' was not declared in this scope
epicSDCardFunctions.ino:23: error: 'File' was not declared in this scope
epicSDCardFunctions.ino:24: error: variable or field 'loadMimicFile' declared void
epicSDCardFunctions.ino:24: error: 'File' was not declared in this scope
epicSDCardFunctions.ino:29: error: variable or field 'loadMimicAddressesFromSD' declared void
epicSDCardFunctions.ino:29: error: 'File' was not declared in this scope
epicSDCardFunctions.ino:32: error: 'File' does not name a type
epicSDCardFunctions.ino:In function 'void setup()'
epicSDCardFunctions.ino:43: error: 'mimicFile' was not declared in this scope
epicSDCardFunctions.ino:43: error: 'FILE_WRITE' was not declared in this scope
epicSDCardFunctions.ino:43: error: 'openMimicFile' was not declared in this scope
epicSDCardFunctions.ino:49: error: 'loadMimicAddressesFromSD' was not declared in this scope
epicSDCardFunctions.ino:51: error: 'closeMimicFile' cannot be used as a function
epicSDCardFunctions.ino:At global scope
epicSDCardFunctions.ino:60: error: 'File' does not name a type
epicSDCardFunctions.ino:118: error: redefinition of 'bool closeMimicFile'
epicSDCardFunctions.ino:21: error: 'bool closeMimicFile' previously defined here
epicSDCardFunctions.ino:118: error: 'File' was not declared in this scope
epicSDCardFunctions.ino:130: error: redefinition of 'bool clearMimicFile'
epicSDCardFunctions.ino:22: error: 'bool clearMimicFile' previously defined here
epicSDCardFunctions.ino:130: error: 'File' was not declared in this scope
Error compiling
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiling 'BLINKER' with the Debugger and SoftwareSerial
Reply #24 - Feb 27th, 2014 at 9:49pm
 
Hi,

The libraries is the main area that is changing in Arduino at the moment. There isn't much difference , if any, in the functionality.

Currently we support up to 1.5.5-r2 beta which was released a month ago I think. You have installed 1.5.6-r2 beta which will be supported within the next few weeks. 

You can download 1.5.5 from here  http://arduino.cc/en/Main/OldSoftwareReleases#.Uw-xbfl_tbU

You can also follow our beta channel here which has more regular releases but current beta won;t handle the 1.5.6 library changes https://visualmicro.codeplex.com/releases/view/106554

Hopefully 1.5.x will be out of beta soon and things will settle down. They recommend the 1.5.x only for the Yun and the Due boards but that doesn't mean we will do what needs to be done.
« Last Edit: Feb 27th, 2014 at 9:49pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Christos
Junior Member
**
Offline


Posts: 30
Location: North Carolina
Joined: Feb 26th, 2014
Re: Compiling 'BLINKER' with the Debugger and SoftwareSerial
Reply #25 - Feb 28th, 2014 at 3:48am
 
Thanks again, I'll try that.

I have a Yun, too, which is why I am using 1.5.6-r2.  I have a bunch of different Arduinos.  They are nice for quick and dirty prototyping and general tomfoolery.
  
Back to top
 
IP Logged
 
Christos
Junior Member
**
Offline


Posts: 30
Location: North Carolina
Joined: Feb 26th, 2014
Re: Compiling 'BLINKER' with the Debugger and SoftwareSerial
Reply #26 - Feb 28th, 2014 at 12:05pm
 
Thanks again!  That solved it.  I really appreciate your support.
  
Back to top
 
IP Logged
 
Christos
Junior Member
**
Offline


Posts: 30
Location: North Carolina
Joined: Feb 26th, 2014
Re: Compiling 'BLINKER' with the Debugger and SoftwareSerial
Reply #27 - Feb 28th, 2014 at 12:12pm
 
Did you guys ever resolve the following bug?  It's very annoying.

"System.Exception: Visual Micro: Unable to save new program settings file ...\Visual Micro\Compile.vmps.xml ---> 

System.IO.IOException: The requested operation cannot be performed on a file with a user-mapped section open.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiling 'BLINKER' with the Debugger and SoftwareSerial
Reply #28 - Feb 28th, 2014 at 1:48pm
 
Yes this is Virus checker. Please exclude vmps.xml files or your sketch book folder.

Not sure which virus checker you use. One user reported this problem with trend micros virus checker. 

I think it's caused by us opening the file too often which we will try to prevent but it has only happened to a couple of users so a bit strange.

  
Back to top
IP Logged
 
Christos
Junior Member
**
Offline


Posts: 30
Location: North Carolina
Joined: Feb 26th, 2014
Re: Compiling 'BLINKER' with the Debugger and SoftwareSerial
Reply #29 - Feb 28th, 2014 at 2:30pm
 
Thanks
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint