Cannot upload - getting error fork/exe...esptool.exe. The parameter is incorrect

Im getting this error while trying to upload.
Start command: fork/exec C:/Users/user1/.arduino-create/esp8266/esptool/2.5.0-3-20ed2b9/esptool.exe: The parameter is incorrect.

Your topic has been moved to a more suitable location on the forum.

Hi @logichc. I'm going to ask you to post the full verbose output from an upload attempt.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Attempt an upload, just as you did before.
  2. Wait for the upload to fail.
  3. Hover the mouse over the red bar at the bottom of the "Arduino Web Editor" that shows the error message. Click and drag it up so you can see the black console window.
  4. Click the icon in the top right corner of the console that looks like two pieces of paper.
  5. In a forum reply here, click on the reply field.
  6. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code tags icon on toolbar
  7. Press Ctrl+V.
    This will paste the error output from the upload into the code block.
  8. Move the cursor outside of the code tags before you add any additional text to your reply.
  9. Click the "Reply" button to post the output.

Thank you for your help. Here is the error that comes up.

/usr/local/bin/arduino-cli compile --fqbn esp8266:esp8266:nodemcuv2:baud=921600,dbg=Disabled,eesz=4M,exception=disabled,ip=lm2f,lvl=None____,vt=flash,wipe=none,xtal=80 --build-cache-path /tmp --output-dir /tmp/1683090309/build --build-path /tmp/arduino-build-F5C93E3B986025B0F0043FFF5C3FD5F6 /tmp/1683090309/Boiler82A_THING_sep25a

Sketch uses 426264 bytes (40%) of program storage space. Maximum is 1044464 bytes.

Global variables use 36428 bytes (44%) of dynamic memory, leaving 45492 bytes for local variables. Maximum is 81920 bytes.

Upload started

Programming with: Serial

Flashing with command:C:/Users/user1/.arduino-create/esp8266/esptool/2.5.0-3-20ed2b9/esptool.exe -vv -cd nodemcu -cb 921600 -cp COM9 -ca 0x00000 -cf C:/Users/user1/AppData/Local/Temp/arduino-create-agent770349580/Boiler82A_THING_sep25a.bin

Did the upload fail with the same "The parameter is incorrect." as you reported in your original post this time?

I ask because I don't see that error message in the output you posted.

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