Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ESP32 bigger flash size (Read 1723 times)
Damjan
Newbies
*
Offline


Posts: 3
Joined: Feb 18th, 2023
ESP32 bigger flash size
Feb 19th, 2023 at 5:48pm
Print Post  
I have ESP32 board with 16MB flash. If I select bigger partition size from VM menu, say 8MB or 16MB, I do not see any changes when building image. It still displays "Program FreeRTOS size: 275093 bytes (used 21% of a 1310720 byte maximum)".

When I upload the bin, program keeps restarting. If I use default option of 4MB, everything works. How do I select bigger flash size?

I'm also attaching build log from simple blink program. Selected flash size is 8M with spiffs (3MB APP/1.5MB SPIFFS).
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: ESP32 bigger flash size
Reply #1 - Feb 20th, 2023 at 10:42am
Print Post  
Thanks for the report and the log.

You may also need to change the partition scheme to suit the larger chip, which will change the % used calculation at the end of the output accordingly.

Can you also enable the below options and perform the compile and upload again and re-attach the log?
  • vMicro > Compiler > Verbose
  • vMicro > Uploader > Verbose
« Last Edit: Feb 20th, 2023 at 2:25pm by Simon@Visual Micro »  
Back to top
IP Logged
 
Damjan
Newbies
*
Offline


Posts: 3
Joined: Feb 18th, 2023
Re: ESP32 bigger flash size
Reply #2 - Feb 26th, 2023 at 5:34pm
Print Post  
How do I change partition scheme?

I'm attaching requested build/upload log.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: ESP32 bigger flash size
Reply #3 - Feb 27th, 2023 at 9:33am
Print Post  
The Partition Scheme can be selected from the Board Options on the vMicro Menu, along with the Flash Size which will also need changing to suit your chip (same as in the Arduino IDE).

You can confirm the flash size of your chip, by running the below command with the board connected to your PC:
4.2.1\esptool.exe flash_id
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint