Unable to load sketch on nodeMCU

Hello.
I'm using the Arduino Cloud portal and when I want to load a simple sketch (the automatic sketch created by the portal, without addition commands) to a node MCU, I have received the following message :
"Error during build: Error resolving FQBN: getting build properties for board esp8266:esp8266:nodemcuv2: invalid value '512K' for option 'eesz'"

The problem is that :

It used to work properly few days ago (no change made) : I was able to load sketch to teh board
I can load the same sketch using the IDE Arduino tool.
I can load sketch to other boards like ESP01; but NOT NodeMCU

Any idea ?

hi @christophe782
i'm not able to reproduce the issue could you retry and provide more details if the issue persist?

Thanks

Hi. Here is the error message I have.
/usr/local/bin/arduino-cli compile --fqbn esp8266:esp8266:nodemcuv2:baud=115200,dbg=Disabled,eesz=512K,exception=disabled,ip=lm2f,lvl=None____,vt=flash,wipe=none,xtal=80 --libraries /home/builder/opt/libraries/latest --build-cache-path /tmp --output-dir /tmp/262345029/build --build-path /tmp/arduino-build-C3F2627EA0A2B3F0D941A22B2BD58FA1 -v /tmp/262345029/sketch_mar27a

Error during build: Error resolving FQBN: getting build properties for board esp8266:esp8266:nodemcuv2: invalid value '512K' for option 'eesz'

And the sketch si very simple (in order to avoid other pb) - .
/*
*/

void setup() {
}

void loop() {
}

in fact, whatever is the sketch I'm using, I'm facing the same pb. Previously it was working fine.
Remember that I'm using the Arduino Cloud IoT portal.
I'm wondering if the problem is not due to an update I have done when using the Arduino IDE tool. Because this is something that I have done (an update) when I was doing some tests; and I think that the problem started after than, when using the Arduino Cloud IoT portal...
PS : it works fine with an ESP01 : I'm able to load the sktehc. But not with the NodeMcu.

Hi. I have also recreated the device and the thing and I always have the same issue.
I thing this a pb of configuration of the tool because I"m unable to change the settings eesz=512K (that appears in the error msg).

Hello.
I'm using Cloud IoT Arduino on 2 PCs, and using one of the 2 PCs, I'm currently facing a pb when I want to upload a script to an Arduino :
The error is :
Here is the error message I have.
/usr/local/bin/arduino-cli compile --fqbn esp8266:esp8266:nodemcuv2:baud=115200,dbg=Disabled,eesz=512K,exception=disabled,ip=lm2f,lvl=None____,vt=flash,wipe=none,xtal=80 --libraries /home/builder/opt/libraries/latest --build-cache-path /tmp --output-dir /tmp/262345029/build --build-path /tmp/arduino-build-C3F2627EA0A2B3F0D941A22B2BD58FA1 -v /tmp/262345029/sketch_mar27a

When using the second PC, I have no error and I see that the difference is due to the speed of the load of the sketch : Here (below) it works fine :slight_smile: /usr/local/bin/arduino-cli compile --fqbn esp8266:esp8266:nodemcuv2:baud=115200,dbg=Disabled,eesz=4M,exception=disabled,ip=lm2f,lvl=None____,vt=flash,wipe=none,xtal=80 --libraries /home/builder/opt/libraries/latest --build-cache-path /tmp --output-dir /tmp/386077334/build --build-path /tmp/arduino-build-DB01FF5E4E507FFE331C5FD3083636E7 /tmp/386077334/carte_mar27a

Sketch uses 407132 bytes (38%) of program storage space. Maximum is 1044464 bytes.

So the question is >>> Where is speficied the eesz par ter of the upload so that I can change it from 512 K (that doesn't work) to 4M ?

I have merged your topics due to them having too much overlap on the same subject matter @christophe782.

In the future, please only create one topic for each distinct subject matter and be careful not to cause them to converge into parallel discussions.

The reason is that generating multiple threads on the same subject matter can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.

Thanks in advance for your cooperation.

Hi. Do u have an idea on how to request from the products team how to solve my pb 3 It seems to Be a pb with thé tool itself and nobidy replied. Im testing the cloud Iot portal before ordering it for a deployment, but as it doesnot work, I think I will stop thé project with Arduino. Regards.

Hi.
Is there anybody from the Arduino Team Who could reply ? Quite disappointing not to receive any help...

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.