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] 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) This board does not support the burning of a bootloader (Read 51922 times)
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Re: This board does not support the burning of a bootloader
Reply #20 - Mar 18th, 2014 at 6:34pm
Print Post  
Tim,

looks like that (&**"/!/! programmer does not work with 2560 MCUs  Shocked.

SparkFun suggested I tried to upload blink.ino with the adapter. Since that does not seem, possible in the Arduino's IDE, I tried from AtmelStudio with VisualMicro... I got that message for minutes:

Quote:
Uploading to I/O board using 'usbtinyisp'

Looks frozen  Embarrassed.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: This board does not support the burning of a bootloader
Reply #21 - Mar 19th, 2014 at 11:59am
Print Post  
First off, I would go on avrfreaks and ask how to set fuses and upload a .hex from atmel studio to a 2560

T
  
Back to top
IP Logged
 
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Re: This board does not support the burning of a bootloader
Reply #22 - Mar 20th, 2014 at 11:33pm
Print Post  
Tim,

some more information.

SparkFun support person suggested I try to upload blink.ino to the board using the programmer. Her theory is that the TinyUSB may not have enough memory to upload the bootloader for the Meg Pro Mini. Well I succeed in uploading blink.ino. I then tried to upload my own program, about 24 K, but didn't succeed. I also ask her which programmer they use to burn the bootloader to these board, and was told it's the AVRISP mkII.

So I got an AVRISP mkII this afternoon. Plugged it in and the driver automatically installed. All is fine I thought... no so  Embarrassed. I tried to burn the bootloader with Arduino's IDE and I am told no USB device found (can't recall the exact message).

I had a looked in Device Manager and found out under Jungo AVRISP mkII. I rebooted the computer, same error message. As far as I understand, all the programmer would use the same driver, libusb.

Tomorrow I will try to upload my program from AtmelStudio withe the AVRISP mkII, hoping it's going to work.

To you best knowledge, is there anything that needs to be installed for that programmer to work in AtmelStudio ? I got a CD with tools for AtmelStudio up to V 5, so I didn't install anything.

One more question: when uploading a program with a programmer, is there a need for a specific bootloader in the MCU ?

Gee, I never thought it would that completed to use a programmer  Cry.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: This board does not support the burning of a bootloader
Reply #23 - Mar 20th, 2014 at 11:46pm
Print Post  
Hi Gilles

Thanks for the update. It's been a long road but I am sure others will benefit from your painful research  Cry

1)
Yes that's a valid arduino error if the jungo drivers are installed. If you install the libusb drivers for your AVRISP Mkii then the Arduino Ide and "Tools>Visual Micro>Programmers" should work the same way but native Atmel Studio Device Programming will not work.

2)
My understanding is that as soon as you upload a sketch with a programmer the bootloader is wiped. So you don't need one if you use a programmer instead of usb for upload.

3)
If you subsequently re-apply the jungo drivers then native Atmel Studio will work again and the "Tools>Visual Micro>Atmel Programmers" will work. Because you are using custom sparkfun hardware you might not see the Visual Micro\Atmel programmers. They are a new feature in the beta, pls let me know if they are available for your hardware.
  
Back to top
IP Logged
 
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Re: This board does not support the burning of a bootloader
Reply #24 - Mar 21st, 2014 at 12:00am
Print Post  
If I get you right:

(1) I should remove the jungo driver
(2) Remove any libusb driver installed for the USBTinyISP programmer
(3) Install the libusb for AVRISP mkII (there seems to be only one kind of libusb driver ?!?)

Then I should be able to burn the bootloader with either Arduino's IDE and AtmelStudio+VisualMicro ?

I fear that next time I plug in the mkII, the jungo driver will be installed automatically.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: This board does not support the burning of a bootloader
Reply #25 - Mar 21st, 2014 at 12:29am
Print Post  
Yes remove the jungo driver is safest, right click the avrisp mkII in device manager and select delete driver. You can probably also uninstall jungo from control panel but I have never done that.

You probably need to disconnect and reconnect the avrisp after deleting the driver. It should appear in device manager with ! symbol. Then you can install libusb.

You don't need to remove the existing libusb for the tiny. Run through the libusb wizard again, pick the avrisp mkII from the list and click install at the end.

  
Back to top
IP Logged
 
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Re: This board does not support the burning of a bootloader
Reply #26 - Mar 21st, 2014 at 12:16pm
Print Post  
Tim,

still a nightmare  Embarrassed. I haven't succeded in getting rid of jungo. I deleted the mkII under jungo, and when I reconnect the mkII, the driver reinstalls. I found out here http://avrstudio5.wordpress.com/2011/12/02/setting-up-the-avr-jungo-usb-driver-m... instructions on how to remove jungo with wdreg (they6 use their own installer Angry.) I rebooted, connected the mkII and again the jungo re-installed. Since I am not able to get rid of it, I de-activated mkII under Jungo connectivity. No cure...

I tried burning the bootloader form the IDE after I removed mkII under jungo, and got:

Quote:
C:\Program Files (x86)\Arduino 1.0\hardware/tools/avr/bin/avrdude -CC:\Program Files (x86)\Arduino 1.0\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega2560 -cstk500v2 -Pusb -e -Uefuse:w:0xFD:m -Uhfuse:w:0xD4:m -Ulfuse:w:0xE2:m 

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino 1.0\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : usb
         Using Programmer              : stk500v2
avrdude: usbdev_open(): did not find any USB device "usb"

I tried with the mkII unplugged, and got the same.

So since I found out the libusb drivers for mkII, I tried to install: all I got is a cmd window that promptly disappears as it would not work.

