Forum Replies Created
-
AuthorPosts
-
December 7, 2018 at 22:57 in reply to: Intellisense Light bulb: "… is missing build generated headers" #22999
support
KeymasterHi,
This might be a remnant from the old Cygwin-based toolchain. Please try installing the latest ESP32 toolchain and create the project from scratch. If this solves the problem, please re-import your project into VisualGDB.
December 7, 2018 at 19:12 in reply to: Intellisense Light bulb: "… is missing build generated headers" #22996support
KeymasterHi,
Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.4.10.2617.msi
December 7, 2018 at 05:12 in reply to: ERROR: DMA_HandleTypeDef was not declared in this scope #22993support
KeymasterHi,
Sorry, that probably comes from the fact that you are using templates. Counting references for templates is fairly complicated due to the way compiler tracks them internally, so the one-line summary may indeed not be 100% accurate (it has to be computed using a somewhat simplified logic due to performance constraints). We should be able to eventually fix this, however we won’t be able to fit it in v5.4.
December 7, 2018 at 05:08 in reply to: System.TypeInitializationException on Windows Server 2016 #22992support
KeymasterHi,
Good to know it works. Just in case anyone else runs into the same problem, here’s another workaround to this: https://blogs.msdn.microsoft.com/shawnfa/2008/03/14/disabling-the-fips-algorithm-check/
support
KeymasterHi,
No problem, we can help you, however it looks like your technical support has expired. Please renew it and we will be happy to walk you through resolving this.
support
KeymasterHi,
It looks like your technical support period has expired. Please renew your license here and we will be happy to help you resolve this.
support
KeymasterHi,
Sorry, it’s a known bug of Preview 10. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.4.10.2610.msi
support
KeymasterHi,
Sorry about that, it’s a known issue with Preview 10. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.4.10.2609.msi
December 4, 2018 at 04:28 in reply to: MbedOS Projects referencing to external mbed-os directory #22971support
KeymasterHi,
Yes, please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.4.10.2609.msi
Simply select a shared checkout when creating a new project and VisualGDB will automatically configure it for you.
Thanks again for the wait and let us know if you have any further questions/suggestions.
support
KeymasterHi,
Thanks for the video. It looks like when CMake updates the target list, the targets are reported in a different order (FaceServiceTest.exe gets in front of libFaceService.a) and hence the ‘expanded’ flag isn’t preserved properly. As a workaround, please set the “Sort targets by name” option via VS Project Properties (not VisualGDB Project Properties) -> Project Items->Sorting/Grouping.
support
KeymasterHi,
This would happen if VisualGDB could not display the normal project structure queried from CMake (normally it is cached and should not be lost).
Would it be possible for you to create a quick video of this? If we could see the exact timing of the problem and the exact icons shown in Solution Explorer, we should be able to tell what is going on.
December 1, 2018 at 01:18 in reply to: Arduino / esp8266 – multiple nested copies of output directory #22959support
KeymasterHi,
We have tried reproducing it on a clean project for the Generic ESP8266 Module, however could not get the behavior you are describing.
Please check if you can reproduce it on a project created from scratch and that you do not change the sketch folder in the .vgdbcmake file. If it doesn’t help, please share the build command line shown in the Output window after the “Launching Arduino builder” text.
support
Keymaster@parsec67, thanks for your input. We will try to clarify what is going on below.
Based on the log file, the error happens during the USB connection phase, before the target script takes any effect:
hla_layout.c:47 hl_layout_open(): failed
The .tmp script is used when you modify the JTAG/SWD frequency via settings for device scripts (such as STM32F4) that have it hardcoded. In that case, VisualGDB will create a temporary copy of the script, edit the frequency there and pass it to OpenOCD.
OpenOCD generally works well with ST-Link v1, v2 and v2.1. We have internal tests checking it and many of our customers are successfully using it. Based on the input we have collected in the past years, in ~0.1% of the cases, it would simply fail to recognize the USB device. This has been previously caused by:
- 3rd-party USB-over-network software
- VMWare USB virtualization not releasing the device properly (normally it works with VMWare)
- A USB host controller by a non-mainstream vendor that was not compatible with libusb
- Unidentified problem with Windows USB drivers that got resolved by uninstalling the device drivers and reinstalling them from scratch
Given the the issue occurs very rarely and is located in an external component (libusb) and seems to be triggered by a different set of factors each time, unfortunately it’s hard for us to suggest any specific diagnostic steps other than trying a different computer (assuming that the issue happens from the very beginning with the default settings). We mentioned J-Link because it comes with its own USB driver and software and does not rely on libusb.
Hope this explains and sorry we couldn’t suggest anything more specific.
support
KeymasterHi,
This looks like some sort of driver incompatibility between OpenOCD and ST-Link. Unfortunately, as a free tool, OpenOCD sometimes doesn’t work with some USB controller/device combinations.
Generally, if you are looking for a hardware solution that works 100% reliably, please consider trying Segger J-Link. It is more expensive than ST-Link, but comes with its own equivalent of OpenOCD that is fully covered by Segger’s support and is compatible with more devices. VisualGDB fully supports it as well as OpenOCD.
Alternatively, please try the OpenOCD-based setup on a different machine (i.e. with a different USB host controller), or try reinstalling the ST-Link drivers.
support
KeymasterHi,
Good to know it works. If you encounter further issues, please don’t hesitate to create another thread.
-
AuthorPosts