Comments
Strange thing I never saw, today I tried to put on SPIFFS the content of «data» folder and when I select «ESP8266 Sketch Data upload» entry on tool menu of Arduino IDE (1.6.5) I’ve got
SPIFFS Error: esptool not found!
, but flash sketch works fine and with esptool (in blue below), so may be wrong tool in definition and should use MKSPIFFS tool ?
It was working last time I used it (may be a month ago before big build repo change)
I have same problem, I use «Using git version» install hardware package in README.md.
copy tools\esptool\esptool.exe to tools\
copy tools\mkspiffs\mkspiffs.exe to tools\
It’s work for me.
Copy link
Contributor
Author
@wemos
Thanks, that did the trick
By the way I ordered 5 Wimos Mini D1 boards, they look fine and I like the size
Will it be possible to have schematics of the main board (not the module with ESP8266) or is it private ?
Copy link
Contributor
Author
@igrr
Correct updating this file works also (of course I deleted the both files copied earlier to test)
Another trick worth putting into documentation. You’re telling to put he jar file here
<home_dir>/Arduino/tools/ESP8266FS/tool/esp8266fs.jar)
which is the classic way. But if you’re like me, you have multiple version of Arduino IDE you need each time to copy files from each other.
To avoid this, there is another solution I’m using for long now is to setup my sketchbook location away from IDE setup like the following screen
Like this you can put tool into
<sketchbook_home>/tools/ESP8266FS/tool/esp8266fs.jar
and this work with every version of IDE you installed. An more than this it works also for libraries and hardware folder
in my case I’ve got cloned esp8266 git repo into
s:\Skydrive\devt\Arduino\hardware\esp8266com\esp8266
and other classics are in
s:\Skydrive\devt\Arduino\libraries
s:\Skydrive\devt\Arduino\tools
Each time I test dev Arduino IDE (1.6.7 for example) or latest (1.6.6) I just need to setup my sketchbook folder, fine
I have same problem, I use «Using git version» install hardware package in README.md.
copy tools\esptool\esptool.exe to tools\ copy tools\mkspiffs\mkspiffs.exe to tools\
It’s work for me.
works for me too on ESP32 Huzzah
On OSX, to fix this, install the esptool.py using pip install esptool
or pip3 install esptool
. Restart Arduino IDE and the esptool will now be detected.
Loading
Hi Alexandre.
Hi don’t know what might be wrong.
I never had any problem installing the SPIFFS plugin.
The best way to get help is to publish an issue in the plugin issues tab:https://github.com/me-no-dev/arduino-esp32fs-plugin/issues
I didn’t understand if you can see the “Data Sketch Upload” option in your Arduino IDE or not.
And what was exactly the issue with the folder? It didn’t include the .jar file?
Regards,
Sara
Good morning Sara thanks for the answer I will try to detail in three steps:
FIRST: When I download and unzip the esp32fs file for C: \ Alexandre_Duarte \ ARDUINO_1.8.8 \ tools in the end it was like this C: \ Alexandre_Duarte \ ARDUINO_1.8.8 \ tools \ ESP32FS \ tool \ com \ esp32 \ mkspiffs inside the mkspiffs folder there is no .jar file but three files ESP32FS $ 1.class ESP32FS $ 2.class ESP32FS.class many folders inside others and none of the .jar file. SECOND: on the arduino ide, the options for loading SPIFFS for esp 32 appear.
THIRD AND LAST:when I click on the option "ESP32 Data Sketch Upload" it gives the error SPIFFS Error: esptool not found!
Thank you sara i will also try to see on the website you indicated.
Hello Sara
it happens exactly the same I will hope it could be that someone has had the
same problem, regards Alexandre.
Steph answered 3 years ago
Hi Alexandre,
- Download Arduino IDE 1.8.13
- Open Arduino IDE
- Open Preferences window
- Add this line into Additional Boards Manager URLs field:
https://dl.espressif.com/dl/package_esp32_index.json
- Open Boards Manager and install esp32 platform:
From there, esptool
is installed. You can find it by following this path:
~/Library/Arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool
I’m on macOS. So if you’re on Linux or Windows, you’ll have to adjust the path…
- Download ESP32FS-1.0.zip from this page.
The archive contains the following items:
$ unzip -l ESP32FS-1.0.zip Archive: ESP32FS-1.0.zip Length Date Time Name --------- ---------- ----- ---- 0 01-15-2019 06:53 ESP32FS/ 0 01-15-2019 06:53 ESP32FS/tool/ 7597 01-15-2019 06:53 ESP32FS/tool/esp32fs.jar --------- ------- 7597 3 files
- In your Arduino sketchbook folder, create
tools
directory if it doesn’t exist yet:
$ mkdir ~/Arduino/tools
- Unzip the archive into this
tools
folder:
$ unzip -d ~/Arduino/tools ESP32FS-1.0.zip Archive: ESP32FS-1.0.zip creating: /Users/steph/Arduino/tools/ESP32FS/ creating: /Users/steph/Arduino/tools/ESP32FS/tool/ inflating: /Users/steph/Arduino/tools/ESP32FS/tool/esp32fs.jar
Caution: the esp32fs.jar
file must not be unarchived!
Reading your post, it appears that you have unarchived the JAR file (perhaps unintentionally, by recursively unarchiving the ZIP). You should not touch the JAR file.
- Now, restart the Arduino IDE.
- Choose an ESP32 board in Tools > Board menu (for example: DOIT ESP32 DEVKIT V1).
- You should now see the ESP32 Sketch Data Upload option appear in the Tools menu:
Hoping that this might help you.
Hello Steph
I thank you for the help very well explained and exemplified my thanks to you and Sara.
The problem is solved and I will summarize what I did in my case.
I uninstalled the two versions of the Arduino ide (1.8.8 and 1.8.13) and also
eliminated the folder C: \ Users \ duart \ AppData \ Local \ Arduino15 and then
installed the Arduino ide version 1.8.13, then I did what you said and now everything is ok.
The conclusion I reach from my point of view was that somehow the two versions of the
Arduino ide came into conflict, I don't know if I'm sure but that's what it seemed to me.
Best regards
Alexandre.
Steph answered 3 years ago
Great! The main thing is that everything works now 😉
Hi Steph. Thanks for your detailed explanation.
Hi Alexandre. I’m glad everything is working now.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara
Comments
Strange thing I never saw, today I tried to put on SPIFFS the content of «data» folder and when I select «ESP8266 Sketch Data upload» entry on tool menu of Arduino IDE (1.6.5) I’ve got
SPIFFS Error: esptool not found!
, but flash sketch works fine and with esptool (in blue below), so may be wrong tool in definition and should use MKSPIFFS tool ?
It was working last time I used it (may be a month ago before big build repo change)
I have same problem, I use «Using git version» install hardware package in README.md.
copy toolsesptoolesptool.exe to tools
copy toolsmkspiffsmkspiffs.exe to tools
It’s work for me.
Copy link
Contributor
Author
@wemos
Thanks, that did the trick
By the way I ordered 5 Wimos Mini D1 boards, they look fine and I like the size
Will it be possible to have schematics of the main board (not the module with ESP8266) or is it private ?
Copy link
Contributor
Author
@igrr
Correct updating this file works also (of course I deleted the both files copied earlier to test)
Another trick worth putting into documentation. You’re telling to put he jar file here
<home_dir>/Arduino/tools/ESP8266FS/tool/esp8266fs.jar)
which is the classic way. But if you’re like me, you have multiple version of Arduino IDE you need each time to copy files from each other.
To avoid this, there is another solution I’m using for long now is to setup my sketchbook location away from IDE setup like the following screen
Like this you can put tool into
<sketchbook_home>/tools/ESP8266FS/tool/esp8266fs.jar
and this work with every version of IDE you installed. An more than this it works also for libraries and hardware folder
in my case I’ve got cloned esp8266 git repo into
s:SkydrivedevtArduinohardwareesp8266comesp8266
and other classics are in
s:SkydrivedevtArduinolibraries
s:SkydrivedevtArduinotools
Each time I test dev Arduino IDE (1.6.7 for example) or latest (1.6.6) I just need to setup my sketchbook folder, fine
I have same problem, I use «Using git version» install hardware package in README.md.
copy toolsesptoolesptool.exe to tools copy toolsmkspiffsmkspiffs.exe to tools
It’s work for me.
works for me too on ESP32 Huzzah
On OSX, to fix this, install the esptool.py using pip install esptool
or pip3 install esptool
. Restart Arduino IDE and the esptool will now be detected.
Hi Alexandre.
Hi don’t know what might be wrong.
I never had any problem installing the SPIFFS plugin.
The best way to get help is to publish an issue in the plugin issues tab:https://github.com/me-no-dev/arduino-esp32fs-plugin/issues
I didn’t understand if you can see the “Data Sketch Upload” option in your Arduino IDE or not.
And what was exactly the issue with the folder? It didn’t include the .jar file?
Regards,
Sara
Good morning Sara thanks for the answer I will try to detail in three steps:
FIRST: When I download and unzip the esp32fs file for C: Alexandre_Duarte ARDUINO_1.8.8 tools in the end it was like this C: Alexandre_Duarte ARDUINO_1.8.8 tools ESP32FS tool com esp32 mkspiffs inside the mkspiffs folder there is no .jar file but three files ESP32FS $ 1.class ESP32FS $ 2.class ESP32FS.class many folders inside others and none of the .jar file. SECOND: on the arduino ide, the options for loading SPIFFS for esp 32 appear.
THIRD AND LAST:when I click on the option "ESP32 Data Sketch Upload" it gives the error SPIFFS Error: esptool not found!
Thank you sara i will also try to see on the website you indicated.
Hello Sara
it happens exactly the same I will hope it could be that someone has had the
same problem, regards Alexandre.
Steph answered 3 years ago
Hi Alexandre,
- Download Arduino IDE 1.8.13
- Open Arduino IDE
- Open Preferences window
- Add this line into Additional Boards Manager URLs field:
https://dl.espressif.com/dl/package_esp32_index.json
- Open Boards Manager and install esp32 platform:
From there, esptool
is installed. You can find it by following this path:
~/Library/Arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool
I’m on macOS. So if you’re on Linux or Windows, you’ll have to adjust the path…
- Download ESP32FS-1.0.zip from this page.
The archive contains the following items:
$ unzip -l ESP32FS-1.0.zip Archive: ESP32FS-1.0.zip Length Date Time Name --------- ---------- ----- ---- 0 01-15-2019 06:53 ESP32FS/ 0 01-15-2019 06:53 ESP32FS/tool/ 7597 01-15-2019 06:53 ESP32FS/tool/esp32fs.jar --------- ------- 7597 3 files
- In your Arduino sketchbook folder, create
tools
directory if it doesn’t exist yet:
$ mkdir ~/Arduino/tools
- Unzip the archive into this
tools
folder:
$ unzip -d ~/Arduino/tools ESP32FS-1.0.zip Archive: ESP32FS-1.0.zip creating: /Users/steph/Arduino/tools/ESP32FS/ creating: /Users/steph/Arduino/tools/ESP32FS/tool/ inflating: /Users/steph/Arduino/tools/ESP32FS/tool/esp32fs.jar
Caution: the esp32fs.jar
file must not be unarchived!
Reading your post, it appears that you have unarchived the JAR file (perhaps unintentionally, by recursively unarchiving the ZIP). You should not touch the JAR file.
- Now, restart the Arduino IDE.
- Choose an ESP32 board in Tools > Board menu (for example: DOIT ESP32 DEVKIT V1).
- You should now see the ESP32 Sketch Data Upload option appear in the Tools menu:
Hoping that this might help you.
Hello Steph
I thank you for the help very well explained and exemplified my thanks to you and Sara.
The problem is solved and I will summarize what I did in my case.
I uninstalled the two versions of the Arduino ide (1.8.8 and 1.8.13) and also
eliminated the folder C: Users duart AppData Local Arduino15 and then
installed the Arduino ide version 1.8.13, then I did what you said and now everything is ok.
The conclusion I reach from my point of view was that somehow the two versions of the
Arduino ide came into conflict, I don't know if I'm sure but that's what it seemed to me.
Best regards
Alexandre.
Steph answered 3 years ago
Great! The main thing is that everything works now 😉
Hi Steph. Thanks for your detailed explanation.
Hi Alexandre. I’m glad everything is working now.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara
|
|||||
VS Arduino › › › ESP Tool Missing when uploading spiffs |
ESP Tool Missing when uploading spiffs (Read 3979 times)
davidbal Junior Member
Posts: 29 Joined: Dec 20th, 2015 |
ESP Tool Missing when uploading spiffs May 13th, 2019 at 10:55pm |
Print Post |
ESP8266 SPIFF file upload was working in VS2017 for me, but I reinstalled the Arduino IDE to try and fix a problem with ESP8266 mDNS. Now when I try to upload SPIFFS I get this message: SPIFFS Error*: esptool not found! I can see the ESP8266FSUpload.exe in the VS directories. Is esptools meant to be an .exe or .py file? Not sure what has happened to stop it working. It works fine in the Arduino IDE. Regards, David |
||
|
|
Tim@Visual Micro Administrator
Posts: 11678 Joined: Apr 10th, 2010 |
Re: ESP Tool Missing when uploading spiffs Reply #1 — May 13th, 2019 at 11:00pm |
Print Post |
There was a change recently because the esp core changed how it works however it shouldn’t break. Please follow the guide at the top of the forum and provide build output so we can see which esp version and, board etc you have installed. |
||
|
WWW
|
davidbal Junior Member
Posts: 29 Joined: Dec 20th, 2015 |
Re: ESP Tool Missing when uploading spiffs Reply #2 — May 14th, 2019 at 9:28am |
Print Post |
Could you give me a link to the guide you are referring to, so I can make sure I am following the correct one.. Thank you… Regards, David |
||
|
|
Simon@Visual Micro Administrator
Posts: 1615 Joined: Feb 13th, 2019 |
Re: ESP Tool Missing when uploading spiffs Reply #3 — May 15th, 2019 at 8:51am |
Print Post |
Hi David, Its the message at the top of all forum pages, and it will aid greatly in finding the root cause of this issue if you can supply this information. Instructions: Enabled vMicro > Compiler > Show Build Properties and Verbose Re-Compile your program with these settings enabled Save the new Output to a Text File and…. Attach it to your post Thanks Simon |
||
|
|
davidbal Junior Member
Posts: 29 Joined: Dec 20th, 2015 |
Re: ESP Tool Missing when uploading spiffs Reply #4 — May 15th, 2019 at 8:14pm |
Print Post |
OK I see it now, I was looking in the forum list for the information…perhaps it could be made to stand out better… Actually, perhaps you could put that info in the white space to the right of the text input box…if the software will allow that..? Anyway, I saw the comment in another forum message..and have provided the requested information. Best regards, David |
||
« Last Edit: May 15th, 2019 at 8:15pm by davidbal » |
||
|
|
Tim@Visual Micro Administrator
Posts: 11678 Joined: Apr 10th, 2010 |
Re: ESP Tool Missing when uploading spiffs Reply #5 — May 15th, 2019 at 8:37pm |
Print Post |
All we actually need to know if what esp version you have installed in board manager then we can test. Someone emailed to say that the 2.5.1 esp update is when the issue started so if that is what you are using you can drop back to 2.5.0. We will test with 2.5.1 over the next week or so. |
||
|
WWW
|
davidbal Junior Member
Posts: 29 Joined: Dec 20th, 2015 |
Re: ESP Tool Missing when uploading spiffs Reply #6 — May 15th, 2019 at 9:36pm |
Print Post |
I upgraded to 2.5.1 to see if it fixed a problem with mDNS failing intermittently. It didn’t! So I have now downgraded to 2.5.0 and the SPiffs upload is working again in Visual Micro. Thanks for the help. Best regards, David |
||
|
|
Tim@Visual Micro Administrator
Posts: 11678 Joined: Apr 10th, 2010 |
Re: ESP Tool Missing when uploading spiffs Reply #7 — May 15th, 2019 at 11:53pm |
Print Post |
Thanks we found a note from the manufacturers about this change and will implement over the coming weeks. https://arduino-esp8266.readthedocs.io/en/2.5.1/filesystem.html#uploading-files-… When posting it’s always handy to state versions of cores especially if recently upgrade. Thanks for the report. |
||
|
WWW
|
Tim@Visual Micro Administrator
Posts: 11678 Joined: Apr 10th, 2010 |
Re: ESP Tool Missing when uploading spiffs Reply #8 — May 19th, 2019 at 12:01pm |
Print Post |
There is an update that resolves a few issues with the latest esp 2.5.1 cores. Available in our new releases forum. https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES Thanks for the report. |
||
« Last Edit: May 19th, 2019 at 4:58pm by Tim@Visual Micro » |
||
|
WWW
|
Доброе время суток. Заранее спасибо, что помогаете друг другу!
20.06.2019 в 21:37, den48rus сказал:
Хочу спросить, можно ли добавить расчет точки росы, индикацию изменения давления (типа » к дождю» и т.п.), добавить поддержу сервиса Blynk, добавить дисплей 2004.
Да, все это возможно. Например, для расчета точки росы Вам понадобятся показания температуры и влажности, а также функция которая и будет производить расчет. Вот её упрощенный вариант.
/* Функция расчета точки росы */ float dewPoint(float t, float h) { float a = 17.271; float b = 237.7; float temp = (a * t) / (b + t) + log(h * 0.01); return (b * temp) / (a - temp); }
Теперь можно объявить новый сенсор, но для начала опишем настройки для визуализации.
knob_t *DP = new knob_t(-40, 125, ".1", "Точка росы", "°C");
Ну и сам сенсор, но помните, что он берет данные от других датчиков, которые должны быть объявлены. У меня они имеют идентификаторы out_temperature и out_humidity для температуры и влажности соответственно.
sensors.add(DP, device::out, "out_dewPoint", [&](){ return dewPoint( sensors.get("out_temperature"), sensors.get("out_humidity") ); });
Вот в принципе и все не сложные операции.
Для индикации изменения давления «к дождю» необходимо придумать какую-нибудь формулу, скорее всего уже есть наработки в интернете. Вопрос в том, какие параметры потребуются для этого. Лично мне в голову приходит мысль смотреть в логи с датчика давления и влажности, а также рассчитывать абсолютную влажность по ним и смотреть на тенденцию изменения абсолютной и относительной влажности. Для индикации можно использовать значение в процентах или придумать свою условную шкалу, но в любом случае придется рассчитать её приделы. В общем, нужна формула.
Для LCD дисплея 20х4 Вам понадобится i2c конвертер, возможно он уже распаян на нем, в противном случае у Вас не хватит свободных портов для подключения. Далее все еще проще, скорее всего у Вас уже имеется библиотека для работы с ним, и наверное это она https://github.com/fdebrabander/Arduino-LiquidCrystal-I2C-library
Подключаем библиотеку и объявляем дисплей (например в основном .ino файле), убедитесь, что i2c адрес для дисплея никем не занят.
#include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27, 20, 4);
Производим инициализацию дисплея, например, в конце функции setup.
lcd.begin(); lcd.backlight();
Теперь создадим в планировщике задачу которая будет обновлять данные на дисплее каждые 30 секунд, опишем её сразу после инициализации дисплея.
cron.add(cron::time_30s, [&](){ lcd.clear(); lcd.printf("Temperature %.1f C", sensors.get("out_temperature")); });
Первой строкой мы очищаем дисплей, а второй выводим данные. Естественно, что Вы можете изменять позицию курсора.
Сразу отмечу, что я не проверял этот код, я просто опираюсь на описания библиотеки (LiquidCrystal_I2C.h) и её «родителя» (print.h) которые посмотрел на GitHub
- https://github.com/fdebrabander/Arduino-LiquidCrystal-I2C-library/blob/master/LiquidCrystal_I2C.h
- https://github.com/esp8266/Arduino/blob/master/cores/esp8266/Print.h
Но общий смысл должен быть понятен.
Что касаемо Blink, то мне с ним не приходилось сталкиваться, дать какие-то рекомендации со своей стороны затрудняюсь, нужно изучать API сервиса. Но я рад, что есть люди @Вадим Гречухин которые это уже реализовали.
20.06.2019 в 21:37, den48rus сказал:
как правильно расположить датчики в корпусе на улице?
Перед установкой датчиков стоит обработать все открытые и подвергающиеся воздействия окружающей среды элементы диэлектрическим лаком. Сами сенсоры на время обработки лаком стоит закрыть чем ни будь чтобы не вывести их из строя. Обязательно убедитесь в их работоспособности после этих операций. Я старался размещать датчики сенсорами вниз, особенно фото датчики чтобы уменьшить количество оседаемой на них пыли, у меня её много т.к. проживаю чуть ли не в интимной близости от дороги. Ну а в будке, как мне кажется, лучше размещать их в средней части, на небольшом удалении друг от друга чтобы они не могли влиять на показания соседей. Все это мое субъективное мнение, основанное только на личном опыте. Далеко не факт, что он верный.
Из достоверных источников известно точно, что сама будка должна быть расположена в теневой зоне на высоте пары метров от земли и не иметь вблизи других строений. В моем случае нарушены все эти правила т.к будка закреплена на мачте параболической антенны далеко даже не на первом этаже многоэтажного дома на расстояние 20 сантиметров от стены этого дома да еще и на солнечной стороне. В общем все это влияет на показания, но самое критичное это солнечная сторона, старайтесь найти место в тени на весь световой день.
20.06.2019 в 21:37, den48rus сказал:
Одна станция через пару месяцев работы стала показывать 99% влажность. Другая 99% влажность показывает только ночью.
Скорее всего сенсоры вышли из строя. У меня аналогичная ситуация произошла с датчиком влажности и датчиком загрязнения воздуха после того как весной (в очередной раз) будка была повреждена и перестала выполнять свои прямые обязанности по защите датчиков. Судя по повреждениям, во время оттепели что-то прилетает с верхних этажей и уничтожает крайний конусный элемент будки. Следом после этого датчики заливает водой… Имейте это в виду при выборе места установки.
-
#21
У sdk версии 2.6.1 отличается upload.py от того же upload.py что в версии 2.5.2
Кроме этого в 2.6.1 загрузчик esptool.py версии v2.8 а в 2.5.2 esptool.py версии v2.6
Плагин arduino-esp8266fs-plugin использует один и тот же код для выполнения загрузки.
Выполняет upload.py —chip esp8266 —port /dev/ttyUSB0 —baud 115200 write_flash 0x300000 FSBrowser.spiffs.bin —end
Для проверки загрузк на sdk версии 2.5.2 я создал файлик FSBrowser.spiffs.bin в 10килобайт
Код:
user@my-pc:~/Arduino/hardware/esp8266com/esp8266/tools$ dd if=/dev/zero of=FSBrowser.spiffs.bin bs=1000 count=10
10+0 records in
10+0 records out
10000 bytes (10 kB, 9.8 KiB) copied, 0.00020148 s, 49.6 MB/s
user@my-pc:~/Arduino/hardware/esp8266com/esp8266/tools$ ls -l FSBrowser.spiffs.bin
-rw-rw-r-- 1 user user 10000 Nov 22 09:41 FSBrowser.spiffs.bin
И попробовал выполнить загрузку без подключенного модуля, просто не оказалось под рукой.
Код:
user@my-pc:~/Arduino/hardware/esp8266com/esp8266/tools$ ./upload.py --chip esp8266 --port /dev/ttyUSB0 --baud 115200 write_flash 0x300000 FSBrowser.spiffs.bin --end
esptool.py v2.6
Serial port /dev/ttyUSB0
Connecting........^C
Traceback (most recent call last):
File "./upload.py", line 25, in <module>
esptool.main(fakeargs)
File "/home/user/Arduino/hardware/esp8266com/esp8266/tools/esptool/esptool.py", line 2653, in main
esp.connect(args.before)
File "/home/user/Arduino/hardware/esp8266com/esp8266/tools/esptool/esptool.py", line 463, in connect
last_error = self._connect_attempt(mode=mode, esp32r0_delay=True)
File "/home/user/Arduino/hardware/esp8266com/esp8266/tools/esptool/esptool.py", line 425, in _connect_attempt
time.sleep(1.2)
KeyboardInterrupt
Загрузчик пытался честно загрузить модуль, который не подключен, я его прервал.
Пытаюсь повторить опыт на sdk версии 2.6.1, тот же FSBrowser.spiffs.bin той же командой
Код:
user@my-pc:~/Arduino/hardware/esp8266com/esp8266/tools$ ./upload.py --chip esp8266 --port /dev/ttyUSB0 --baud 115200 write_flash 0x300000 FSBrowser.spiffs.bin --end
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
Загрузка даже не началась.
Скажите, для чего вы используете sdk версии 2.6.1? Ведь прежде у вас всё загружалось.
-
#23
На сдк 2.5.1 и 2.5.2 arduino-esp8266fs-plugin версии 0.4.0 (а свежее ещё небыло) работал, на 2.6.1 не работает и к чему эти рекомендации об устаревшем esptool-ck.exe, у @AllXXX в логах всяких .exe даже близко нет.
arduino-esp8266fs-plugin версия 0.4.0 дата выпуска 23 февраля 2019
ESP8266 core for Arduino версия 2.5.1 дата выпуска 11 мая 2019
Все рекомендации выполнены были с выходом 2.5.1 и загрузка работала.
-
#24
Адрес 0x300000 откуда взялся? Ардуина заливает файловую по адресу 0x100000.
-
#25
Видимо взялся из boards.txt
nodemcuv2.menu.eesz.4M1M=4MB (FS:1MB OTA:~1019KB)
nodemcuv2.menu.eesz.4M1M.build.flash_size=4M
nodemcuv2.menu.eesz.4M1M.build.flash_size_bytes=0x400000
nodemcuv2.menu.eesz.4M1M.build.flash_ld=eagle.flash.4m1m.ld
nodemcuv2.menu.eesz.4M1M.build.spiffs_pagesize=256
nodemcuv2.menu.eesz.4M1M.upload.maximum_size=1044464
nodemcuv2.menu.eesz.4M1M.build.rfcal_addr=0x3FC000
nodemcuv2.menu.eesz.4M1M.build.spiffs_start=0x300000
nodemcuv2.menu.eesz.4M1M.build.spiffs_end=0x3FA000
nodemcuv2.menu.eesz.4M1M.build.spiffs_blocksize=8192
-
#26
Добрый день @AllXXX @Алексей., я по-моему нашел решение, но не могу его на данный момент протестировать.
В пул-реквесте здесь: Make upload.py compatible with existing FS upload by earlephilhower · Pull Request #6788 · esp8266/Arduino были изменены параметры загрузки данных по SPIFFS так, чтобы все вновь работало. [off](я до конца не понял, возможно буду говорить чушь)[/off]
При рассмотрении пул-реквестов, владельцы и модераторы репозитория не заметили багу. Все одобренные пул-реквесты они добавили в обновление 2.6.0, позже, был еще фикс 2.6.1, в минорной версии они, как я понял, переписали uploader скетчей и данных для Arduino IDE под Python 3 (в связи с тем, что он с 01.01.2020 не будет поддерживаться).
И допустили ошибку, где перед аргументом «filename».bin не ставился дефолтный адрес загрузки 0x0.
Судя по пул-реквесту выше, они добавили эти изменения в будущее обновление 2.6.2, которое будет около 30 ноября.
На самом деле это, возможно, несовместимость с текущей версией arduino-esp8266fs-plugin.
Судя по этому обсуждению: Pull (#6765) breaks arduino-esp8266fs-plugin functionality · Issue #6777 · esp8266/Arduino; можно удалить «—end» в параметрах загрузчика (upload.py), либо пересобрать arduino-esp8266fs-plugin на Java.
Ваше и мое решение: применить изменения в 3 коммитах, или 2 измененных файлах в этом пул-реквесте Make upload.py compatible with existing FS upload by earlephilhower · Pull Request #6788 · esp8266/Arduino, пересобрать плагин на Java, или же удалить «—end» в upload.py и будет счастье
-
#27
пересобрать плагин на Java — не знаю как
или же удалить «—end» в upload.py нет в нем такого:
Код:
#!/usr/bin/env python3
# Wrapper for Arduino core / others that can call esptool.py possibly multiple times
# Adds pyserial to sys.path automatically based on the path of the current file
# First parameter is pyserial path, second is esptool path, then a series of command arguments separated with --end
# i.e. upload.py tools/pyserial tools/esptool erase_flash --end write_flash file 0x0 --end
import sys
import os
import tempfile
sys.argv.pop(0) # Remove executable name
toolspath = os.path.dirname(os.path.realpath(__file__)).replace('\', '/') # CWD in UNIX format
try:
sys.path.insert(0, toolspath + "/pyserial") # Add pyserial dir to search path
sys.path.insert(0, toolspath + "/esptool") # Add esptool dir to search path
import esptool # If this fails, we can't continue and will bomb below
except:
sys.stderr.write("pyserial or esptool directories not found next to this upload.py tool.n")
sys.exit(1)
cmdline = []
write_option = ''
erase_addr = ''
erase_len = ''
while len(sys.argv):
thisarg = sys.argv.pop(0)
# We silently replace the 921kbaud setting with 460k to enable backward
# compatibility with the old esptool-ck.exe. Esptool.py doesn't seem
# work reliably at 921k, but is still significantly faster at 460kbaud.
if thisarg == "921600":
thisarg = "460800"
# 'erase_flash' command is translated to the write_flash --erase-all option
# https://github.com/esp8266/Arduino/issues/6755#issuecomment-553208688
if thisarg == "erase_flash":
write_option = '--erase-all'
thisarg = ''
if thisarg == 'erase_region':
erase_addr = sys.argv.pop(0)
erase_len = sys.argv.pop(0)
thisarg = ''
if os.path.isfile(thisarg):
binary = thisarg
thisarg = ''
if len(thisarg):
cmdline = cmdline + [thisarg]
cmdline = cmdline + ['write_flash']
if len(write_option):
cmdline = cmdline + [write_option]
cmdline = cmdline + ['0x0', binary]
erase_file = ''
if len(erase_addr):
# generate temporary empty (0xff) file
eraser = tempfile.mkstemp()
erase_file = eraser[1]
os.write(eraser[0], bytearray([255] * int(erase_len, 0)))
os.close(eraser[0])
cmdline = cmdline + [ erase_addr, erase_file ]
esptool.main(cmdline)
if len(erase_file):
os.remove(erase_file)
буду ждать
-
#28
Я отказался от загрузки данных в spiffs через плагин, точнее, отказался от загрузки в spiffs используя какие-либо инструменты, позволяющие грузить в spiffs не из кода, в spiffs если необходимо держу только конфигурационные параметры.
Статические данные, такие как html страницы, стили скрипты, держу в коде в массивах байтов с атрибутом PROGMEM.
В исходниках они (статические данные) как прежде в директории data, а при сборке «налету» преобразую их в си-шные исходники.
Для платформы настраиваю хук для скетч-пребилд например:
Код:
recipe.hooks.sketch.prebuild.0.pattern = {runtime.platform.path}/prebuild.local {build.source.path} {build.path} {build.project_name}
runtime.platform.path — это путь до директории в которой живет платформа
prebuild.local — это скрипт, который я создал для запуска других скриптов в директориях со скетчами, которые могут и отсутствовать если prebuild не требуется
Bash:
#!/bin/bash
# проверяем наличие файла prebuild в исходной директории со скетчем
if [ -e "$1/prebuild" ]
then
# переходим в исходную директорию со скетчем
cd $1
# выполняем prebuild передавая путь ко временной директории созданной ардуиной для билда и название проекта
./prebuild $2 $3
fi
build.source.path — это путь до директории где живет скетч
build.path — это путь до временной директории куда ардуина-иде скопировала скетч перед сборкой
build.project_name — это название проекта
-
#29
@AllXXX
Вчера подготовил файлы для тестирования на компьютере друга, сегодня залил, все работает вновь.
Фикс сработает, если вы используете библиотеку ESP8266 (менеджер плат) версии 2.6.1
Прикладываю 2 измененных файла из этого пул-реквеста: Make upload.py compatible with existing FS upload by earlephilhower · Pull Request #6788 · esp8266/Arduino
- Заменить файл «C:Users<Имя пользователя>AppDataLocalArduino15packagesesp8266hardwareesp82662.6.1platform.txt«
- Заменить файл «C:Users<Имя пользователя>AppDataLocalArduino15packagesesp8266hardwareesp82662.6.1toolsupload.py«
Было изменено:
-
3.9 KB
Просмотры: 59
-
#30
@Алексей.
Я просто думал, что это единственный вариант хранить статические данные, для того же веб-сервера (просто не особо знаком с разработкой под девайсы, да и вообще с C/C++ знаком только на уровне лабораторных из ИТМО)
А есть какие-то минусы от записи непосредственно во flash память, в отличие от использования для этого файловой системы SPIFFS?
Судя по определению PROGMEM, это чистая flash-память, а SPIFFS — попытка в файловую систему с дикими ограничениями, в которой также используется flash-память. Следовательно, ваш вариант будет даже лучше и быстрее для работы с памятью, или доступа к статическим данным.
[off]Кстати, в 2.6.1 они пофиксили багу с расширениями index-файла страницы, ибо по запросу к корню ‘/’ искался по-умолчанию .htm файл, и .html таким образом пролетал мимо[/off]
-
#31
@AllXXX
Вчера подготовил файлы для тестирования на компьютере друга, сегодня залил, все работает вновь.Фикс сработает, если вы используете библиотеку ESP8266 (менеджер плат) версии 2.6.1
Прикладываю 2 измененных файла из этого пул-реквеста: Make upload.py compatible with existing FS upload by earlephilhower · Pull Request #6788 · esp8266/Arduino
- Заменить файл «C:Users<Имя пользователя>AppDataLocalArduino15packagesesp8266hardwareesp82662.6.1platform.txt«
- Заменить файл «C:Users<Имя пользователя>AppDataLocalArduino15packagesesp8266hardwareesp82662.6.1toolsupload.py«
Было изменено:
всё работает!!!
-
#32
Судя по определению PROGMEM, это чистая flash-память, а SPIFFS — попытка в файловую систему с дикими ограничениями,
Модификатором переменной PROGMEM говорим компилятору, не копировать эту переменную в оперативную память, оставлять её во флеше.
В реализации ESP8266WebServer есть возможность выполнять отправку контента как из переменных в оперативной памяти
Код:
sendContent(const String& content)
sendContent(const char *content)
Так и непосредственно из флеша
Код:
sendContent_P(PGM_P content)
Что касается SPIFFS — это раздел на флеше, в котором построена файловая система. Минус — скорость доступа.
Если данные не предполагается модифицировать совсем, то смысла держать их отдельно от кода нет.
Если данные иногда нужно менять, например для веб-интерфейса меняете внешний вид, а код оставляете прежний, то можно данные в файлах держать на SPIFFS.
Ещё один минус, на мой взгляд.
Код периодически приходится обновлять, исправление ошибок, добавление нового функционала и т.п.
Если обновление выполняете по воздуху и кроме обновления кода требуется выполнить обновления данных, то обновление выполняется в два этапа, код и spiffs.
-
#33
Swaggaboy6537: Прикладываю 2 измененных файла из этого пул-реквеста….
Мне помогло. Спасибо.
-
#34
Здраствуйте! Не удается подключится к ФС NodeMcu через браузер — вечная загрузка… Прошивается всё без ошибок.
Arduino 1.8.13
ESP8266 Boards 2.6.1
Плагин esp8266fs 0.5.0
OS:Linux
-
#35
Если залить скетч: «FSBrowser», в браузере загружается страничка с текстом «FS INIT ERROR»
-
#36
Если залить скетч: «FSBrowser», в браузере загружается страничка с текстом «FS INIT ERROR»
Раскоментировал строку #define USE_SPIFFS и всё заработало.
Форум РадиоКот • Просмотр темы — Очень простые часы с WiFi
Сообщения без ответов | Активные темы
ПРЯМО СЕЙЧАС: |
Автор | Сообщение | ||
---|---|---|---|
|
Заголовок сообщения: Очень простые часы с WiFi
|
||
Карма: 16 Рейтинг сообщений: 174
Зарегистрирован: Ср фев 15, 2017 22:37:11 Рейтинг сообщения: 5 |
Статья на радиокоте здесь https://www.radiokot.ru/artfiles/6487/ |
||
Вернуться наверх |
Профиль |
||
Реклама | |
Serzh2000 |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
||
Карма: 10 Рейтинг сообщений: 73
Зарегистрирован: Пт фев 27, 2015 12:00:53 Рейтинг сообщения: 0 |
интересные часики! |
||
Вернуться наверх | |||
Реклама | |
|
|
uldemir |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
||
Карма: 46 Рейтинг сообщений: 1306
Зарегистрирован: Пт авг 28, 2009 21:34:30 Рейтинг сообщения: 0 Медали: 1 |
Последний раз редактировалось uldemir Сб май 25, 2019 21:35:41, всего редактировалось 1 раз. |
||
Вернуться наверх | |||
Cheburator |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
||
Карма: 3 Рейтинг сообщений: 39
Зарегистрирован: Пт дек 07, 2012 22:50:01 Рейтинг сообщения: 0 |
Расскажите, если возможно, про обновления проекта. |
||
Вернуться наверх | |||
Реклама | |
|
Как выбрать батарейки для IoT-устройств – обзор эксперта
Как выбрать химические источники тока (ХИТ, батарейки) для устройств промышленного и бытового интернета вещей? В чем различие критериев выбора и ключевых параметров? Какие изделия популярных брендов FANSO и POWER FLASH удовлетворяют этим критериям? Подробнее>> |
himikat123 |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
||
Карма: 16 Рейтинг сообщений: 174
Зарегистрирован: Ср фев 15, 2017 22:37:11 Рейтинг сообщения: 0 |
Пока публиковалась статья на радиокоте (около месяца), я успел написать обновление. Заметив, что работа часов в отсутствии интернета невозможна, я прикрутил к часам модуль часов реального времени (RTC). В общем, чтоб воспользоваться обновлением, обновите прошивку и прикрутите к шине i2c часов модуль на микросхеме DS3231. Новую схему, плату и прошивку можно найти на странице проекта: http://esp8266.atwebpages.com/?p=clock Последний раз редактировалось himikat123 Вс май 26, 2019 08:35:29, всего редактировалось 1 раз. |
||
Вернуться наверх | |||
Реклама | |
Реклама | |
|
Выгодные LED-драйверы MOSO для индустриальных приложений Компэл представляет выгодные светодиодные драйверы MOSO для промышленных решений с высоким классом защиты от внешних воздействующих факторов, хорошей устойчивостью к импульсным помехам и высокой надежностью. В ряде серий реализована возможность дистанционного контроля, кроме того, отдельные версии драйверов могут программироваться на работу в автономном режиме по заранее заданному сценарию. Рассмотрим подробнее их характеристики. Подробнее>> |
Axx |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
Карма: 2 Рейтинг сообщений: 11
Зарегистрирован: Пн фев 08, 2016 22:46:08 Рейтинг сообщения: 0 |
Очень интересные и простые часики. |
Вернуться наверх | |
himikat123 |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
||
Карма: 16 Рейтинг сообщений: 174
Зарегистрирован: Ср фев 15, 2017 22:37:11 Рейтинг сообщения: 0 |
Я тоже хочу цифры побольше, но на TM1637, больше чем 0.56 дюйма я не нашел. Находил отдельные 7 сегментные индикаторы, но без драйвера, а усложнять часы не хотелось. |
||
Вернуться наверх | |||
Axx |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
Карма: 2 Рейтинг сообщений: 11
Зарегистрирован: Пн фев 08, 2016 22:46:08 Рейтинг сообщения: 0 |
Я не работал с tm1637, но правильно понимаю, что можно взять отдельно микросхему и с помощью транзисторов коммутировать индикаторы большего размера с большим напряжением питания? |
Вернуться наверх | |
pcb432 |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
Карма: 10 Рейтинг сообщений: 268
Зарегистрирован: Пт мар 26, 2010 17:16:52 Рейтинг сообщения: 0 |
Если посмотреть на даташит аналогичной микросхемы, то думаю можно. |
Вернуться наверх | |
himikat123 |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
||
Карма: 16 Рейтинг сообщений: 174
Зарегистрирован: Ср фев 15, 2017 22:37:11 Рейтинг сообщения: 0 |
Я транзисторы не пробовал к этой микросхеме подключать, но думаю должно сработать, почему бы и нет. |
||
Вернуться наверх | |||
duss1981 |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
Зарегистрирован: Вт май 01, 2007 19:27:30 Рейтинг сообщения: 0 |
Прошиваю через arduino ide предварительно скомпилировав, захожу на IP адрес, пишет файлы не найдны. вопрос файлы нужно потом заливать отдельно? Пытаюсь залить, пишет SPIFFS Error: esptool not found! |
Вернуться наверх | |
Valek |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
Зарегистрирован: Чт июн 29, 2006 15:25:23 Рейтинг сообщения: 0 |
Спасибо автору за проект! Еще бы как нибудь один уличный датчик температуры на несколько часов подцепить, но наверное в этом варианте часов не получится. |
Вернуться наверх | |
himikat123 |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
||
Карма: 16 Рейтинг сообщений: 174
Зарегистрирован: Ср фев 15, 2017 22:37:11 Рейтинг сообщения: 0 |
Прошиваю через arduino ide предварительно скомпилировав, захожу на IP адрес, пишет файлы не найдны. Чтоб залить файлы у вас должен быть установлен addon Arduino ESP8266 filesystem uploader https://github.com/esp8266/arduino-esp8266fs-plugin Valek писал(а): Еще бы как нибудь один уличный датчик температуры на несколько часов подцепить, но наверное в этом варианте часов не получится. Ну это можно, например беспроводной датчик http://esp8266.atwebpages.com/?p=outside сгодится для этой цели. Правда прошивку часов нужно будет подправить. |
||
Вернуться наверх | |||
Alexx7 |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
Карма: 2 Рейтинг сообщений: 2
Зарегистрирован: Пн май 16, 2011 16:20:25 Рейтинг сообщения: 0 |
|
Вернуться наверх | |
himikat123 |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
||
Карма: 16 Рейтинг сообщений: 174
Зарегистрирован: Ср фев 15, 2017 22:37:11 Рейтинг сообщения: 0 |
Перепрошейтесь бинарником на всякий, видимо что-то пошло не так. |
||
Вернуться наверх | |||
Alexx7 |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
Карма: 2 Рейтинг сообщений: 2
Зарегистрирован: Пн май 16, 2011 16:20:25 Рейтинг сообщения: 0 |
Так и прошивался бинарником, сначала влил 1.1, не смог настроить сеть попробовал 1.0 то же пусто, полез на гитхаб скачиваю архив network.htm.gz распаковываю открываю распак. страничку браузером а там то же что на фото (пусто), для примера другие страницы из меню часов с гитхаба выглядят так как нужно. |
Вернуться наверх | |
himikat123 |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
||||
Карма: 16 Рейтинг сообщений: 174
Зарегистрирован: Ср фев 15, 2017 22:37:11 Рейтинг сообщения: 0 |
Странно, у всех работает. Еще, как вариант, попробуйте другой браузер. И кстати, страница network.htm.gz и не должна работать отдельно.
|
||||
Вернуться наверх | |||||
Alexx7 |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
Карма: 2 Рейтинг сообщений: 2
Зарегистрирован: Пн май 16, 2011 16:20:25 Рейтинг сообщения: 0 |
|
Вернуться наверх | |
anaramo |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
Карма: 2 Рейтинг сообщений: 2
Зарегистрирован: Вт сен 16, 2014 12:39:20 Рейтинг сообщения: 0 |
Проекты автора как всегда интересные. |
Вернуться наверх | |
himikat123 |
Заголовок сообщения: Re: Очень простые часы с WiFi
|
||
Карма: 16 Рейтинг сообщений: 174
Зарегистрирован: Ср фев 15, 2017 22:37:11 Рейтинг сообщения: 0 |
Спасибо! |
||
Вернуться наверх | |||
Кто сейчас на форуме |
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 15 |
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения |
In this tutorial we upload a text file and read it in serial monitor.
Steps to Upload a file in NodeMCU SPIFFS file system
ESP8266FS is a tool which integrates into the Arduino IDE. It adds a menu item to Tools menu for uploading the contents of sketch data directory into ESP8266 flash file system.
-
Download the tool: https://github.com/esp8266/arduino-esp8266fs-plugin/releases/download/0.1.3/ESP8266FS-0.1.3.zip.
- In your Arduino sketchbook directory, create tools directory if it doesn’t exist yet
- Unpack the tool into tools directory (the path will look like <home_dir>/Arduino/tools/ESP8266FS/)
- Restart Arduino IDE
- Open a sketch (or create a new one and save it)
- Go to sketch directory (choose Sketch > Show Sketch Folder)
- data older next to your .ino file
- Create a directory named data and put your files you want in the file system there
- Make sure you have selected a board, port, and closed Serial Monitor
- Select Tools > ESP8266 Sketch Data Upload. This should start uploading the files into ESP8266 flash file system. When done, IDE status bar will display SPIFFS Image Uploaded message. Note during upload it takes longer time.
Reading Uploaded File
In above process we uploaded notes.txt file in ESP flash. In this program we read it and display its contents in serial monitor. Uploading of sketch will not affect sketch data. i.e. uploaded notes.txt file.
/* * ESP8266 Communication and Protocols * SPIFFS Direct File Upload Example * -Manoj R. Thkuar */ #include <ESP8266WiFi.h> #include <FS.h> //Include File System Headers const char* file = "/notes.txt"; //Enter your file name void setup() { delay(1000); Serial.begin(115200); Serial.println(); //Initialize File System SPIFFS.begin(); Serial.println("File System Initialized"); File dataFile = SPIFFS.open(file, "r"); //Open File for reading Serial.println("Reading Data from File:"); //Data from file for(int i=0;i<dataFile.size();i++) //Read upto complete file size { Serial.print((char)dataFile.read()); //Read file } dataFile.close(); } void loop() { }
Results
In serial monitor you will get File contents, you can upload images, html and javascript files. examples can be found here
- Image upload and display
- JavaScript Gauges
|
|||||
VS Arduino › › › ESP Tool Missing when uploading spiffs |
ESP Tool Missing when uploading spiffs (Read 4391 times)
davidbal
Junior Member Posts: 29 Joined: Dec 20th, 2015 |
ESP Tool Missing when uploading spiffs |
Print Post |
ESP8266 SPIFF file upload was working in VS2017 for me, but I reinstalled the Arduino IDE to try and fix a problem with ESP8266 mDNS. Now when I try to upload SPIFFS I get this message: SPIFFS Error*: esptool not found! I can see the ESP8266FSUpload.exe in the VS directories. Is esptools meant to be an .exe or .py file? Not sure what has happened to stop it working. It works fine in the Arduino IDE. Regards, David |
||
|
|
Tim@Visual Micro Administrator Posts: 11930 Joined: Apr 10th, 2010 |
Re: ESP Tool Missing when uploading spiffs |
Print Post |
There was a change recently because the esp core changed how it works however it shouldn’t break. Please follow the guide at the top of the forum and provide build output so we can see which esp version and, board etc you have installed. |
||
|
WWW
|
davidbal
Junior Member Posts: 29 Joined: Dec 20th, 2015 |
Re: ESP Tool Missing when uploading spiffs |
Print Post |
Could you give me a link to the guide you are referring to, so I can make sure I am following the correct one.. Thank you… Regards, David |
||
|
|
Simon@Visual Micro Administrator Posts: 1930 Joined: Feb 13th, 2019 |
Re: ESP Tool Missing when uploading spiffs |
Print Post |
Hi David, Its the message at the top of all forum pages, and it will aid greatly in finding the root cause of this issue if you can supply this information. Instructions: Enabled vMicro > Compiler > Show Build Properties and Verbose Re-Compile your program with these settings enabled Save the new Output to a Text File and…. Attach it to your post Thanks Simon |
||
|
|
davidbal
Junior Member Posts: 29 Joined: Dec 20th, 2015 |
Re: ESP Tool Missing when uploading spiffs |
Print Post |
OK I see it now, I was looking in the forum list for the information…perhaps it could be made to stand out better… Actually, perhaps you could put that info in the white space to the right of the text input box…if the software will allow that..? Anyway, I saw the comment in another forum message..and have provided the requested information. Best regards, David |
||
« Last Edit: May 15th, 2019 at 8:15pm by davidbal » |
||
|
|
Tim@Visual Micro Administrator Posts: 11930 Joined: Apr 10th, 2010 |
Re: ESP Tool Missing when uploading spiffs |
Print Post |
All we actually need to know if what esp version you have installed in board manager then we can test. Someone emailed to say that the 2.5.1 esp update is when the issue started so if that is what you are using you can drop back to 2.5.0. We will test with 2.5.1 over the next week or so. |
||
|
WWW
|
davidbal
Junior Member Posts: 29 Joined: Dec 20th, 2015 |
Re: ESP Tool Missing when uploading spiffs |
Print Post |
I upgraded to 2.5.1 to see if it fixed a problem with mDNS failing intermittently. It didn’t! So I have now downgraded to 2.5.0 and the SPiffs upload is working again in Visual Micro. Thanks for the help. Best regards, David |
||
|
|
Tim@Visual Micro Administrator Posts: 11930 Joined: Apr 10th, 2010 |
Re: ESP Tool Missing when uploading spiffs |
Print Post |
Thanks we found a note from the manufacturers about this change and will implement over the coming weeks. https://arduino-esp8266.readthedocs.io/en/2.5.1/filesystem.html#uploading-files-… When posting it’s always handy to state versions of cores especially if recently upgrade. Thanks for the report. |
||
|
WWW
|
Tim@Visual Micro Administrator Posts: 11930 Joined: Apr 10th, 2010 |
Re: ESP Tool Missing when uploading spiffs |
Print Post |
There is an update that resolves a few issues with the latest esp 2.5.1 cores. Available in our new releases forum. https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES Thanks for the report. |
||
« Last Edit: May 19th, 2019 at 4:58pm by Tim@Visual Micro » |
||
|
WWW
|