• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Problem uploading spiffs to ESP8266. Something is wrong with the files in the data dir.

Q&A Forum › Category: ESP8266 › Problem uploading spiffs to ESP8266. Something is wrong with the files in the data dir.
0 Vote Up Vote Down
Kurt Hansson asked 6 years ago
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi Kurt.
Can you tell me exactly the error that you get?
Regards,
Sara

0 Vote Up Vote Down
Kurt Hansson answered 6 years ago

Arduino:1.8.10 (Mac OS X), Kort:”NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:1MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200″
Executable segment sizes:
IROM : 265916 – code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 26696 / 32768 – code in IRAM (ICACHE_RAM_ATTR, ISRs…)
DATA : 1240 ) – initialized variables (global, static) in RAM/HEAP
RODATA : 1680 ) / 81920 – constants (global, static) in RAM/HEAP
BSS : 25136 ) – zeroed variables (global, static) in RAM/HEAP
Sketch uses 295532 bytes (28%) of program storage space. Maximum is 1044464 bytes.
Global variables use 28056 bytes (34%) of dynamic memory, leaving 53864 bytes for local variables. Maximum is 81920 bytes.
[SPIFFS] data : /Users/kurt/Documents/Arduino/spiffs_test/data
[SPIFFS] size : 1000
[SPIFFS] page : 256
[SPIFFS] block : 8192
/test_example.txt
skipping .DS_Store
[SPIFFS] upload : /var/folders/gz/w3h52cpj2475jh4js9krskf40000gn/T/arduino_build_17076/spiffs_test.spiffs.bin
[SPIFFS] address : 0x300000
[SPIFFS] reset : –before default_reset –after hard_reset
[SPIFFS] port : /dev/cu.usbserial-0001
[SPIFFS] speed : 115200
[SPIFFS] python : python
[SPIFFS] uploader : /Users/kurt/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.1/tools/upload.py
usage: esptool write_flash [-h] [–erase-all]
[–flash_freq {keep,40m,26m,20m,80m}]
[–flash_mode {keep,qio,qout,dio,dout}]
[–flash_size FLASH_SIZE]
[–spi-connection SPI_CONNECTION] [–no-progress]
[–verify] [–encrypt]
[–ignore-flash-encryption-efuse-setting]
[–compress | –no-compress]
<address> <filename> [<address> <filename> …]
esptool write_flash: error: argument <address> <filename>: Must be pairs of an address and the binary filename to write there
SPIFFS Upload failed!
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi Kurt.
That seems to be a recent issue with the plugin.
Read this discussion: https://github.com/esp8266/Arduino/issues/6777
They provide some suggestions to fix that issue.
I hope this helps.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.