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
Hot Topic (More than 8 Replies) bootloader not find with latest beta of esp32 (Read 6483 times)
apwwn
Newbies
*
Offline


Posts: 2
Joined: Apr 23rd, 2021
bootloader not find with latest beta of esp32
Apr 26th, 2021 at 1:29pm
Print Post  
Hello,

I've updated my esp32 board definition to the latest version of the arduino-esp32 package who support the esp32s2 like said here : https://github.com/espressif/arduino-esp32#esp32-s2-and-esp32-c3-support but I have one problem now, when I try to compile my code, the uploader say "esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: .ino.bootloader.bin'"

To reproduce the problem, just create an empty project with "ESP32S2 Dev Module" as target and voila Wink

This file is created but is deleted just before the upload, why and by who, I don't know.

Oh, and I forget to mention that Expressif has deleted all branches used for esp32s2 until now....
« Last Edit: Apr 26th, 2021 at 1:55pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2144
Joined: Feb 13th, 2019
Re: bootloader not find with latest esp32
Reply #1 - Apr 26th, 2021 at 1:48pm
Print Post  
Thanks for the report, can you try the latest release from the top of the board below (21.01.06.20), which should resolve this issue:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
 
IP Logged
 
apwwn
Newbies
*
Offline


Posts: 2
Joined: Apr 23rd, 2021
Re: bootloader not find with latest beta of esp32
Reply #2 - Apr 26th, 2021 at 2:34pm
Print Post  
I confirm, it's OK now.

Thks  Smiley
  
Back to top
 
IP Logged
 
qi
Newbies
*
Offline


Posts: 8
Joined: Sep 18th, 2021
Re: bootloader not find with latest beta of esp32
Reply #3 - Oct 12th, 2021 at 3:35am
Print Post  
esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: no.bootloader.bin'

I have the same problem

How can it be resolved without updating
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2144
Joined: Feb 13th, 2019
Re: bootloader not find with latest beta of esp32
Reply #4 - Oct 12th, 2021 at 8:27am
Print Post  
Thanks for the report.

Please enable the "Verbose" and "Show Build Properties" as shown at the top of this page, also enable the vMicro > Uploader > Verbose option

Then attach the full output from the Output > Micro Build window, for both the build, and upload as separate text files.
  
Back to top
 
IP Logged
 
qi
Newbies
*
Offline


Posts: 8
Joined: Sep 18th, 2021
Re: bootloader not find with latest beta of esp32
Reply #5 - Oct 13th, 2021 at 4:30am
Print Post  
C:\Users\qi\AppData\Local\Temp\VMBuilds\Blink2\esp32_esp32wrover\Release
I saw that file in this folder at compile time, but it was deleted after compile.
so.file not found.

I think this file should be modified
orm.txt”,

Please revise it and send it to me. Thank you


  
Back to top
 
IP Logged
 
qi
Newbies
*
Offline


Posts: 8
Joined: Sep 18th, 2021
Re: bootloader not find with latest beta of esp32
Reply #6 - Oct 13th, 2021 at 4:42am
Print Post  

I have an idea:
I have copied the file here by modifying platfrom.txt
”C:\Users\qi\source\repos\Blink2\Release\Blink2.ino.bootloader.bin“


But there's no enforcement here. I don't know why.(tools.esptool_py.upload.pattern_args=....... 0x10000 "{build.source.path}/Release/{build.project_name}.bin".....),The path was not identified successfully.

{build.source.path}Not identified as C:\Users\qi\source\repos\Blink2,

Please help me, thank you.





  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2144
Joined: Feb 13th, 2019
Re: bootloader not find with latest beta of esp32
Reply #7 - Oct 13th, 2021 at 8:23am
Print Post  
Please attach the logs as requested previously, so we can see all environmental settings, and the full output of the build process.
  
Back to top
 
IP Logged
 
qi
Newbies
*
Offline


Posts: 8
Joined: Sep 18th, 2021
Re: bootloader not find with latest beta of esp32
Reply #8 - Oct 14th, 2021 at 5:21am
Print Post  
ok,thanks
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
qi
Newbies
*
Offline


Posts: 8
Joined: Sep 18th, 2021
Re: bootloader not find with latest beta of esp32
Reply #9 - Oct 14th, 2021 at 5:44am
Print Post  
Blink2.ino.bootloader.bin
It was copied and then deleted,so Can't Find It
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2144
Joined: Feb 13th, 2019
Re: bootloader not find with latest beta of esp32
Reply #10 - Oct 14th, 2021 at 9:23am
Print Post  
Sorry the below settings also need to be enabled for us to see all of the information:

