Microcontroller setup Arduino ide 2.X

Greetings!

To be honest, I don't know which category this belongs to. If it's not here, I hope the moderator will move it or I'll try.

I have a problem that I have a couple of Espressif ESP32-Wroom-32 u(e)-8N modules. I'm trying to set it up correctly because so far I've left the setting at the basics. 4M fash size, default 4M partition scheme with SPIFFS. However, this is an 8M device.

I changed the flash size to 8M and the partition also to 8M with SPIFFS.
From then on, the device became stupid. The device cannot attach SPIFFS, Some functions do not work. It restarts from time to time

The device setting is ESP32-dev-module.

What and how should I configure it to be able to use all 8M?

If you need more information, I will gladly provide it.

Hello!

I don't know if you overlooked something, but the program is roughly 1.5MB and 1.5MB of SPIFFS. I'm not a math genius, but that's 3 MB Even though Flash is set to 8 MB in the settings, the device only works with a 4 MB partition scheme, and when I load the program it still writes ~1.5 MB.

OFF
Doesn't the IDE know which module and/or program part takes up how much memory? I was at 30% for a long time, then at some point it jumped to 80%. I didn't do much, but I don't remember what :slight_smile: It's just incidental. That's the only reason I'm looking for the 8MB setting.
/OFF

Hello!

Maybe I'm misunderstanding something. Among the settings there is "flash size" and there is "partition scheme"

The Flash size apparently doesn't matter, because nothing happened when I changed it from 4MB to 8MB.

On the other hand, when I set the partition scheme from "Default 4MB with SPIFFS (1.2M app 1.5M Spiffs)" to "8M with SPIFFS (3MB app/1.5MB SPIFFS)", my 8 MB device went crazy. Although I don't really understand this either, because the OTA also takes up space, but if I count the values ​​in brackets, there are 2.7MB for the 4MB and 4.5MB for the 8MB. Looking at the description of the partition schemes, the OTA takes up a few kB, the APP space is reserved twice, and there is also the NVS, which also takes up a few kB. So if there is 1.2MB of APP and 1.5MB of SPIFFS, then 2 X1.2+1.5MB is 3.9MB. the remaining 100kB is shared by NVS and OTA. In the case of the 8MB scheme included by default in the IDE, it would logically be 2 X 3+1.5MB, i.e. 7.5MB, the remaining 500kB being shared by NVS and OTA. This is apparently unambiguous.

In my case, the Espressif ESP32-Wroom-32UE-N8 is a device with 8MB flash according to the documentation. however, if I choose the 8MB partition scheme from the above, it either does not start at all, or "guru meditates" after starting.

My question was about whether I might have chosen the wrong motherboard? There is no such motherboard as ESP32-Wroom-32UE-N8 on the right side of which the ESP32 Dev module read in many descriptions is set. But if, due to the definition of the motherboard, the 8 MB partition scheme is not or is not processed correctly, it can make my device stupid. Unfortunately, it is not written in the motherboard selector (or I could not find it) who manufactured the given motherboard definition, which is not included in the name. Because if it was in it, I would try all the espressif definitions. Maybe it works with one.

I also noticed that if I remove all non-8 MB schemes from the IDE partition scheme directory, the IDE brings the other schemes in the same way as if nothing had happened. Also, in the documentation and forums, it is written that if I put a "partitions.csv" next to "*.ino", the IDE will use it. Well, not with me. Either I misunderstood or messed something up.

Thought there was some 4mb clip on the SPI ram??
Meaning the device can only access an additional 4mb..
I remember seeing something, think it was in vscode using my esp32cams..
On boot it spits out allot more info and I remember seeing something about spi memory..
Try kicking up you Core Debug Level so you can see if/what it is complaining about..

good luck.. ~q

Greetings!

My device is ESP32-WROOM-32UE-N8, the table below (extracted from the documentation) shows that it has 8MB Flash without PSRAM.

What extra info if any is displayed when you modify the Core Debug Level to something other than None, which is what it is currently set too..
I see it in the pic you posted, it's under the Tools menu..
Crank it up to like info and see what's is printed..
If the board is having an issue, I'm hoping it will display something..

~q

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.