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 ELF file SHA256: 0000000000000000 ? (Read 3520 times)
Yordan
Junior Member
**
Offline


Posts: 19
Joined: Aug 5th, 2018
ELF file SHA256: 0000000000000000 ?
Jun 13th, 2021 at 7:44am
Print Post  
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: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ELF file SHA256: 0000000000000000 ?
Reply #1 - Jun 13th, 2021 at 1:23pm
Print Post  
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.

« Last Edit: Jun 13th, 2021 at 7:08pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Yordan
Junior Member
**
Offline


Posts: 19
Joined: Aug 5th, 2018
Re: ELF file SHA256: 0000000000000000 ?
Reply #2 - Jun 14th, 2021 at 6:59pm
Print Post  
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: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ELF file SHA256: 0000000000000000 ?
Reply #3 - Jun 14th, 2021 at 8:06pm
Print Post  
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
Select All
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 xe -i "192.168.8.122" -p "3232" "--auth=" -f "C:\Users\[your name]\AppData\Local\Temp\VMBuilds\Sketch38\ESP32_~1\Release/Sketch38.ino.bin"
 



« Last Edit: Jun 14th, 2021 at 8:07pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint