ESP32 wrover - Running 8mb firmware on 16mb

jojojijijojo
Posts: 18
Joined: Thu Feb 20, 2020 8:18 am

ESP32 wrover - Running 8mb firmware on 16mb

Postby jojojijijojo » Sun Feb 27, 2022 6:01 am

Hi,
Quick question, if I develop an application that runs on wrover 8mb version with appropriate partition table to fit 2 OTA (2mb each) and a factory of 2mb, would it still run if I flashed into a 16mb version wrover without any modifications?

ESP_Sprite
Posts: 9772
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 wrover - Running 8mb firmware on 16mb

Postby ESP_Sprite » Mon Feb 28, 2022 1:07 am

Yes. Firmware detects the larger flash and tell you about it, but given your partitions fit the flash, it will run.

jojojijijojo
Posts: 18
Joined: Thu Feb 20, 2020 8:18 am

Re: ESP32 wrover - Running 8mb firmware on 16mb

Postby jojojijijojo » Mon Feb 28, 2022 7:55 am

Ok great thanks, because I might have different batches with different flash sizes, and just want to make sure that they would all receive OTA and update just fine.

jojojijijojo
Posts: 18
Joined: Thu Feb 20, 2020 8:18 am

Re: ESP32 wrover - Running 8mb firmware on 16mb

Postby jojojijijojo » Tue Jul 12, 2022 7:33 am

Just a follow up on this.
I had a flash program compiled with 16mb option checked, but also automatically detect flash size option.
When I flashed into an 8mb wrover, it broke nvs and was unable to get wifi working. This was with a partition table that fits on 8mb.

So apparently if esp flash size is smaller, it won't work work even if partition table fits perfectly on an 8mb space.

Who is online

Users browsing this forum: dg9ngf and 114 guests