arduino-esp8266fs-plugin icon indicating copy to clipboard operation
arduino-esp8266fs-plugin copied to clipboard

On IDE 1.6.7: Error with uploading

Open nouser2013 opened this issue 8 years ago • 6 comments

Greetings,

I'm on IDE 1.6.7 and it fails with the upload. I set everything up as described, and I can upload a sketch with no problems, and it seems to compile the 3 MB of file system binary, but uploading results in these messages:

[SPIFFS] data   : U:\ ..... \main\data
[SPIFFS] size   : 3052
[SPIFFS] page   : 256
[SPIFFS] block  : 8192
/test.txt

[SPIFFS] upload : C:\ [...] 8b9a9.spiffs/main.spiffs.bin
[SPIFFS] reset  : ck
[SPIFFS] port   : COM8
[SPIFFS] speed  : 115200
[SPIFFS] address: 0x100000

warning: espcomm_sync failed
error: espcomm_open failed
SPIFFS Upload failed!

Am I doing something wrong?

Thanks

nouser2013 avatar Jan 03 '16 23:01 nouser2013

I am also having this error with Arduino 1.6.7 - any ideas on where to start?

SPIFFS] data : [...]/microprocessor/esp8266/data [SPIFFS] size : 3052 [SPIFFS] page : 256 [SPIFFS] block : 8192 /configuration.json [SPIFFS] upload : /var/folders/b9/qxp1bgjn2ylg5q4xryzs5j6c0000gn/T/build711ec71dfd91376c16d149a0d722a494.spiffs/esp8266.spiffs.bin [SPIFFS] address: 0x100000 [SPIFFS] reset : ck [SPIFFS] port : /dev/cu.SLAB_USBtoUART [SPIFFS] speed : 115200

warning: espcomm_sync failed error: espcomm_open failed SPIFFS Upload failed!

jongross avatar Jan 29 '16 14:01 jongross

looks like esptool problem. You do have the serial monitor closed right? You can not have it open and upload like it's done with the sketches, because we do not have access from the tool to the serial port to disconnect it.

me-no-dev avatar Jan 29 '16 15:01 me-no-dev

yeah it was closed - I just figured out the issue - the connection I have here to the chip is supposed to trigger bootload mode before doing anything but it isn't happening, so ground pin0 and rebooting the chip worked.

Thanks for the quick response.

jongross avatar Jan 29 '16 16:01 jongross

BTW the new version of the plugin uploads over OTA as well :) you might find it easier and much faster

me-no-dev avatar Jan 29 '16 16:01 me-no-dev

I'm implementing that piece now, cheers!

jongross avatar Jan 29 '16 21:01 jongross

I missed to bring my ESP-01s into flash mode before using the tool. Please add this to the documentation.

kdupke avatar Jan 09 '19 00:01 kdupke