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 Missing method error, Atmel Studio 6.2 (Read 9137 times)
Dave Telling
Newbies
*
Offline


Posts: 8
Joined: Mar 18th, 2015
Missing method error, Atmel Studio 6.2
Mar 18th, 2015 at 4:19pm
Print Post  
I have Atmel Studio 6.2 installed on a W7 system, and it works just fine for "standard" Atmel projects. I wanted to try the Arduino capability, so I ran the .msi file I downloaded from the add-ons window that popped up when 6.2 started. I can set the Arduino board, device, serial port, etc. and load in a sketch, but when I try to build the project (and I have tried several) I get an error: 

"Compiling 'Blink' for 'Arduino Pro or Pro Mini w/ ATmega328 (5V, 16 MHz)'
System.MissingMethodException: Method not found: 'Void Visual.Micro.Utils.MCUPreferencesMap.put(System.String, System.String, Boolean)'.
   at processing.app.SketchCompilerArduino.compile(SketchBuilder lsketch, String primaryClassName, Boolean verbose, Boolean isDebug)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.CompileDo(Project oProject, Boolean IsDebugStartCommand)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.Compile(Project oProject, Boolean IsDebugStartCommand)"


I have no idea to what this refers. While this inability to do Arduino projects in Studio 6 is not necessarily a deal-breaker, I was really hoping to be able to use the debug capability of the Dragon on my Arduino projects.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Missing method error, Atmel Studio 6.2
Reply #1 - Mar 18th, 2015 at 4:40pm
Print Post  
Hi Dave,

Today is new release day and I suspect you are stuck between versions

Please install the version from here http://www.visualmicro.com/page/Arduino-Visual-Studio-Downloads.aspx

Thanks
  
Back to top
IP Logged
 
Dave Telling
Newbies
*
Offline


Posts: 8
Joined: Mar 18th, 2015
Re: Missing method error, Atmel Studio 6.2
Reply #2 - Mar 18th, 2015 at 6:15pm
Print Post  
Hello Tim,
I did, in fact, install the latest release before trying the Arduino sketch, so I don't think that is the problem. Is there a way to remove/reload the Visual Studio Arduino tool?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Missing method error, Atmel Studio 6.2
Reply #3 - Mar 18th, 2015 at 6:19pm
Print Post  
Hi

The release was updated twice today within the space of an hour.

Thanks
  
Back to top
IP Logged
 
Dave Telling
Newbies
*
Offline


Posts: 8
Joined: Mar 18th, 2015
Re: Missing method error, Atmel Studio 6.2
Reply #4 - Mar 18th, 2015 at 9:46pm
Print Post  
OK, I re-did the download, tried a sketch and it compiled! However, In trying to debug the app, I have selected AVR Dragon/debugWire as the tool and these show up on th eIDE. If I click the "debug" icon, I get this:

Uploading to I/O board using 'ArduinoISP'
Error during upload using programmer
avrdude: Error: Could not find USBtiny device (0x2341/0x49)

The uploader returned an error

Note - I'm using the AVR Dragon, not the AVRIsp, and I do not know what is meant about the comment re the tinyUSB device. I have a USB to serial cable connected to the ATmega328, and I know this works, as I have ran an earlier sketch that used the UART  on the device. I'm getting closer, but still have some issues.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Missing method error, Atmel Studio 6.2
Reply #5 - Mar 18th, 2015 at 9:56pm
Print Post  
Good to hear the compiler is working for 1.6.1

The tools,visual micro,programmers menu shows a list of supported programmers

Usb tiny is the first one so auto selected when you enable using programmer

The vm debugger is a usb debugger for people who do not have a programmer

You can use the dragon but via Atmel file,open object file for debug

Please create a new thread if you need more help about this

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint