Sysprogs forums › Forums › VisualGDB › ESP32 Toolchain update failed
- This topic has 13 replies, 3 voices, and was last updated 7 years, 2 months ago by sidprice.
-
AuthorPosts
-
August 8, 2017 at 16:59 #11982sidpriceParticipant
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
August 8, 2017 at 18:19 #11983supportKeymasterHi,
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.
August 20, 2017 at 21:38 #12119sidpriceParticipantWhen 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
August 20, 2017 at 23:48 #12120supportKeymasterHi,
This could happen if some files were in use. Please try deleting the toolchain manually and then installing it again.
August 22, 2017 at 18:55 #12149dparkinsonParticipantlooks 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/?
August 23, 2017 at 00:31 #12150supportKeymasterHi,
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).
August 29, 2017 at 01:26 #12203sidpriceParticipantThanks for the help, I deleted the toolchain was able to install the latest version.
Sid
September 5, 2017 at 20:41 #12299sidpriceParticipantOnce 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
September 5, 2017 at 21:53 #12300supportKeymasterHi,
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?
September 7, 2017 at 00:21 #12315sidpriceParticipantSame 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.September 7, 2017 at 00:39 #12317supportKeymasterHi,
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.
September 7, 2017 at 16:52 #12321sidpriceParticipantAnti-virus is off on this VM. Plus, if I delete the previous installation it will install, see above in this thread,
Sid
September 7, 2017 at 18:02 #12322supportKeymasterHi,
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.
October 7, 2017 at 18:48 #12610sidpriceParticipantExcuse 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
-
AuthorPosts
- You must be logged in to reply to this topic.