Sysprogs forums › Forums › VisualGDB › Could not find a part of the path 'C:\ST\STM32CubeIDE_1.7.0\ .. families.xml
Tagged: VisualGDB STM32CubeMX
- This topic has 1 reply, 2 voices, and was last updated 2 years, 10 months ago by support.
-
AuthorPosts
-
January 18, 2022 at 16:38 #32047gojimmypiParticipant
Hi.
My objective is to have an STM32 project that can be shared on GitHub and useable by people without VisualGDB, specifically to be edited and compiled in the STM32CubeMX IDE.
I’m trying to use the new project wizard but I am encountering an error when selecting the toolchain.
My
families.xml
is found inC:\ST\STM32CubeIDE_1.7.0\STM32CubeIDE\plugins\com.st.stm32cube.common.mx_6.4.0.202111222105\db\mcu
and not
C:\ST\STM32CubeIDE_1.7.0\STM32CubeIDE\db\mcu\
Error message:
VisualGDB version: 5.6.102.4506
------------------ System.IO.DirectoryNotFoundException ------------------
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\ST\STM32CubeIDE_1.7.0\STM32CubeIDE\db\mcu\families.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
at System.Threading.CompressedStack.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
at System.Xml.XmlTextReaderImpl.OpenUrl()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at STM32ProjectImporter.STM32CubeMXProjectImporter.LoadFamilyList(IProjectImportService service, String& xmlFile)
at STM32ProjectImporter.STM32CubeMXProjectImporter.LoadMCUList(IProjectImportService service)
at VisualGDB.WPF.Embedded.MCUSelector.ControllerImpl.DoLoadMCUList(MCUSelectionContext ctx)
at VisualGDB.WPF.Embedded.MCUSelector.ControllerImpl.<>c__DisplayClass12_0.b__0()
at fj1.v
1.d()
trace=[System.IO.__Error.WinIOError:252, System.IO.FileStream.Init:928, System.IO.FileStream..ctor:0, System.Xml.XmlDownloadManager.GetStream:18, System.Xml.XmlUrlResolver.GetEntity:9, System.Xml.XmlTextReaderImpl.OpenUrlDelegate:0, System.Threading.CompressedStack.runTryCode:29, System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup:-1, System.Threading.CompressedStack.Run:80, System.Xml.XmlTextReaderImpl.OpenUrl:111, System.Xml.XmlTextReaderImpl.Read:147, System.Xml.XmlLoader.Load:166, System.Xml.XmlDocument.Load:47, System.Xml.XmlDocument.Load:19, STM32ProjectImporter.STM32CubeMXProjectImporter.LoadFamilyList:36, STM32ProjectImporter.STM32CubeMXProjectImporter.LoadMCUList:5, VisualGDB.WPF.Embedded.MCUSelector+ControllerImpl.DoLoadMCUList:55, VisualGDB.WPF.Embedded.MCUSelector+ControllerImpl+<>c__DisplayClass12_0.b__0:0, fj1+v
1.d:13]
Any suggestions as to what I’m doing wrong, or possible other alternatives? Thanks.
- Edit: I’m using Visual Studio 2019 v16.11.5 on Windows 10.
- This topic was modified 2 years, 10 months ago by gojimmypi.
January 20, 2022 at 09:19 #32051supportKeymasterHi,
Look like you have pointed VisualGDB to the location of STM32CubeIDE instead of STM32CubeMX.
Please make sure you install STM32CubeMX and point VisualGDB to it as shown in this tutorial, and it should work out-of-the-box.
-
AuthorPosts
- You must be logged in to reply to this topic.