vMicro > Compiler > Verbose
vMicro > Compiler > Show Build Properties
vMicro > Uploader > Verbose

Then perform a Build > Clean, and then Build the project, attach this log first.
Then perform the upload, and attach this log either as a separate file, or appended to the end of the first one.
  
Back to top
 
IP Logged
 
qi
Newbies
*
Offline


Posts: 8
Joined: Sep 18th, 2021
Re: bootloader not find with latest beta of esp32
Reply #11 - Oct 17th, 2021 at 3:42am
Print Post  
Ok,Thank you for your patient help.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
qi
Newbies
*
Offline


Posts: 8
Joined: Sep 18th, 2021
Re: bootloader not find with latest beta of esp32
Reply #12 - Oct 17th, 2021 at 3:43am
Print Post  
Upload log
  

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


Posts: 2144
Joined: Feb 13th, 2019
Re: bootloader not find with latest beta of esp32
Reply #13 - Oct 18th, 2021 at 9:53am
Print Post  
Thanks for the logs.

Have you tried updating vMicro to version 1.2021.0106-20 (or a later version) ?
  
Back to top
 
IP Logged
 
qi
Newbies
*
Offline


Posts: 8
Joined: Sep 18th, 2021
Re: bootloader not find with latest beta of esp32
Reply #14 - Oct 20th, 2021 at 2:08pm
Print Post  
It's 2021.01.06.
Did you see the problem in the logs?
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2144
Joined: Feb 13th, 2019
Re: bootloader not find with latest beta of esp32
Reply #15 - Oct 20th, 2021 at 2:51pm
Print Post  
The version shown in the logs is 1.2021.0106-0, the fix was made in a later release 1.2021.0106-20.

So to resolve this it should be a case of updating Visual Micro to either the latest version, or at least 1.2021.0106-20:
1.2021.0106-20 --> https://www.visualmicro.com/forums/YaBB.pl?num=1619429166
  
Back to top
 
IP Logged
 
AlanSborGold
Newbies
*
Offline


Posts: 2
Joined: Dec 22nd, 2020
Re: bootloader not find with latest beta of esp32
Reply #16 - Jun 30th, 2022 at 6:18pm
Print Post  
Doesn't want to upload firmware.
Log attached to the post.

Under Arduino everything is fine.


Uploading 'readMag_5603' to 'ESP32 Wrover Module' using 'COM27'
Uploader started for board ESP32 Wrover Module
Upload method will be: bootloader
Uploading via Bootloader 
ool.exe --chip esp32 --port "COM27" --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 "D:\temp\VMBuilds\READMA~1\ESP32_~2\Release/readMag_5603.ino.bootloader.bin" 0x8000 "D:\temp\VMBuilds\READMA~1\ESP32_~2\Release/readMag_5603.ino.partitions.bin" 0xe000 /partitions/boot_app0.bin" 0x10000 "D:\temp\VMBuilds\READMA~1\ESP32_~2\Release/readMag_5603.ino.bin"
usage: esptool write_flash [-h] [--erase-all]
                           [--flash_freq {keep,80m,60m,48m,40m,30m,26m,24m,20m,16m,15m,12m}]
                           [--flash_mode {keep,qio,qout,dio,dout}]
                           [--flash_size FLASH_SIZE]
                           [--spi-connection SPI_CONNECTION] [--no-progress]
                           [--verify] [--encrypt]
                           [--encrypt-files <address> <filename> [<address> <filename> ...]]
                           [--ignore-flash-encryption-efuse-setting]
                           [--compress | --no-compress]
                           <address> <filename> [<address> <filename> ...]
esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: '
The uploader process failed
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
AlanSborGold
Newbies
*
Offline


Posts: 2
Joined: Dec 22nd, 2020
Re: bootloader not find with latest beta of esp32
Reply #17 - Jun 30th, 2022 at 7:26pm
Print Post  
Problem solved.
The Esptool programmer is not automatically selected in the upper left corner Must be selected manually
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2144
Joined: Feb 13th, 2019
Re: bootloader not find with latest beta of esp32
Reply #18 - Jul 1st, 2022 at 10:28am
Print Post  
Thanks for the report.

Can you update Visual Micro to the latest version and try this again without the Upload tool being set?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint