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 Argument out of range exception burning bootloader (Read 5149 times)
ArduinoUser
Newbies
*
Offline


Posts: 2
Joined: Jan 29th, 2013
Argument out of range exception burning bootloader
Sep 26th, 2013 at 2:10am
Print Post  
starting with the latest version I am getting an argument out of range exception when i attempt to burn the bootloader.

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at processing.app.debug.AvrdudeUploader.burnBootloader(Board boardPreferences, String programmerName)


I'm using an USBTinyISP, Arduino Uno. this did not happen on the previous version, but i uninstalled and reinstalled the old version and it is happening then also. it does not appear the uninstall worked right, because the micro apps combo box still appears when I reinstall the old version, that box was new with the current one.

currently installed version is 
1.1309.11

writing an actual program via the programmer seems to work, just not burning the bootloader. please help!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Argument out of range exception burning bootloader
Reply #1 - Sep 26th, 2013 at 10:45am
Print Post  
Hi Mike,

Please shutdown all ide instances then in "add or remove programs" uninstall Visual Micro for Arduino.

Then run the latest installer.

If when the ide opens the user interface is wrong then click Tools>Reset User Interface"

If there is a still a problem please post and I will give you a couple of other steps but it is probably more likely that the upgrade failed to overwrite some files. The uninstall and reinstall will give a clean vm system.

Thanks
  
Back to top
IP Logged
 
ArduinoUser
Newbies
*
Offline


Posts: 2
Joined: Jan 29th, 2013
Re: Argument out of range exception burning bootloader
Reply #2 - Sep 27th, 2013 at 2:42am
Print Post  
Thank you for the quick response! I tried the steps suggested but I still have the same error while attempting to burn the bootloader.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Argument out of range exception burning bootloader
Reply #3 - Sep 27th, 2013 at 12:35pm
Print Post  
Hi Mike,

Yes in the last couple of versions we have added support for arduino 1.5. The design of 1.5 allows for different programmers for each architecture so when you select a board the list of programmers (on the menus) is changed to be in context with the architecture of the board (avr/sam etc.)

It sounds like the burning of the bootloader is broken but we will test during this weekend.

In the meantime please burn the bootloader using the Arduino Ide and sorry for the hassle.

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Argument out of range exception burning bootloader
Reply #4 - Dec 18th, 2013 at 9:57pm
Print Post  
Fixed in the next release due over the next couple of weeks. 

Thanks again for the report.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint