support

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 7,804 total)
  • Author
    Posts
  • in reply to: SDK 3.0.1 NRFConnect Cloning FAIL #36671
    support
    Keymaster

    Hi,

    Looks like something is broken with your Python installation. We have rechecked it with the Python 3.11.5 (same version as your log mentions) and it worked just fine.

    You can try resetting the Python environment or manually pointing VisualGDB to another Python directory as shown on this page.

    in reply to: Unpause ARM Semihosting Console after restart? #36670
    support
    Keymaster

    Hi,

    That would be a bit tricky. The fast semihosting driver (that detects the resets) is designed to be interchangeable with several other drivers that can produce similar output, and the console window is also interchangeable with other parts that consume text output. Routing pausing/unpausing through it would make things unnecessarily complicated, and could introduce bugs.

    We have made an internal note on it and will look into it next time we do a major redesign of the console logic, but we wouldn’t promise any timeline for it currently.

    As for the old contents, they should normally not get cleared at all, but restarting temporarily fills the buffer with zeroes (or bootloader-specific contents) and that could quickly fill the semihosting window, scrolling beyond the previous contents out of view.

    in reply to: VSCode support? #36669
    support
    Keymaster

    Yep. BTW, if you are curious, you can try downloading the build from here: https://sysprogs.com/CodeVROOM/download/.

    It is still missing a lot of important parts (e.g. search is completely unimplemented), but it runs on Windows, Linux and Mac, works just fine with insanely huge source folders, and lets you do some basic AI edits, if you are not scared by occasional glitches. The same IDE engine will eventually support running VisualGDB and VisualKernel, but probably not this year.

    We will polish a few more things over about a week or so, and will publish the official 0.1 preview. Feel free to post your feedback here; we’ll create a new forum for it after the first preview release, and move it there.

    support
    Keymaster

    Update: we got more reports of the problem and investigated it further. Turned out, a security update on our server interfered with the legacy non-SSL interface used by the key fetcher.

    We have fixed it properly now, so both new and old versions should work just fine.

    in reply to: Live Tracing on STM32H753ZI with VisualGDB #36662
    support
    Keymaster

    Sorry, that wouldn’t work. You need an ELF file built with relocation records and full debugging symbols.

    in reply to: Live Tracing on STM32H753ZI with VisualGDB #36659
    support
    Keymaster

    Hi,

    Sorry, this looks like the ELF file you are trying to trace contains some non-standard relocation records, so VisualGDB won’t know how to patch it. We can update VisualGDB to dump the exact address of the relocation record so you could try to adjust the code to avoid it, but it may turn out that there are multiple similar records with no easy fix.

    support
    Keymaster

    No problem, we will try to explain what is going on.

    The problem is most likely related to the TLS versions (protocol used by HTTPS). In order to maintain backward compatibility with VS2008, VisualGDB binaries are built to be compatible with all .Net versions starting from 3.5. However, the actual .Net 3.5 requires the old TLS 1.1 protocol that has been dropped by the latest web server software.

    So, as a workaround, VisualGDB uses configuration files (e.g. VisualGDB.exe.config) to explictly request Windows to prefer the newer .Net 4.0 that works with the latest TLS:

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0.30319"/>
    <supportedRuntime version="v2.0.50727"/>
    </startup>
    </configuration>

    The error would happen if you were using the old VS2008 (that depends on .Net 3.5) or somehow Windows would stop using the latest .Net version and would revert to 3.5. It is difficult to say why exactly it would happen on a particular machine, however we can suggest a few workarounds:

    • Try replacing the SessionServer.exe executable in the VisualGDB directory with this version: https://sysprogs.com/files/tmp/SessionServer.exe
    • Double-check that the visualgdb.exe.config and SessionServer.exe.config files are present and specify v4.0 before v2.0.

    If nothing helps, you can work around it by using a separate forwarder that would fetch the session keys using TLS 1.2 and feed them to VisualGDB. Let us know if you nothing else helps, and we will provide more details.

    support
    Keymaster

    It 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

    Update: it looks like you are using a floating license. Please try selecting Help->About VisualGDB->Revert to trial. If this fixes the problem, it will be covered by our support even with an otherwise expired support period.

    in reply to: VSCode support? #36641
    support
    Keymaster

    Well, yes and no. As far as VS code goes, the answer is still a hard no. VS Code is rather limiting in terms of GUI integration, so supporting it would mean competing against a plethora of free alternatives, while being largely limited by the VS code framework, and hence not being much better.

    If you know any successful paid extensions to VS Code, it would be interesting to have a look, but if there aren’t many of them, it somewhat proves our point.

    The good news is that the cross-platform GUI frameworks have finally caught up, so we have been working on our own cross-platform shell, that supports Windows, Linux and Mac, while being built mostly on the same tech stack as VisualGDB. It will first come out as a separate product focused on a few AI-specific tasks, and will then start gradually receiving functionality from VisualGDB. Stay tuned, the first preview build of the new product is a couple of weeks away!

    • This reply was modified 1 week, 6 days ago by support.
    support
    Keymaster

    Sorry for the delay. We have rechecked the logic behind BSP_SOURCE, BSP_EXPLICIT_LOCATION and loading of the regular BSPs, and it looks like the regular BSP loading is not necessary when either one is set:

    if((NOT ("${BSP_EXPLICIT_LOCATION}" STREQUAL "")) OR (NOT ("${BSP_SOURCE}" STREQUAL "")) )
        set(_load_regular_bsps 0)
    endif()

    We have updated the code on our side and will include it in the next VisualGDB update after it passes all tests.

    in reply to: Failed to execute a custom pre-debug action #36637
    support
    Keymaster

    Thanks for confirming your license.

    You can find a tutorial on custom actions here: https://visualgdb.com/tutorials/custom/steps/. The tutorial is rather old, but the concept of custom actions hasn’t changed since it was published.

    in reply to: No GPDSC file with new cubeMX #36633
    support
    Keymaster

    It 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

    in reply to: WANT TO DEBUGG TwinCAT/BSD ON VS2022 USING VISUALGDB #36624
    support
    Keymaster

    Hi,

    This could be a bug in the gdb, or some quirks of the build system that might be solvable with path substitutions, but you would need to understand what path format would work with the underlying debugger.

    We would advise first getting a simple breakpoint to work by running gdb manually and experimenting with different path formats. Once this works, configuring VisualGDB to use the same path syntax should be straight-forward. If not, let us know the path format that works manually, and we will help you configure VisualGDB to use it.

    support
    Keymaster

    @bflannery, yes and thanks for pointing it out. There is a bug in VS that sometimes stores the wrong colors, although it happens very rarely, so we could never fully reproduce it.

    We have a page describing it here: https://visualgdb.com/documentation/colors/

    in reply to: Please consider making FLASH/RAM a debug time option #36608
    support
    Keymaster

    It 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

Viewing 15 posts - 1 through 15 (of 7,804 total)