You seems to say that the libusb installer would prompt for the programmer type. Where did you get that installer ?

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: This board does not support the burning of a bootloader
Reply #27 - Mar 21st, 2014 at 12:30pm
Print Post  
Yes it will not work with Jungo installed.

It's easier than this to uninstall jungo. I have done it lots of times and never had to run a utility.

When you say you are deleting jungo what exactly are you doing in device manager to delete it?
  
Back to top
IP Logged
 
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Re: This board does not support the burning of a bootloader
Reply #28 - Mar 21st, 2014 at 12:38pm
Print Post  
From http://avrstudio5.wordpress.com/2011/12/02/setting-up-the-avr-jungo-usb-driver-m...

in a cmd prompt I typed "wdreg.exe –inf windrvr6.inf uninstall". Maybe it's not enough. How do you remove jungo ???

I read somewhere that in control pannel > Program and Features that there should be an entry7 called "AVR Jungo", haven't found it.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: This board does not support the burning of a bootloader
Reply #29 - Mar 21st, 2014 at 12:40pm
Print Post  
Go to device manager, right click the avr isp and selected uninstall/remove when prompted to "permanently delete" the driver click yes. Do the same for anything that says jungo.

That's it
  
Back to top
IP Logged
 
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Re: This board does not support the burning of a bootloader
Reply #30 - Mar 21st, 2014 at 2:46pm
Print Post  
Tim,

some news.

Robert tested on a different computer. He cleaned it up from AtmelStudio, installed Arduino's IDE and the libusb driver for mkII.

Uploading blink.ino wqith the mkII worked fine... but trying to burn the bootloader, he got the "no usb found" message. Looks like the IDE does not address the programmer the same way when uploading a program and burning the bootloader.

No one is going to uninstall AtmelStudio and VisualMicro from my computer  Wink.

About Jungo, when deleting it, the check box says "remove that driver" and permanently is not shown. But I have a French Windows, maybe some dropped the word when translating.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: This board does not support the burning of a bootloader
Reply #31 - Mar 21st, 2014 at 2:51pm
Print Post  
Hi Gilles,

I was speaking from memory so the words might be slightly different.

What happens when trying to burn bootloader using the arduino ide?
  
Back to top
IP Logged
 
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Re: This board does not support the burning of a bootloader
Reply #32 - Mar 21st, 2014 at 3:05pm
Print Post  
The message is:

usbdev_open(): did not find any USB device "usb".

We get the same message when we try with the USBTinyUSP, for which the libusb driver is also installed.

But the IDE finds it (mkII) when it uploads a program.

I was able to try to burn the bootloader with the USBTinyISP. But there is a difference: I run Arduino 1.0.5 and Robert runs 1.0.5 r2 (added support Windows 8 and 8.1... and a bug ?).
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: This board does not support the burning of a bootloader
Reply #33 - Mar 21st, 2014 at 3:15pm
Print Post  
I don;t think it is anything to do with windows version. The arduino Ide just does what it does.
  
Back to top
IP Logged
 
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Re: This board does not support the burning of a bootloader
Reply #34 - Mar 21st, 2014 at 3:17pm
Print Post  
Not in Windows, but is it possible that in 1.0.5 r2, they introduced a bug ?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: This board does not support the burning of a bootloader
Reply #35 - Mar 21st, 2014 at 3:18pm
Print Post  
I doubt it but it is possible they are not very organized with their development. Do you get the same problem with Visual Micro?
« Last Edit: Mar 21st, 2014 at 3:19pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Re: This board does not support the burning of a bootloader
Reply #36 - Mar 21st, 2014 at 3:56pm
Print Post  
VisualMicro is not on Robert computer, because when AtmelStudio is installed, Jungo comes in.

I tried something on my computer. I plugged in the mkII, the /!/!"""% jungo driver installed, then I right-clicked it, and replaced by the lisbusb driver. Unplugged the mkII, plusg it again, it's now under lib-usb win32 devices  Cheesy.

If I try to upload blink.ino in VisualStudio+VisualMicro, no error message but « Uploading to I/O board using 'avrispmkii' » till the ends of time.

AtmekStudio is not frozen, afterwards I ask to burn the bootloader and get:

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at processing.app.debug.AvrdudeUploader.burnBootloader(Board boardPreferences, String programmerName)

I closed AtmelStudio, reloaded it and fisrt thing I asked to burn the bootloader: same message from .Net.

The I did another test, with IDE 1.0.5 and mkII:

  • I was able to upload blink.ino
  • Then I ask to burn the bootloader. No complain about the usb device... but got an error in verification:


Quote:
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
         0xcf != 0x0f
avrdude: verification error; content mismatch
avrdude: Sent: . [11] . [01] . [01] 
avrdude: Recv: . [11] . [00] 

avrdude done.  Thank you.

This time right at first byte.

Looks like I went over my device driver/talking issues, but burning the bootloader fails for still unknown reasons  Sad.

And looks like it proves my point about  abug in 1.0.5 r2 ?!?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: This board does not support the burning of a bootloader
Reply #37 - Mar 21st, 2014 at 3:59pm
Print Post  
Not sure, please remind me which board are you using
  
Back to top
IP Logged
 
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Re: This board does not support the burning of a bootloader
Reply #38 - Mar 21st, 2014 at 4:10pm
Print Post  
The SparkFun Pro Micro 3.3 v. You told me previously that the board definition is not per Arduino standard. When I tried first to burn the bootloader, VisualMicro told that the board does support bottloader burning - or something like this.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: This board does not support the burning of a bootloader
Reply #39 - Mar 22nd, 2014 at 2:35am
Print Post  
Gilles,

Did you switch on the verbose output in both the arduino ide and visual micro? This will show exactly what each is doing.
« Last Edit: Mar 22nd, 2014 at 2:35am by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 
Send TopicPrint