ESP32 Toolchain update failed

Sysprogs forums Forums VisualGDB ESP32 Toolchain update failed

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #11982
    sidprice
    Participant

    I was prompted to install an updated ESP32 toolchain today when I started VS2015, together with a couple of other VGDB items. The ESP32 toolchain failed to install, a red “X” displayed next to it, others installed fine. The error box mentioned “see the log”, where is the log?

    Sid

    #11983
    support
    Keymaster

    Hi,

    Normally the log will be displayed once you click “details”. Most likely this happened because some files from the old toolchain (e.g. the debug plugin) were in use by VisualGDB.

    Please try closing all Visual Studio instances and installing the toolchain manually: http://gnutoolchains.com/esp32/

    Please also note that the latest toolchain requires VisualGDB 5.3 Preview 5 as it relies on the new mechanism for embedded debug packages.

    #12119
    sidprice
    Participant

    When I try to install the toolchain manually I get a popup that says “Access Denied.”

     

    I also tried running the downloaded toolchain as administrator, with the same “Access denied” error.

    Sid

    #12120
    support
    Keymaster

    Hi,

    This could happen if some files were in use. Please try deleting the toolchain manually and then installing it again.

    #12149
    dparkinson
    Participant

    looks like only “VisualGDB 5.3 Preview 6” is available at http://visualgdb.com/download/, not “VisualGDB 5.3 Preview 5”. Is there any problem with using Preview 6 with the latest esp 2.1 toolchain downloaded from http://gnutoolchains.com/esp32/?

    #12150
    support
    Keymaster

    Hi,

    We try to release the preview builds every 1-2 weeks to get fast feedback on the new features, so please always use the latest available preview.

    There are no known problems with ESP32 and VisualGDB 5.3 Preview 6 (or 7).

    #12203
    sidprice
    Participant

    Thanks for the help, I deleted the toolchain was able to install the latest version.

    Sid

    #12299
    sidprice
    Participant

    Once again the ESP32 update failed to install. This is a pain to have to manually download and install. How can we debug this issue and fix it rather than working around it.

    Sid

    #12300
    support
    Keymaster

    Hi,

    The answer depends on the error you are getting. Do you still get the “access denied” error? Are you using VisualGDB 5.3 Preview 8? Does you Visual Studio have sufficient access rights (e.g. Administrator access) to write to the toolchain folder?

    #12315
    sidprice
    Participant

    Same result if I “run as Administrator” or not. Screen shot shows the error and the exception details are:

     

    VisualGDB version: 5.3.6.1730
    —————— System.Exception ——————
    System.Exception: Some tools could not be updated. Check error log for more details.
    at db.c1.d(ka1 a)
    at VisualGDB.Common_GUI.WPF.ItemizedProgressWindow.<>c__DisplayClass1_0`1.<RunAction>b__0()

    Sid

    Attachments:
    You must be logged in to view attached files.
    #12317
    support
    Keymaster

    Hi,

    Thanks for checking this. It looks like your antivirus might be preventing VisualGDB from running the downloaded executable. Please try disabling it and updating the toolchain again.

    #12321
    sidprice
    Participant

    Anti-virus is off on this VM. Plus, if I delete the previous installation it will install, see above in this thread,

    Sid

    #12322
    support
    Keymaster

    Hi,

    The problem could also be caused by Visual Studio having some files in the toolchain folder open (e.g. the debugging plugin).

    Please try updating to Preview 8 (your log mentions version 5.3.6 that is Preview 6). It includes a better toolchain updating mechanism that first removes the previous toolchain folder and only then installs the new toolchain.

    #12610
    sidprice
    Participant

    Excuse the long delay responding I had to wait for a suitable time on my projects to try the update.

     

    I can confirm that Preview 8 allowed me to update the ESP32 toolchain, thank you, Sid

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.