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 N16R8 + partitions.bin missing (Read 1299 times)
My Screen Name
Newbies
*
Offline


Posts: 9
Joined: Nov 7th, 2023
ESP32 N16R8 + partitions.bin missing
Dec 12th, 2023 at 5:28am
Print Post  
Hi,

Using VS2022 and VM. Everything up-to-date.

So far I have been compiling my sketch for the 'ESP32 Dev Module' which seems to work fine for my ESP32-WROOM-32 board which has the ESP32-D0WDQ6 chip on it.

First question: is 'ESP32 Dev Module' the preferred board for that particular ESP32-WROOM-32 (with the D0WDQ6 chip) or is there an even better suited (custom defined)  board for it?

I have now run in to the situation that I need more memory so I have a new board with the ESP32-S3-WROOM-1-N16R8 chip on it. For board I have selected 'ESP32-S3-USB-OTG' as my board indeed has USB-OTG on it.

Second question: is 'ESP32-S3-USB-OTG' indeed the preferred board for that chip or do I need some custom defined board (in which I can define the 16MB of flash and 8MB of psram)? If not the correct board, please explain how to obtain or make the correct board for that particular N16R8 chip.

Assuming - for now - that the selected ESP32-S3-USB-OTG board is a good choice I built the code and then tried to upload it to the board. This fails with 'esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: '..\\esp32_esp32s3usbotg\\Release/myproject.ino.partitions.bin'. It (the partitions.bin file) does exist for the other board (esp32_esp32).

Third question: What needs to be done to get this partitions.bin file created and the error fixed? What is this paritions.bin anyway?

Thanks in advance for any help.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2505
Joined: Feb 13th, 2019
Re: ESP32 N16R8 + partitions.bin missing
Reply #1 - Dec 12th, 2023 at 9:58am
Print Post  
The ESP-Dev Module is likely the most flexible board you can use for your ESP32-WROOM-32 board as it is the generic definition for an ESP32. If you have a specific development module using this chip there may be a better definition, however the specific board definitions often pre-select various settings (flash size etc) based on which chips they specifically manufacture the board with.  The generic ESP32x Dev Module allows for all of the settings to be altered so it covers all variants of the chip to our knowledge.

The ESP32-S3-WROOM-1-N16R8 board is likely best selected as the ESP32 S3 Dev Module, as this allows selection of the Flash Size (16MB), and the PSRAM type in use (which I believe is the OPI setting for Octal SPI PSRAM as shown in the datasheet).  This also allows selection of the OTG features as needed depending on which USB Mode you require.

The ESP32-S3-USB-OTG Board has a number of the settings pre-defined, hence it showing a much shorter list of options compared to the generic ESP32-S3 Dev Module.

The Partitions.bin is generated as part of the build process from the partitions.csv file, which is determined from the settings for Flash Size and Partitons selections on the Board options menu.  If this hasn't generated in the Build Folder it may indicate an error in the build which we can assist with if the build output is submitted with the settings shown at the top of the page.

I hope that is some help towards answering your questions, and the ESP32 Board Package creators will be able to give more specific advice if required: 
https://github.com/espressif/arduino-esp32
  
Back to top
IP Logged
 
My Screen Name
Newbies
*
Offline


Posts: 9
Joined: Nov 7th, 2023
Re: ESP32 N16R8 + partitions.bin missing
Reply #2 - Dec 14th, 2023 at 11:15am
Print Post  
Using 'ESP32S3 Dev Module' fixed the issue I had. Thanks for the support.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint