Unable to upload files to ESP01

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
jphalip
Posts: 7
Joined: Thu Apr 29, 2021 2:22 am

Unable to upload files to ESP01

Post by jphalip » Sat May 01, 2021 2:59 am

Hi,

I've flashed an ESP01 with the latest version of MicroPython using esptool.py.

I can now connect to it using rshell and Thonny, and can also use the REPL. However, I can't seem to be able to copy files to it.

With rshell I get this error:

cp client.py /pyboard
Copying 'client.py' to '/pyboard/client.py' ...
timed out or error in transfer to remote: b'F'

With Thonny I get this error:

ERROR thonny.backend: PROBLEM WITH THONNY'S BACK-END
Error Could not open file /client.py for writing, output:
[Errno 19] ENODE

If I click on the "Storage space" menu for the "MicroPython Device", I get this:

Storage space on this drive or filesystem:
total space: 0 B
used space: 0 B
free space: 0 B

Do you know what might be causing this, and how to fix it?

Thanks a lot,

Julien

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Unable to upload files to ESP01

Post by Roberthh » Sat May 01, 2021 6:22 am

What is the flash size of the ESP01, and which firmware did you install. I'm asking because the 512k firmware does not provide a file system.

jphalip
Posts: 7
Joined: Thu Apr 29, 2021 2:22 am

Re: Unable to upload files to ESP01

Post by jphalip » Sat May 01, 2021 2:41 pm

Thanks for your reply. My flash size is 1MB. I realized I had installed the wrong Micropython binary. I then installed the one for 1MB boards and it's now working as expected.

Post Reply