-
Notifications
You must be signed in to change notification settings - Fork 11
Upload issue "Can't determine FlashMode" #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi damianog, What's in your arduino.json file? |
Hi, {
"board": "esp8266:esp8266:nodemcuv2",
"configuration": "CpuFrequency=80,FlashSize=4M1M,LwIPVariant=v2mss536,Debug=Disabled,DebugLevel=None____,FlashErase=none,UploadSpeed=115200",
"port": "COM3",
"sketch": "EVRemote.ino",
"output": "../build"
} It goes well two week ago with these settings but now I can't upload. No problem from Aruino SPIFFS uploader. |
Works fine on my machine with that board/config (under Windows): Found ESP8266 packages: C:\Users\Kev\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1 What OS are you running? Can you add "esp8266fs.logLevel": "verbose" to your settings and see if that gives us a better clue as to where it's screwing up. Thanks, Kev |
Hi @kash4kev If I add "FlashMode=keep,FlashFreq=keep" in configuration
I managed to start the upload process. I used "keep" as default parameter as explained in https://github.com/espressif/esptool But I can't set these pararameters by board configuration Maybe you should pass these parameters by default if absent or avoid FlashMode and FlashFreq arguments if not defined. Thanks. |
I'm having the same problem and even after using your fix it freezes before It starts to pack the file... ESP8266 SPIFFS interface started: "pack". And.... nothing, it just sits there, after leaving it for some time if I try to pack it again it says "ESP8266FS already running "pack"! ". I'm running this on Windows 10. |
If you change the Arduino preferences.txt from... to custom_CpuFrequency=d1_mini_80 You wont have to keep adding ,FlashMode=keep,FlashFreq=keep every time you change settings in visual studio code. I suspect the freezing problem is caused by white space in my user name. As it works fine on my laptop the only difference being that my username is only one word on my laptop. |
I relocated esptool.exe and mkspiffs.exe to a directory with no spaces in there name, updated there location in the visual studio ESP8266FS settings. Relocated my project to a directory with no spaces and its working fine. |
Yeah, had also a whitespace problem on my environment. |
Since last update when I try to upload my data folder the extension tells: "Can't determine FlashMode"
The text was updated successfully, but these errors were encountered: