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 Error on uploading SPIFFS in VS2015 (Read 5548 times)
Red Baron
Member
***
Offline


Posts: 112
Location: Germany
Joined: Jul 29th, 2015
Error on uploading SPIFFS in VS2015
Sep 8th, 2016 at 4:24pm
Print Post  
Hi,

VM-Version: 1.1609.01 Minor: 02

vMicro -> Upload Server Data Files gives the following error:

ESP8266FSUpload.exe

"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\y101gcov.ev3/ESP8266FSUpload.exe" -serial.port=192.168.178.34 2" -target_platform="esp8266" 8266\tools\mkspiffs\0.1.2" -board.name="NodeMCU 1.0 (ESP-12E Module)" -upload.verbose=True -upload.resetmethod=nodemcu -upload.speed=115200 esp8266\2.2.0" -project.name="ESP8266-WLAN-Steckdose.ino" -project.path="C:\Users\Ulli\Documents\Arduino\ESP8266-WLAN-Steckdose" -tools.esptool.cmd="esptool.cmd" 266\tools\esptool\0.4.8" nsa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/" -build.spiffs_start="{build.spiffs_start}" -build.spiffs_end="{build.spiffs_end}" -build.spiffs_pagesize="{build.spiffs_pagesize}" -build.spiffs_blocksize="{build.spiffs_blocksize}"

"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\y101gcov.ev3/ESP8266FSUpload.exe" -serial.port=192.168.178.34 2" -target_platform="esp8266" 8266\tools\mkspiffs\0.1.2" -board.name="NodeMCU 1.0 (ESP-12E Module)" -upload.verbose=True -upload.resetmethod=nodemcu -upload.speed=115200 esp8266\2.2.0" -project.name="ESP8266-WLAN-Steckdose.ino" -project.path="C:\Users\Ulli\Documents\Arduino\ESP8266-WLAN-Steckdose" -tools.esptool.cmd="esptool.cmd" 266\tools\esptool\0.4.8" nsa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/" -build.spiffs_start="{build.spiffs_start}" -build.spiffs_end="{build.spiffs_end}" -build.spiffs_pagesize="{build.spiffs_pagesize}" -build.spiffs_blocksize="{build.spiffs_blocksize}"

System.FormatException: Die Eingabezeichenfolge hat das falsche Format.
   bei System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   bei ESP8266FSUpload.ESP8266FS.getIntPref(String name)
   bei ESP8266FSUpload.ESP8266FS.createAndUpload()

It's German and means: The input string has the wrong format.

What can I do to upload Files to SPIFFS?

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error on uploading SPIFFS in VS2015
Reply #1 - Sep 8th, 2016 at 4:29pm
Print Post  
Hi,

Please switch on vMicro>Compiler>Show build properties then build and email or post a .txt with the output

If you email please include link to this post to info[at]visualmicro.com

Please also confirm that in the arduino ide you have a menu item of the same name and that it uploads spiffs correctly. It might be you have an old version of esp installed (but not sure at this point).

Thanks

  
Back to top
IP Logged
 
Red Baron
Member
***
Offline


Posts: 112
Location: Germany
Joined: Jul 29th, 2015
Re: Error on uploading SPIFFS in VS2015
Reply #2 - Sep 8th, 2016 at 4:51pm
Print Post  
I updated to eps v2.3.0. (former version was 2.2.0). Works fine now.

Thank you for the hint!
  
Back to top
 
IP Logged
 
Red Baron
Member
***
Offline


Posts: 112
Location: Germany
Joined: Jul 29th, 2015
Re: Error on uploading SPIFFS in VS2015
Reply #3 - Sep 14th, 2016 at 7:45am
Print Post  
Creating a new project and adding a 'data' directory to the solution via windows explorer gives the same problem. After closing and reopening VS, upload works fine.

« Last Edit: Sep 14th, 2016 at 7:46am by Red Baron »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error on uploading SPIFFS in VS2015
Reply #4 - Sep 14th, 2016 at 12:18pm
Print Post  
There is a refresh button above the solution explorer which forces the solution explorer to rediscover changes made in windows explorer while the solution is open. That might sort it.

There is also a "show all files" button above the solution explorer which allows you to see the physical files and folders on disk and to add folders. Maybe that will work better than using windows explorer?

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