Replies: 4 comments 3 replies
-
Works on my S3
Seeed XIAO ESP32S3
|
Beta Was this translation helpful? Give feedback.
-
Thank you very much! It seems you tested with Linux, is that right? I have problems with Mac only. With Windows everything works ok. |
Beta Was this translation helpful? Give feedback.
-
Some progress here. I changed chunk_size from 256 to 15 in mpremote.transport.fs_writefile() and now mpremote works correctly (most of the time). |
Beta Was this translation helpful? Give feedback.
-
Still not much progress here. To transfer large files, I need to set chunk size to 4. This makes mpremote very slow for v.1.26 previews and almost impossible to use. No problems with Windows (same cables, same microcontrollers, same versions) nor with v1.25 and prior. I'd appreciate it very much if someone could reproduce the problem: Mac with OS Sonoma version 14.6.1 and using the USB port of the ESP32-S3, transferring larger binary files (10000 bytes), version 1.26 preview 158 and up. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I always get this error when copying a larger binary file with mpremote to a ESP32-S3:
The error occurs with v1.26.0-preview.158.g5cfafb73d and all later 1.26 previews up to v1.26.0-preview.196.g5f058e986.
I have tested with mpremote 1.25.0 installed with pip. I cloned the MicroPython repository and tested running
tools/mpremote.py
to get the latest version (i.e. the version that supports fs tree) and the problem persists.I have tried with no name brand ESP32-S3, with WEACT and with VCC-GND ESP32-S3, both N8R8 and N8R16 and the error occurs on all these microcontrollers.
The error does not occur with MicroPython images version 1.25.0 nor 1.24.1, with mpremote 1.24.0 and 1.25.0 (pip installed) on those same microcontrollers.
With smaller binary files, the error is less frequent. The test file is produced by this code:
No music with v1.26.0 previews 😭
Any thoughts?
(edit) These tests were done on a Mac with OS Sonoma version 14.6.1 and using the USB port of the ESP32-S3.
(edit) The error occurs always in the situation I described.
(edit) Could someone please confirm that this happens elsewhere too?
Beta Was this translation helpful? Give feedback.
All reactions