Forum Replies Created
-
AuthorPosts
-
April 20, 2022 at 10:11 in reply to: Log : cross-compiling openFrameworks to Raspberry Pi using VisualGDB #32537
support
KeymasterHi,
You can find a detailed tutorial explaining the use of precompiled headers here. If it doesn’t work with your project, we would advise following the tutorial to get a working project, and then comparing the 2 projects side-by-side.
If you can pinpoint a specific setting that is not working as expected, feel free to let us know and we will help you find a workaround.
support
KeymasterHi,
Last time we checked, the DDF files only contained very high-level overview of the devices and did not list the exact peripheral registers. If it works differently for some devices, please let us know the exact device you are looking into, and we will investigate it further.
support
KeymasterHi,
Please refer to the following page for a detailed explanation of ESP-ADF vs. ESP-IDF versioning: https://visualgdb.com/documentation/espidf/#espadf
support
KeymasterHi,
Sure, you can either uninstall VisualGDB and install it back, or use the “Modify” button in the regular Add/Remove Programs window.
support
KeymasterThanks for letting us know and good to know it works. If the device vendor provides a usable toolchain, indeed, you can easily import it into VisualGDB and don’t need to build it yourself.
April 18, 2022 at 08:42 in reply to: Visual Studio gets stuck loading VisualGDB-based project #32512support
KeymasterHi,
Normally, VisualGDB checks for missing packages when loading the project, and displays a window suggesting automatically installing the missing ones. Most likely, something else in your setup interfered with this mechanism.
If you could confirm that a specific sequence of actions that can be reproduced from scratch, triggers the issue, we can gladly investigate it further (e.g. Create a project using the ARM toolchain -> Remove the toolchain via VisualGDB Package Manager -> Restart VS -> Open the project).
support
KeymasterHi,
Indeed, neither Visual Studio nor VisualGDB supports syntax highlighting in the assembly files. That said, it does not affect debugging. When you set a breakpoint in a source file, VisualGDB simply issues a -break-insert command directly to the gdb debugger, that in turn interprets the debug symbols and translates it to a physical breakpoint at a specific address. The process of translating source file locations to memory addresses is entirely done by gdb and is not affected by any IDE features. You can double-check the commands issued by VisualGDB to gdb via the GDB Session window.
If the breakpoints are not working, the assembly files could have been built without debug symbols, or some macros inside them might be interfering with the way gdb handles breakpoints.
You can also try using the Disassembly view in Visual Studio. It takes the assembly dump directly from gdb and knows the exact address of every line displayed there. Hence, breakpoints set via the Disassembly view will work regardless of the symbol issues.
support
KeymasterSorry for the delay. We have finally managed to reproduce the issue and it turns out it was caused by a race condition in the hardware register window initialization logic.
We have fixed it in the following build: VisualGDB-5.6.104.4554.msi
support
KeymasterHi,
No problem, we can gladly build a toolchain for you. Feel free to contact our sales with the details about your target and we will give you a quote.
April 12, 2022 at 19:01 in reply to: ESP32 WROOM-32D, JTAG Failing to flash unless in serial bootloader mode #32501support
KeymasterHi,
This looks like an issue between the module and the Espressif’s port of OpenOCD, and hence is not directly controlled by VisualGDB. Please consider contacting Espressif for further help with this issue.
You can also try reproducing it by manually running the OpenOCD build from the Espressif github repository. It it works better, we can help you configure VisualGDB to replicate the correct behavior.
Update: we got another report of a similar issue in this thread, and the workaround suggested on the Espressif forums is to pass the “esp appimage_offset 0x20000” command to OpenOCD. With VisualGDB, this can be done by adding the following text to the end of OpenOCD command line in VisualGDB Project Properties -> Debug Settings -> Advanced:
-c "esp appimage_offset 0x20000"
-
This reply was modified 2 years, 8 months ago by
support.
support
KeymasterHi,
In order to build the Linux applications on Windows, the cross-toolchain needs to be built specifically for that target using precisely the same settings as the original gcc. I.e. it needs to use the same ABI settings, same versions of libraries, same distro-specific gcc patches, and so on. Synchronizing sysroot on a similar toolchain would lead to unpredictable consequences: it might work, or it could trigger strange compile-time or runtime issues. You can read more about it here: https://visualgdb.com/documentation/linux/boards/.
If you are using a custom Linux board, the board vendor might already provide a toolchain, or scripts for building one. We could also build one for you for a small fee. Feel free to reach out to our sales to get a quote.
support
KeymasterIt looks like your technical support period has expired. We would be happy to help you, however we would kindly ask you to renew your technical support on the following page first: https://sysprogs.com/splm/mykey
support
KeymasterHi,
Please refer to your Linux distro documentation for instructions on installing gdbserver and other tools.
support
KeymasterGood to know it works. That said, Visual Studio should normally set the PATH automatically, so the problem could have been solved by simply restarting VS.
support
KeymasterNo problem and good to know it works. If you encounter further issues, feel free to create another thread.
-
This reply was modified 2 years, 8 months ago by
-
AuthorPosts