support

Forum Replies Created

Viewing 15 posts - 5,611 through 5,625 (of 7,816 total)
  • Author
    Posts
  • in reply to: error MSB3073 #10337
    support
    Keymaster

    Hi,

    Please select the View->Output command in Visual Studio just as the error suggests and you should be able to see more details about the error. Most likely you have 2 instances of the system file, so removing the reference to one of them via VisualGDB Project Properties -> Embedded Frameworks should resolve the problem.

    in reply to: Custom Embedded Template #10326
    support
    Keymaster

    Hi,

    This is actually very straight-forward. A VisualGDB project template is just a ZIP file containing template.xml with various project information and other files that will be simply copied to the project folder. So you can simply change the template file extension to .zip and add any extra contents there using 7-Zip or any other tool.

    The behavior you described with the warnings looks like a bug, so if you find it annoying, feel free to provide more steps and we will fix it.

    in reply to: Where to find ESP8266 xtensa-lx 106-elf for GDB stub? #10325
    support
    Keymaster

    Hi,

    Based on our experience, most likely this won’t work. As we don’t have any insight in the closed-source parts of the ESP8266 libraries, unfortunately we cannot offer much help here. Please consider asking on the Espressif forums.

    support
    Keymaster

    Hi,

    Thanks for the suggestions. We have considered making per-use trial, but that would mean that VisualGDB would have to re-activate on each start and that would make it much more inconvenient. If you did not have enough time to try out VisualGDB, you can always contact our support, explain your situation and we will give you a trial extension.

    Regarding the academic pricing, most of the VisualGDB price comes from the support we provide with the product. For a complex IDE plugin like VisualGDB there are much more things that can go wrong compared to a JTAG debugger, so we need to reflect this in the license price and terms in order to be able to provide support. We could offer an academic license with no technical support, however that would unfortunately upset the academic users, as they would still sometimes need help resolving occasional issues just like regular users.

    Hence the only advice we can give if you find VisualGDB too expensive is to try free tools like Eclipse. Our toolchains will still work with them, although the integration won’t be seamless and you would not be covered by our technical support, but you will still get the basic debug functionality that may be sufficient if you don’t use them regularly.

    in reply to: Where to find ESP8266 xtensa-lx 106-elf for GDB stub? #10321
    support
    Keymaster

    Hi,

    Thanks for the video. This is totally expected. In order to do reliable stepping, gdb needs 2 mechanisms:

    1. To be able to step one instruction at a time
    2. Once it steps into a function, it needs to set a breakpoint on either the first code line of that function (for stepping into) or on the first line after the calling line (for stepping over).

    On ESP8266 both mechanisms don’t work reliably:

    1. Stepping instruction-by-instruction often triggers interrupts and gdb does not know how to step out of them
    2. ESP8266 supports only 1 hardware breakpoint at a time, so if you already have one breakpoint in your code, gdb cannot set the temporary breakpoint as described above.

    Additionally to that, gdb does not know how to reliably unwind the call stack on ESP8266, so if the target starts running some pre-built library code from Espressif, you see the ‘frame not in module’ message and don’t get a meaningful call stack.

    These issues don’t happen with ARM devices because the ARM platform is very old and these problems were solved long ago. So for ARM devices, VisualGDB relies on the free tools like gdb to provide basic functionality (like stepping) and builds advanced features (like real-time watch) on top of them. For ESP8266/ESP32 there are no reliable low-level debugging tools and making them on our side would drive the VisualGDB price sky high (you would probably not want to pay $5K to debug a $2 chip), so unfortunately VisualGDB has to depend on the unreliable open-source tools that may be eventually fixed by the chip vendor. Hence <3$ for an IoT device is indeed compelling, however unfortunately you end up paying with spending several times more time to accomplish the same basic results.

    We may eventually consider creating a list of the low-level tool issues and launching a crowdfunding campaign to fix them in the free tools, but it is hard to say how successful this would turn out.

    We hope this explains it and sorry for the inconvenience caused by this.

    in reply to: Altera Bus Blaster to program ESP8266? #10311
    support
    Keymaster

    Hi,

    Thanks for confirming this. ESP8266 and ESP32 devices are relatively new and the debugging experience is often unreliable. Knowing the limitations, it is usually possible to get meaningful debug sessions, but the usability is unfortunately never near the ARM-based devices. VisualGDB tries to address some of the issues like disabling watchdogs and programming SPI FLASH, but there are unfortunately still many missing pieces.

    in reply to: Custom Embedded Template #10310
    support
    Keymaster

    Hi,

    You can always explicitly specify which linker script file to use via VisualGDB Project Properties. As long as it is specified, including .lds files in the project should not affect anything.

    in reply to: Real-time watch problems #10307
    support
    Keymaster

    Hi,

    The options shown in the tutorial were added to the new profiler package released just before 5.2R8. Please install it via Tools->VisualGDB Package Manager->Updates.

    The new package also adds an option to exclude the sampling profiler code, so you won’t need to modify the code anymore.

    in reply to: Custom Embedded Template #10306
    support
    Keymaster

    Hi,

    Please try adding them to Solution Explorer.

    in reply to: Linux busybox cmp issue #10303
    support
    Keymaster

    No problem, the -s switch should be supported on all systems, so we have switched VisualGDB to using it. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.2.14.1376.msi

    in reply to: Build Error with STM32CubeMX generated code #10302
    support
    Keymaster

    Hi,

    Looks like your project includes files meant for the IAR compiler (IAR\ARM_CM3\portmacro.h). Please double-check the list of imported files and the preprocessor macros and ensure that only files meant for GCC are included.

    If you are using Clang IntelliSense, you can quickly check why a certain file was included by opening it in Visual Studio and checking the bar on top of the source file. It will show the source file that includes the header and the entire inclusion stack.

    in reply to: DEbug issue: no executable file #10296
    support
    Keymaster

    Hi,

    Thanks for reporting this, please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.2.14.1375.msi

    in reply to: Caching the headers from WSL #10295
    support
    Keymaster

    Hi,

    VisualGDB does not cache the headers from the WSL, instead it configures the IntelliSense to directly look inside the WSL directories.

    If you are using CMake on WSL, you may be affected by a bug that prevents VisualGDB from querying CMakeLists.txt properly. If this is the case, please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.2.14.1375.msi

    in reply to: Build Error with STM32CubeMX generated code #10294
    support
    Keymaster

    Hi,

    We have rechecked the sample project and it had 2 references to the system_stm32f0xx.c file: one from the BSP and another one from the STM32CubeMX project.

    Please remove the reference to the one from the BSP via VisualGDB Project Properties -> Embedded Frameworks -> Default System file, then rebuild the project (Build->Rebuild All). This should get the build to work.

    in reply to: Problem adding section to linker script #10293
    support
    Keymaster

    No problem. Let us know if you need advice on interpreting the section offsets/sizes.

Viewing 15 posts - 5,611 through 5,625 (of 7,816 total)