ESP32-S3-DevKitC-1-N32R8V micropython adaption problems #10359
Replies: 7 comments 6 replies
-
try using mpremote instead of Thonny. |
Beta Was this translation helpful? Give feedback.
-
so I solved the issue by following this procedure on linux-based machine that I set up for this purpose (i found that procedure here https://forum.micropython.org/viewtopic.php?f=8&t=11827): #built requirements #allow current user read/write access to USB over serial port ~/$ mkdir ~/esp ~/esp$ git clone --recursive -b v4.4-beta1 https://github.com/espressif/esp-idf.git ~/esp$ mkdir mpy edit sdkconfig.spiram_sx ~/esp/mpy/micropython/ports/esp32/boards$ cd GENERIC_S3_SPIRAM/ ~/esp/mpy/micropython/ports/esp32/boards/GENERIC_S3_SPIRAM$ cd ~/esp/mpy/micropython edit Makefile ~/esp/mpy/micropython/ports/esp32$ make submodules in menuconfig -> serial flasher config: in menuconfig -> Partition Table: press S to save and Q to Quit ~/esp/mpy/micropython/ports/esp32$ make erase ~/esp/mpy/micropython/ports/esp32$ screen /dev/ttyUSB0 115200 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX In any regard there is still the problem, that I can not access the full 32 MB of RAM with this procedure and I still was not able to find an easy solution to flash the N32R8V with micropython on a windows machine properly. -Cheers :) |
Beta Was this translation helpful? Give feedback.
-
@ferryman314 : Thank you for your post above. I too have a N32R8V board. Your post saved me a lot of time. I tried doing : git clone --recursive -b v4.4.3 https://github.com/espressif/esp-idf.git And I was able to select 32MB for flash size in the "menuconfig". I checked it again by importing esp and checking flash_size() and it did show up "33554432" . Also managed to connect to a wifi network For some reason, when I do a "import esp32", there is no "esp32.raw_temperature()" to be found. |
Beta Was this translation helpful? Give feedback.
-
Take note also that in order to flash the firmware on say, Windows 10, one would need 3 files from the build process: micropython.bin , bootloader.bin , partition-table.bin + git clone of esptool.py repository Assuming that these 3 files are in the same directory as esptool.py ... (1) Erase first : python esptool.py --chip esp32s3 --port COM8 erase_flash (2) Then flash : python esptool.py --chip esp32s3 -p COM8 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dout --flash_freq 80m --flash_size 32MB 0x0 bootloader.bin 0x10000 micropython.bin 0x8000 partition-table.bin
|
Beta Was this translation helpful? Give feedback.
-
ESP-IDF v5.0 includes the changes necessary to utilize the full 32MB of Flash. There's a considerable development and testing effort required to upgrade, though. |
Beta Was this translation helpful? Give feedback.
-
We just got CircuitPython running on the ESP32-S3-DevKitC-1-N32R8V. It's using ESP-IDF Some changes needed in the board-specific So it's possible 😄 |
Beta Was this translation helpful? Give feedback.
-
Base on GENERIC_S3_SPIRAM_OCT, after add the following configuration, I can successfully compile and use.
|
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.
-
Is there a suitable workaround to flash micropython on ESP32-S3-DevKitC-1-N32R8V ?
I tried the octal SPIRAM version ( https://micropython.org/resources/firmware/GENERIC_S3_SPIRAM_OCT-20221220-unstable-v1.19.1-782-g699477d12.bin) already. I could flash it and run python files via Thonny from the editor but I have problems to upload python files with thonny to the device's directory:
Error message in thonny:
Is there a micropython adaption in progress to make this board workable from a Windows PC?
I already tried to follow the workaround with esptool 4.4 beta under WSL but I did not managed to forward the ESP32 usb port from windows to WSL: https://forum.micropython.org/viewtopic.php?f=18&t=11866
I am thankful for any advice (I recently tried the switch from Pico/Arduino to ESP32 and I think I started with the wrong ESP32 board for that, haha :) )
-Cheers :)
Beta Was this translation helpful? Give feedback.
All reactions