Im trying to do OTA upload from Arduino IDE.

Uploaded BasicOTA to ESP-01 with flash size set to (FS:2mb, OTA 1019kb). ESP-01 connects and shows up in Port selection, but when trying to upload I get


14:40:35 [ERROR]: Error Uploading

Thats the only output I get. Anyone had similar issue?


  • Does your ESP-01 have that much flash?
    – Majenko
    Jun 9 '21 at 12:54
  • nop, read wrong the chip info value. It said 4Mbit and I read 4mb. Dumb me
    – NccWarp9
    Jun 9 '21 at 13:21

The ESP-01 comes in two variants: blue, with 512KiB flash, and black, with 1MiB flash.

You have chosen an arrangement that needs 4MiB flash. It won't fit.

Choose a suitable flash size for your board.

  • Im using Blue variant. Read the chip info using espressifs flash tool and it read 4MBit. In my haste I read 4MB not Mbit :) I have a black variant, will try with it
    – NccWarp9
    Jun 9 '21 at 13:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.