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
Hot Topic (More than 8 Replies) problem with upload to esp8266 and VisualMicro with VS2010 (Read 13899 times)
icodk
Junior Member
**
Offline


Posts: 10
Joined: May 2nd, 2015
problem with upload to esp8266 and VisualMicro with VS2010
May 2nd, 2015 at 8:22am
Print Post  
Visual Micro with VS2010 compiles OK but try to  upload to esp8266 with avardude and failes:
-----------------------------------
Binary sketch size: 202.020 bytes (used 39% of a 524.288 byte maximum) (1,67 secs)
Uploading to I/O board using 'COM1'
Uploader started for board Generic ESP8266 board
Upload method will be: bootloader
Uploading via Bootloader 
Flushing the serial port
C:\Temp\arduino-1.6.1-p1-windows\arduino-1.6.1\hardware\tools\avr\bin\avrdude .conf" -v -v -v -v -pesp8266 -c -P\\.\COM1 -b115200 -D -V FiSensor.hex":i
avrdude: Version 6.0.1, compiled on Jan 15 2015 at 16:58:43
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is onf"


avrdude: Can't find programmer id "-P\\.\COM1"
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #1 - May 2nd, 2015 at 2:35pm
Print Post  
Hi,

Correct me if I am wrong but in the Esp Ide you can not sue the standard upload you have to selected the "esptool" programmer then click "File>Upload using programmer"?

If that is the case then in Visual Micro select the "esptool" from "Tools>Visual Micro>Programmers", then tick "Tools>Visual Micro>Upload using programmer". Then all Visual Micro upload functions will use the programmer instead of the standard serial upload.
  
Back to top
IP Logged
 
icodk
Junior Member
**
Offline


Posts: 10
Joined: May 2nd, 2015
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #2 - May 4th, 2015 at 1:54pm
Print Post  
What do you mean by ESP Ide ? if it is VS you are referring to,
then I can't find Files->Uploading using programmer 
Also the Tools->Visual Micro-> programmers does not show any ESP relevant option. Please see attached file
.. and thanks a lot for trying helping
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #3 - May 4th, 2015 at 2:18pm
Print Post  
Hi,

1)
Please email the image to info [at] visualmicro.com

2)
Please explain the steps you took to install the esp8266 hardware. There are a couple of different methods one is installing their own ide the other is adding to an Arduino ide installation. Please confirm the version number of the Arduino/esp Ide.

Thanks
« Last Edit: May 5th, 2015 at 11:38am by Tim@Visual Micro »  
Back to top
IP Logged
 
icodk
Junior Member
**
Offline


Posts: 10
Joined: May 2nd, 2015
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #4 - May 5th, 2015 at 6:51am
Print Post  
Please see attached file
Now how I installed the Arduino Ide for ESP :
1. I download the zip file for Windows (arduino-1.6.1-p1-windows.zip) from gihub at:
https://github.com/esp8266/Arduino

2. Unzip it to my C:\Temp so I got: C:\Temp\arduino-1.6.1-p1-windows. And there I start the Arduino Ide and everything works fine

3. However my project is in another folder at C:\Users\ico\Google Drive\ESP8266Projects\WiFiSensor
and also there everything is working fine, 
3.1 To compile my program with the arduino Ide I start the arduino Ide in C:\Temp\arduino-1.6.1-p1-windows\arduino.exe
3.2. Then I navigate to my project at C:\Users\ico\Google Drive\ESP8266Projects\WiFiSensor and load the WiFiSensor.ino file
3.3 Then I can compile and upload to the hardware.
3.4 To use Visual Micro (after installed the latestĀ  beta version) I start VS2010 and Files->Open->Scatch Project the WiFiSensor.ino file at C:\Users\ico\Google Drive\ESP8266Projects\WiFiSensor .
3.5 Then I can compile without problem but can't upload because it select the avrdude: instead of espTools
See the attached file to see how my Visual studio/Visual Micro menus looks like
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #5 - May 5th, 2015 at 11:38am
Print Post  
Please email the image to info [at] visualmicro.com
Please email the image to info [at] visualmicro.com
Please email the image to info [at] visualmicro.com
Please email the image to info [at] visualmicro.com
  
Back to top
IP Logged
 
icodk
Junior Member
**
Offline


