Forum Replies Created
-
AuthorPosts
-
support
KeymasterHi,
The _estack message can be safely ignored. It refers to a mechanism that automatically checks for incorrect end-of-stack setting on ARM devices, however it does not work on ESP8266/ESP32 due to a different linker script layout.
support
KeymasterHi,
No problem, let us know if you run into any further issues with “program without debugging”.
With the popularity, yes, AVaRICE is much less popular than tools like OpenOCD. Arduino is indeed very popular, but it does not support low-level debugging and based on the feedback we got, most Arduino users expect the development tools to be free and there would not be much interest for a professional-grade tool like VisualGDB.
support
KeymasterHi,
This could happen if the .vgdbsettings file got corrupt or the NMake project settings were modified so that the .vgdbsettings file is no longer specified as the project output.
When you hold Shift, does the VisualGDB Project Properties window show the correct settings? Does opening View->Other Windows->VisualGDB Diagnostics Console and right-clicking on the project again show any error messages?
May 30, 2017 at 21:11 in reply to: mBed: Using current Target for Ethernet-Project with mbed-os5 #11346support
KeymasterHi,
The VisualGDB embedded frameworks are actually based on the mbed features and libraries reported by the mbed build system, so it could be a bit confusing in case of Ethernet libraries.
Please try referencing the “LWIP Support” framework instead of “Ethernet support” to get the mbed v5 sources (you can search for file names in the BSP.XML file to get the framework names required to include certain sources).
Regarding the new release, we usually update the popular BSPs quarterly. Hence the next mbed update will be released around the end of Summer.
support
KeymasterHi,
The main reason for worse AVR support is actually the underlying tools. VisualGDB relies on existing tools like OpenOCD or Segger J-Link software to handle the low-level communications and brings a usability level on top of it. The AVR devices use a completely different stack of tools that are much less popular and hence much less reliable, so VisualGDB inherits many of their limitations.
BTW, you can work around the ‘program without debugging’ error message by editing the <SysGCC>\avr\avr-bsp\debuggers\avarice\edp.xml file as follows:
<SupportedDebugMethods> <DebugMethod> <DetachCommand></DetachCommand>
VisualGDB will then skip the ‘mon detach’ command when programming the FLASH without debugging.
support
KeymasterHi,
The “JTAG scan chain interrogation failed: all ones” error usually indicates a wiring issue (some of the JTAG pins are not connected properly). We would recommend starting with the ESP32 board from Sparkfun that we officially support and once you get it to work reliably, moving on to a different one.
support
KeymasterHi,
It is not directly supported yet. The mechanism used by our BSP generator does not report it as a separate framework, so VisualGDB does not show it in the list. We may fix this in the next release, although currently the easiest way to get it to work is simply add the sources to the project manually.
support
KeymasterHi,
According to the log, it looks like a hardware wiring problem. Please double-check all your wiring and use a logic analyzer to see if the JTAG signals are going through.
Another advice would be to get a board directly tested by us (e.g. Sparkfun ESP32-Thing ), get the debugging to work with it first and then switch over to ESP32-WROVER.
support
KeymasterHi,
GCC should actually support #pragma once when compiling .c files as well, so normally you won’t need this.
support
KeymasterHi,
Not sure what you mean by the “standard template”. Could you please provide an example?
support
KeymasterHi,
Our AVR support is not as good as ARM as AVR devices are generally less popular and the underlying tools VisualGDB uses to do the low-level communication are somewhat more buggy. Can you confirm that programming FLASH on the same device while debugging works, but the program without debugging doesn’t? Or are both options broken?
support
KeymasterHi,
Looks like there might be a slight confusion. The Live Variables window allows tracking how the value of a single variable changes over time and saving this history (you need to enable plotting for the variables you want to save as otherwise VisualGDB won’t record any history).
If you want to plot a value of a large array at a single point in time, please use the Visual Watch instead of Live Variables.
Another option would be to use the advanced memory window. It can highlight variable boundaries and save selected ranges to binary files.
If this does not help, please let us know what are exactly you trying to accomplish and we will suggest the best way to do it.
support
KeymasterHi,
The easiest way would be to add another .cpp file and rename it to .c.
support
KeymasterHi,
Please try right-clicking in the “registers” window to enable the non-default register groups like “FP registers”.
support
KeymasterHi,
Please find the answers to your questions below:
- You can copy the HAL to your project folder by converting the project to a stand-alone one (requires Custom edition).
- You can create project templates with custom folder structures via the template mechanism
- VS IntelliSense is not designed to handle the GCC-specific language extensions, so it works less reliable than the Clang IntelliSense that is designed specifically for this purpose. You could try locating the parts of the code that are causing the errors (e.g. unrecognized special keywords) and adding workaround definitions (like #define <unrecognized keyword> <empty string>) there, but normally we advise using the Clang IntelliSense as it solves this type of problems by design.
With dark theme, we are gradually switching the VisualGDB GUI to the new WPF framework that handles the VisualGDB theme colors automatically. Currently all the tool windows are following the dark theme colors, although most of the popup windows don’t do that yet.
-
AuthorPosts