Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
ELF file SHA256: 0000000000000000 ? (Read 177 times)
Yordan
Newbies
*
Offline



Posts: 9
ELF file SHA256: 0000000000000000 ?
Jun 13th, 2021 at 8:44am
 
Not sure if this is for You guys, but seems none answer from the rest forums, so I am trying.
- The issue is that I am not sure from where to export .bin file for OTA update from Visual Micro, and I am currently sending the one which result when I click the run button, but I got this error : "ELF file SHA256: 0000000000000000".
Back to top
 
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline



Posts: 11097
United Kingdom
Re: ELF file SHA256: 0000000000000000 ?
Reply #1 - Jun 13th, 2021 at 2:23pm
 
I am not entirely clear where you are attempting to upload for OTA.

If you put the IP address of you board into into the serial port field and press ENTER then the Visual Micro upload should use OTA. IF you then switch on the compile verbose and upload verbose options on the vMicro toolbar you will see what is used for the OTA upload.

If you then see an error please post it here but in any event please post the info requested in the yellow box near the top of this page when creating forum threads. Most boards have different options so our advice can only really be given when the know what you are using and which tool chains you have installed.

Back to top
« Last Edit: Jun 13th, 2021 at 8:08pm by Tim@Visual Micro »  

Tim Leek
home
WWW  
IP Logged
 
Yordan
Newbies
*
Offline



Posts: 9
Re: ELF file SHA256: 0000000000000000 ?
Reply #2 - Jun 14th, 2021 at 7:59pm
 
more like I would like to ask ( since for me is not clear yet what's the issue ) :
- is there some specific process of generating .BIN file which should be delivered from a server (in my case ASP.NET) to the ESP32 on OTA Update or I should just use the "projectname".BIN which is generated when I press "Build" button ?
Back to top
 
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline



Posts: 11097
United Kingdom
Re: ELF file SHA256: 0000000000000000 ?
Reply #3 - Jun 14th, 2021 at 9:06pm
 
if you switch on the verbose upload and then add any ip address as outlined previously you will see the command that we use to upload for ota. The command pattern is read from the esp32 toolchain platform.txt. The instructions in the yellow box near the top of this page also show how to switch on the "show build properties" option. That combined with verbose show all the patterns we have discovered and the final command to upload for ota

This is the verbose upload I see when I set a random IP address for a test. You will see that Visual Micro calls the espota.exe that is supplied with the toolchain. It might well be doing some extra stuff but you can use the .exe too.

Code:
Uploading 'Sketch38' to 'ESP32 Dev Module' using '192.168.8.122'
Uploader started for board ESP32 Dev Module
Upload method will be: bootloader
Uploading via Bootloader
Port Properties (network)
C:\Users\[your name]\AppData\Local\arduino15\packages\esp32\hardware\esp32\1.0.6\tools\espota.exe -i "192.168.8.122" -p "3232" "--auth=" -f "C:\Users\[your name]\AppData\Local\Temp\VMBuilds\Sketch38\ESP32_~1\Release/Sketch38.ino.bin"
 



Back to top
« Last Edit: Jun 14th, 2021 at 9:07pm by Tim@Visual Micro »  

Tim Leek
home
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print