OSError: [Errno 19] ENODEV #11223
-
I have an ESP32S3 DevKit C I am trying to install micropython. I am connected by USB to the 'UART' port on
This appeared to run correctly.
This also appeared to run correctly.
And the result is:
If I try to copy a file to the uC:
I get the subject error. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 14 replies
-
Have you tried the SPIRAM octal version? https://micropython.org/download/GENERIC_S3_SPIRAM_OCT/ |
Beta Was this translation helpful? Give feedback.
-
As @bixb922 mentioned, you may need a version that has uses Octal SPI to connect to the flash device. You can check your specific board by looking up the ESP32-S3-DevKitC-1 Ordering Information where all eight versions of the DevKitC are listed. OT=Octal, QD=Quad (supported by the standard, non-"OCT" build). |
Beta Was this translation helpful? Give feedback.
-
@Amundw99, if you manage to get REPL, please try these:
My board is "ESP32S3-WROOM-1 N16R8". The Using Now, $ cat partitions-16MiB.csv
# Notes: the offset of the partition table itself is set in
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 0x1F0000,
vfs, data, fat, 0x200000, 0xE00000, which is also indicated by The first time I flash my board (without first erasing the flash) I get errors from the
I hope this helps to resolve your problem. |
Beta Was this translation helpful? Give feedback.
It had to be the N32R8V! I have one myself and you've reminded me that I needed to look in to why the MicroPython build was failing to mount the filesystem.
There are a couple of problems. The main issue is that
CONFIG_ESPTOOLPY_OCT_FLASH=y
needs to be added to the sdkconfig.board. If you make that change and build your own firmware you'll find that the filesystem will mount correctly.However,
GENERIC_S3_SPIRAM_OCT
is only configured for 8MB flash - it'll mount on any devices with >8MB flash but you won't be able to access more than the 8MB.So. you can also configure 32MB flash. You need to change the partition file (to use the existing
partitions-32MiB.csv
) and setCONFIG_ESPTOOLPY_FLA…