Posts: 10
Joined: May 2nd, 2015
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #6 - May 5th, 2015 at 11:52am
Print Post  
Just mail it again Check your spam filter
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #7 - May 5th, 2015 at 12:03pm
Print Post  
Oh sorry thanks a lot.

I'll take a look. There was a bug fix in the last few days for third party non-arduino programmers.

Out of interested, when you tried with arduino 1.6.3 and not the esp ide, where did you download the hardware defs from?

Obviously I need both the esp ide and the arduino ide to work for this.

Thanks
  
Back to top
IP Logged
 
icodk
Junior Member
**
Offline


Posts: 10
Joined: May 2nd, 2015
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #8 - May 5th, 2015 at 12:16pm
Print Post  
As I wrote in point 1 I just downloaded the zip fle and unzipped it. Thats all. Never had an Arduino Ide on my computer before. What do you mean by ESP Ide ?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #9 - May 5th, 2015 at 12:31pm
Print Post  
I see.

The zip you downloaded is a complete ide, a modified version of the Arduino 1.6.1 Ide which automatically uses the esp programmer for upload.

It is also possible get the basic hardware defs and install them into the genuine Arduino ide but Visual micro is designed to support either.

It would help if you upgraded to the latest Visual micro release. This past month has seen huge changes in Arduino and Visual Micro is just coming out of the mud Smiley There was a programmer fix last week for 3rd party non-arduino hardware which might fix the issue if not let me know and I will fix it later today.

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #10 - May 5th, 2015 at 12:56pm
Print Post  
Oh just found this, the esp8266 guys might have changed things in the last 8 days or so. I will retest.

https://github.com/esp8266/Arduino/issues/138
  
Back to top
IP Logged
 
icodk
Junior Member
**
Offline


Posts: 10
Joined: May 2nd, 2015
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #11 - May 5th, 2015 at 1:13pm
Print Post  
Hi
Just download and re installed visual Micro,  open  Scatch project (after I deleted the old) Still the same problem: It selects wrong programmer
Thanks for all your efforts
--------------- this is what I get:
Binary sketch size: 204.956 bytes (used 39% of a 524.288 byte maximum) (1,68 secs)
Uploading to I/O board using 'COM1'
Uploader started for board Generic ESP8266 board
Upload method will be: bootloader
Uploading via Bootloader 
Flushing the serial port
C:\Temp\arduino-1.6.1-p1-windows\arduino-1.6.1\hardware\tools\avr\bin\avrdude .conf" -v -v -v -v -pesp8266 -c -P\\.\COM1 -b115200 -D -V FiSensor.hex":i
avrdude: Version 6.0.1, compiled on Jan 15 2015 at 16:58:43
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is onf"


avrdude: Can't find programmer id "-P\\.\COM1"
Valid programmers are:
.
.

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #12 - May 5th, 2015 at 1:25pm
Print Post  
Hi,

I just downloaded the latest esp ide and installed the latest visual micro.

I set the esp ide location for the esp app entry in visual micro

When i selected the generic esp board the programmers list had only the esp tool showing. I ticked it.

Then I ticked "tools>visual micro>upload using programmer" and after that all worked fine.

The error you see is because you have not ticked "upload using programmer" but you first need to see the "esp tool" in the programmers list.

So you should select the Uno board then the generic esp board again. See if the programmers list now shows the esp tool? If so tick "upload using programmer"

thanks
« Last Edit: May 5th, 2015 at 1:46pm by Tim@Visual Micro »  
Back to top
IP Logged
 
icodk
Junior Member
**
Offline


Posts: 10
Joined: May 2nd, 2015
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #13 - May 5th, 2015 at 1:45pm
Print Post  
Thanks a milion it WORKS !
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #14 - May 5th, 2015 at 1:46pm
Print Post  
Great thanks
  
Back to top
IP Logged
 
icodk
Junior Member
**
Offline


Posts: 10
Joined: May 2nd, 2015
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #15 - May 6th, 2015 at 10:31am
Print Post  
On enhancement you might want to consider: esptool while programming, displays dots(...) as progress indication. Could be nice to be able to follow. instead of just seeing it at the end.
Thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: problem with upload to esp8266 and VisualMicro with VS2010
Reply #16 - May 6th, 2015 at 12:20pm
Print Post  
yes all uploads at the moment do not use a separate thread so status info is only shown at the end of the process. It's on the list to change this but never quite makes it to the top Smiley You need to ask Arduino to slow down with their changes Smiley
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint