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 at 12:54
  • nop, read wrong the chip info value. It said 4Mbit and I read 4mb. Dumb me
    – NccWarp9
    Jun 9 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 at 13:20

This site is temporarily in read only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .