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 OTA Question (Read 2981 times)
n
Junior Member
**
Offline


Posts: 52
Joined: Mar 29th, 2016
OTA Question
Jun 1st, 2016 at 12:34am
Print Post  
Hi,

I have just upgraded to 1605.28 and something has changed in the OTA procedure which I cannot seem to figure out. Previously there were 9 options under the vmicro menu item and one of them was to choose OTA for flashing. I now have only 8 options and the one to select OTA has disappeared - how do I do this now? 

If I input the IP address in the project properties then I get the message 

Uploading 'ESPEasy' to 'Generic ESP8266 Module' using '192.168.1.74:8266'
Usage: espota.py [options]
Upload failed
espota.py: error: option -p: invalid integer value: '{network.port}'

I have not changed my boards.txt which still contains the line:

network.port=8266

Thanks for your help

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: OTA Question
Reply #1 - Jun 1st, 2016 at 12:59am
Print Post  
Hi,

The change is not due to Visual Micro it means you have installed a new esp8266 core via boards manager. Their new core works a different way. In fact it's a better system because it works the same as some other Arduino boards and is more flexible for developers.

If you take a look at the visualmicro.com home page there is a note about OTA for esp8266 at the top. It's a link to the esp8266 page on visualmcicro.com Also there is a note about it in the 6th of May release

You will read that if you are a licensed user you can provide the missing port property via the new project>board.txt system or you can install the Apple Bonjour for Windows service that esp8266 and Arduino recommend.

Is Arduino supporting the :8266 syntax with Ip address? Haven't seen that used with esp8266 before.
« Last Edit: Jun 1st, 2016 at 1:02am by Tim@Visual Micro »  
Back to top
IP Logged
 
n
Junior Member
**
Offline


Posts: 52
Joined: Mar 29th, 2016
Re: OTA Question
Reply #2 - Jun 1st, 2016 at 5:32am
Print Post  
Hi Tim,

You are absolutely right - I installed core 2.2 at the same time as the 1605.28 upgrade.

I am a licensed user and have been using the board.txt method to specify the upload port option in vm 1605.10 with core 2.1 with no problems. Now that I have upgraded to 1605.28/core 2.2 this no longer seems to work and I don't understand why.  

In order to try to troubleshoot my problem I enabled 'verbose messages' during a 'Build and Upload' operation - and to my surprise OTA worked! It repeatedly does not work when 'verbose messages' is switched off. I know this sounds really weird but I have tried it several times with the same result????!! Any ideas?

The :8266 syntax is not supported by Arduino - it was just one of my many attempts to input some port information!!

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