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 Error "Failed to get flash maps" when uploading firmware (Read 89 times)
Edsal94
Newbies
*
Offline


Posts: 2
Joined: Jan 15th, 2025
Error "Failed to get flash maps" when uploading firmware
Jan 16th, 2025 at 2:10pm
Print Post  
Hello,
I have a ESP32S3 on  a custom board, and I am trying to upload firmware using ESP-PROG board and JTAG interface.

I got the error "Failed to get flash maps!" during an upload, and I keep getting the same error with every firmware, so the board is unusable

Before getting the error I tried uploading some basic firmware (e.g blink and similar) and the code seemed to work fine, so the setup and the wiring should be ok.

The same firmware with which I got the error was uploadable at first, only at a certain point I got the error ( although I was not able to test if this firmware was working properly)

What could be causing the issue? 
Is there a way to al least make the board usable again?

I will post a screenshot of the error later in the day
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2564
Joined: Feb 13th, 2019
Re: Error "Failed to get flash maps" when uploading firmware
Reply #1 - Jan 16th, 2025 at 2:46pm
Print Post  
Thanks for the report.

So we can understand the environment, please post the complete build and upload output as shown at the top of the page, with the below options enabled:
  • vMicro > Compiler > Verbose
  • vMicro > Compiler > Show Build Properties
  • vMicro > Uploader > Verbose


If you can also specify which exact ESP32S3 chip you are using it may help diagnose the issue in more detail.
« Last Edit: Jan 16th, 2025 at 5:15pm by Simon@Visual Micro »  
Back to top
IP Logged
 
Edsal94
Newbies
*
Offline


Posts: 2
Joined: Jan 15th, 2025
Re: Error "Failed to get flash maps" when uploading firmware
Reply #2 - Jan 16th, 2025 at 4:59pm
Print Post  
The chip is ESP32-S3-WROOM-1-N8R2

Here attached is the log requested
Let me know if you need anything else

Just so you know, I am also working on the same project of user "ntrbiosensors", although we are facing different issues
« Last Edit: Jan 16th, 2025 at 5:00pm by Edsal94 »  

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


Posts: 2564
Joined: Feb 13th, 2019
Re: Error "Failed to get flash maps" when uploading firmware
Reply #3 - Jan 17th, 2025 at 8:46am
Print Post  
Thanks for the detail.

As mentioned on the previous thread for a different issue on the same project:
Quote:
This may not be relevant to the current issue, but in general it is best to have project (and INO file) names without spaces in as these can cause issues with some aspects, and is also not Arduino Compatible.  If you right click the INO fie and rename it to remove the spaces, Visual Micro will align everything once OK is clicked on the popup.


Also I believe the ESP32-S3-WROOM-1-N8R2 has 8MB Flash from Espressif's Spec.  Can you set the Menu option for Flash Size to 8MB? 
(NOTE: This is likely unrelated as only 4MB is in use in the Partition Scheme selected)

If you add the attached line to the local board.txt file, and restart Visual Studio, does this improve the situation?

Also, do you have any alternative wiring to try? 
(This can cause a multitude of issues and resolved the issue for your colleague on this thread)


  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint