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) SPIFFS and serial port monitor (Read 13750 times)
Acuario
Full Member
***
Offline


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
SPIFFS and serial port monitor
Aug 24th, 2016 at 7:48am
Print Post  
Hi,
I usually have the serial port monitor when developing to see my debug output.
I have found that when trying to upload SPIFFS data using the 'Publish server data files' menu item I have to manually disconnect (pressing the 'Connect' button) otherwise I get a comm error:
error: Failed to open COM20
error: espcomm_open failed
SPIFFS Upload failed!

Can the process be automated as per the normal upload?

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: SPIFFS and serial port monitor
Reply #1 - Aug 24th, 2016 at 8:34pm
Print Post  
Thanks for the post.

If spiffs is using the serial port then you are right the port management could be better automated. 

I'll try to take a look.

Does spiffs allow network upload or only serial? I can't recall.
  
Back to top
WWW  
IP Logged
 
Acuario
Full Member
***
Offline


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
Re: SPIFFS and serial port monitor
Reply #2 - Aug 25th, 2016 at 6:09am
Print Post  
I'm using serial - it can be done OTA as well if you write code for it.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: SPIFFS and serial port monitor
Reply #3 - Aug 25th, 2016 at 12:53pm
Print Post  
Ok thanks
  
Back to top
WWW  
IP Logged
 
Acuario
Full Member
***
Offline


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
Re: SPIFFS and serial port monitor
Reply #4 - Aug 30th, 2016 at 4:32pm
Print Post  
As a thought, it would be a nice feature to have a toolbar button for the Publish data files, or the ability to customise the toolbar to add it. 
I tried to customise my toolbar to add it but the menu item didn't seem to be available.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: SPIFFS and serial port monitor
Reply #5 - Aug 30th, 2016 at 4:40pm
Print Post  
Yes good idea.

It should be available. Did you see the list of Visual Micro commands in the customise area and it was missing or didn't find the list of Visual Micro commands?
  
Back to top
WWW  
IP Logged
 
Acuario
Full Member
***
Offline


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
Re: SPIFFS and serial port monitor
Reply #6 - Aug 31st, 2016 at 4:05am
Print Post  
It is missing. I click on the toolbar button and go:
Add or remove buttons
Customise
Add command
vMicro

The commands are listed but not the Publish server data files one.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: SPIFFS and serial port monitor
Reply #7 - Aug 31st, 2016 at 7:00am
Print Post  
I think it is "SketchUploadWwwFiles" 

The same command is used for different boards such as the Arduino Yun. The Yun has the ability for on-board web server files uploaded via SSH from sketch\www.

As you know esp8266 spiffs is similar but different transport/upload (easier for me) and from folder sketch\data

  
Back to top
WWW  
IP Logged
 
Acuario
Full Member
***
Offline


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
Re: SPIFFS and serial port monitor
Reply #8 - Aug 31st, 2016 at 5:13pm
Print Post  
Yes, that's the one - thanks. Would still appreciate com port connection management when using this function Smiley
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: SPIFFS and serial port monitor
Reply #9 - Aug 31st, 2016 at 5:35pm
Print Post  
Yes it's definitely on the short term list, makes a lot of sense
  
Back to top
WWW  
IP Logged
 
Acuario
Full Member
***
Offline


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
Re: SPIFFS and serial port monitor
Reply #10 - Jan 18th, 2017 at 8:05am
Print Post  
Any idea on when this may get into the build?

Also, previously (I can't say when exactly) the tool output was displayed on the output window during assembly/upload. 

Currently nothing is shown until around 80% complete and with a message 'Process must exit before requested information can be determined.' The same is true both for upload using the COM port and for OTA. The Serial window exhibits the same delay on status information.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: SPIFFS and serial port monitor
Reply #11 - Jan 18th, 2017 at 1:31pm
Print Post  
What version of esp8266 core are you using.

The spiffs stuff is managed by an .exe that has not changed. It was a direct copy of the jar files that the arduino ide uses for spiffs.

I can look at it no problem but please confirm the extact esp8266 hardware/board-manager version you are using.

Thanks
  
Back to top
WWW  
IP Logged
 
Acuario
Full Member
***
Offline


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
Re: SPIFFS and serial port monitor
Reply #12 - Jan 18th, 2017 at 2:41pm
Print Post  
Hi,
I'm using the esp8266 versiĆ³n 2.3.0 and the latest visual micro build.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: SPIFFS and serial port monitor
Reply #13 - Jan 21st, 2017 at 5:42pm
Print Post  
are we still talking about spiffs or does this now relate to normal upload?

If normal upload is it serial or using ip address?

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: SPIFFS and serial port monitor
Reply #14 - Feb 6th, 2017 at 2:48am
Print Post  
The spiffs upload has been improved. Serial does not yet auto disconnect and reconnect but the upload progress is much better.

There is a link to the next release at the top of this post if you want to try it.
  
Back to top
WWW  
IP Logged
 
Acuario
Full Member
***
Offline


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
Re: SPIFFS and serial port monitor
Reply #15 - Jun 5th, 2017 at 7:11pm
Print Post  
Hi, any progress on the serial connect/disconnect - it isn't yet working on the latest 8th May build...
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: SPIFFS and serial port monitor
Reply #16 - Jun 5th, 2017 at 7:14pm
Print Post  
Sorry, it's almost top of the list. I had a lot of bugs related to vs2017 and Arduino changes/improvements for last release but the list is clearer now.
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: SPIFFS and serial port monitor
Reply #17 - Jun 26th, 2017 at 12:32pm
Print Post  
This is implemented in the next release 1706.25
« Last Edit: Jun 26th, 2017 at 12:32pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint