Trouble with esp32-s3fn8 chip #12332
-
Hello, I recently bought this Heltec HiLetgo ESP32 Built-in OLED WiFi Kit 32 module from Amazon. I had bought one a couple of years back and gotten micropython setup and running on it no problem and kinda loved it for a home automation project. However, there's been a hardware revision on this that I didn't notice before purchasing again. It's now an esp32-s3fn8 chip. I cannot seem to find the magic firmware + esptool.py invocation to get it to boot properly. The closest I've gotten is the v1.18 and v1.18 .bin files here. I'm more of a software guy than a micro-controller guy, so I don't really understand the difference between PSRAM SPIRAM, or "Octal-SPIRAM". The spec on amazon lists this as having "384KB ROM; 512KB SRAM; 16KB RTC SRAM; 8MB SiP Flash". Right now, with v1.18 or v.19 .bin files loaded at
Any ideas? Do I need to build micropython from source? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 13 replies
-
ESP32-S3FN8 8 MB (Quad SPI) Flash without SPIRAM. I would try v1.20.0-398. It automatically detects and works with or without SPIRAM. Give it a try, it might work on your board. |
Beta Was this translation helpful? Give feedback.
-
That appears to have totally worked! I don't know why it didn't occur to me to try a nightly build 🤦 Many, many thanks! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I just tried with a ESP32S3, and I can use GPIO > 21. Only not all numbers are valid. The next beyond 21 is 33 for non_octal_ram devices, or 38 - 46 for all of them. |
Beta Was this translation helpful? Give feedback.
-
Below are the pin definitions defined in "micropython/ports/esp32/machine_pin.h". (only the part for ESP32S3 is shown).
To get to the pins in the firmware as shown in your board's pinout diagram, you will probably need to build your own custom firmware. You can start by copying "ESP32_GENERIC_S3" and deleting all spiram/SPIRAM references in "mpconfigboard.cmake". |
Beta Was this translation helpful? Give feedback.
ESP32-S3FN8 8 MB (Quad SPI) Flash without SPIRAM. I would try v1.20.0-398.
It automatically detects and works with or without SPIRAM.
Give it a try, it might work on your board.