No boot.py unable to create python files
Posted: Tue Feb 01, 2022 10:49 pm
I have the ESP32-S3-DevkitC-1 board with the 32 mb of ram and 8 mb psram. I am able to build and install micropython using idf version4.4 beta (note that the regular 4.4 and the latest 5.0 fails to build a working image. I have the same board but with only 8 mb flash and it works great.
I am able to build and flash the board and I have a working REPL prompt. When I try to save a python script, I notiv=ce there is no boot.py by default. I am unable to save the script as well.
Here is an error I have in thonny when I create a simple script and try to save it
ERROR thonny.backend: PROBLEM WITH THONNY'S BACK-END
Error Could not open file /test.py for writing, output:
[Errno 19] ENODEV
Note that REPL is working and I can even run the script, even though it never gets saved to the board. There is also no boot.py file and when I try this in rshell, /pyboard is empty.
Does anyone know what might be going on and how to resolve? I fell I am so close to getting this working. The only thing I noticed is that when I run flash_id as shown below, I get detected flash_size is unknown. I did define the flash size when I flashed the coard with 32m (32 mb does not work) but no difference. Thank you so much
esptool.py --port /dev/ttyUSB0 flash_id
esptool.py v3.2
Serial port /dev/ttyUSB0
Connecting.....
Detecting chip type... ESP32-S3
Chip is ESP32-S3
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e1:14:44
Uploading stub...
Running stub...
Stub running...
Manufacturer: c2
Device: 8039
Detected flash size: Unknown
Hard resetting via RTS pin...
I am able to build and flash the board and I have a working REPL prompt. When I try to save a python script, I notiv=ce there is no boot.py by default. I am unable to save the script as well.
Here is an error I have in thonny when I create a simple script and try to save it
ERROR thonny.backend: PROBLEM WITH THONNY'S BACK-END
Error Could not open file /test.py for writing, output:
[Errno 19] ENODEV
Note that REPL is working and I can even run the script, even though it never gets saved to the board. There is also no boot.py file and when I try this in rshell, /pyboard is empty.
Does anyone know what might be going on and how to resolve? I fell I am so close to getting this working. The only thing I noticed is that when I run flash_id as shown below, I get detected flash_size is unknown. I did define the flash size when I flashed the coard with 32m (32 mb does not work) but no difference. Thank you so much
esptool.py --port /dev/ttyUSB0 flash_id
esptool.py v3.2
Serial port /dev/ttyUSB0
Connecting.....
Detecting chip type... ESP32-S3
Chip is ESP32-S3
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e1:14:44
Uploading stub...
Running stub...
Stub running...
Manufacturer: c2
Device: 8039
Detected flash size: Unknown
Hard resetting via RTS pin...