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 Bootloader confusion (Read 4288 times)
Trek19
Junior Member
**
Offline


Posts: 91
Location: UK
Joined: Dec 2nd, 2013
Bootloader confusion
Jan 1st, 2016 at 2:03pm
Print Post  
On an Arduino UNO I usually use an AVRISP ISP but wanted to use the boot loader facility.
I selected "Burn Bootloader" from the VM menu. All went OK according to the verbose output.
Then I removed the ISP connection, unplugged the USB from the AVRISP  and plugged it into the UNO directly.
Then I selected Programmer as the STK500 but got a repeating time out message "avrdude: stk500v2_ReceiveMessage(): timeout"
After much experimenting I noticed that the "Always use Programmer for upload" was highlighted.
I deselected this and tried Build and Upload again but got the same message.
I then removed power from the UNO by unplugging the USB lead.
Then I tried uploading again and this time it worked.
OK reading your documentation about "Always use Programmer for upload" it says"If you have checked this menu item, then your uploads will be done via the programmer instead of a serial connection" but its directly below the Programmer selection implying its that programmer which will always be used.
It would be nice if the "Always use Programmer for upload" was disabled when the STK500 was selected. Not sure what can be done about the UNO requiring power off though.

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Bootloader confusion
Reply #1 - Jan 1st, 2016 at 3:32pm
Print Post  
Hi,

Does the uno still need to be powered off to upload using serial/usb?
  
Back to top
IP Logged
 
Trek19
Junior Member
**
Offline


Posts: 91
Location: UK
Joined: Dec 2nd, 2013
Re: Bootloader confusion
Reply #2 - Jan 2nd, 2016 at 1:36pm
Print Post  
From where I can Build & Upload OK, if I highlight the "Always use Programmer for upload" when I Build & Upload I then get the time-out message and cant see a way of stopping this repeating process.
I checked Device manager and it shows Arduino Uno (COM4)
I unplugged and re-plugged the serial port in and the time-out stopped.
I was then able to  Build & Upload normally.
« Last Edit: Jan 2nd, 2016 at 1:38pm by Trek19 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Bootloader confusion
Reply #3 - Jan 2nd, 2016 at 1:37pm
Print Post  
Why have you set it to use the programmer?
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint