support

Forum Replies Created

Viewing 15 posts - 6,796 through 6,810 (of 7,813 total)
  • Author
    Posts
  • in reply to: JLinkGDBServerCL #6893
    support
    Keymaster

    Hi,

    You could select the “custom mode” as the debug method and specify “gdb –interpreter mi $(TargetPath)” as your command and “target remote :<port>” as the target selection command.

    Then VisualGDB won’t take any extra steps like trying to run a GDB stub.

    in reply to: Command-line action failed when build via SSH. #6892
    support
    Keymaster

    Hi,

    Please open VisualGDB Project Properties and check the build command there. If you are not sure, please send us your .vgdbsettings file so that we could help you locate the command.

    in reply to: STM32F7 Disco LED Blink #6884
    support
    Keymaster

    Hi,

    No problem. If you encounter further problems, feel free to contact us.

    in reply to: JLinkGDBServerCL #6881
    support
    Keymaster

    Hi,

    Good to know you got it to work. If you encounter further problems, feel free to let us know.

    in reply to: STM32F7 Disco LED Blink #6880
    support
    Keymaster

    Hi,

    According to the STM32F7-Discovery schematics, an LED is connected to GPIOI1. Please select it in the wizard, or adjust the code afterwards.

    in reply to: ARM Semihosting console not work in Example #6874
    support
    Keymaster

    Hi,

    The extensibility interfaces are not documented as they are used by a fairly small amount of our users. If you have specific questions about those, feel free to ask here or direct them to our support.

    in reply to: GDB + Register View #6873
    support
    Keymaster

    This is a known bug in 4.3 that has been fixed in 5.0.

    in reply to: GNU Profiling (gprof) with ARM Cortex-M #6872
    support
    Keymaster

    Hi,

    Thanks for the link, we will investigate it and see if we can add similar functionality to VisualGDB.

    in reply to: Beginner – 5.0 can't debug on STM32F072 discovery #6871
    support
    Keymaster

    Hi,

    Please try using OpenOCD as it is more stable than Texane ST-Link.

    in reply to: SIGTRAP semihosting #6870
    support
    Keymaster

    Please add the following commands to the GDB Startup commands (after target selection) in VisualGDB Project Properties:

    mon semihosting enable
    mon semihosting IOClient 2

    Then call the initialise_monitor_handles() function in your main():

    #include <stdio.h>
    
    extern "C" void initialise_monitor_handles();
    
    int main(void)
    {
        initialise_monitor_handles();
        printf("test\n");
    }

    Finally switch the GDB Session window to “All GDB Interaction” to see the semihosting output from the Segger GDB stub.

    You can also change “IOClient 2” to “IOClient 1” to direct semihosting output to a telnet port 2333.

     

    in reply to: 5.0 STM32 Devices BSP has outdated files #6869
    support
    Keymaster

    Thanks for letting us know. We usually update our STM32 libraries quarterly. We will ensure that the next update includes the latest Cube files for F0.

    support
    Keymaster

    Hi,

    Please try relocating the BSP to a directory with a shorter path (e.g. c:\nrf51) as described in this tutorial: http://visualgdb.com/tutorials/arm/multiuser/

    in reply to: SIGTRAP semihosting #6852
    support
    Keymaster

    Are you using OpenOCD or Segger software? Segger software should have their own implementation of semihosting (activated by “monitor semihosting enable” command).

    support
    Keymaster

    Hi,

    We tried reproducing your example, but could not get anything to fail. Hence I would assume that the problem is caused by some detail omitted in your message (e.g. relative paths, some extra spaces or tabs, file name lengths). If you could send us an archive with the exact files that fail for you, we should be able to fix it fairly fast.

    Clang IntelliSense parses the entire project when:

    • You search for a definition (not declaration with Ctrl-F12) of a function that is not defined in the current translation unit.
    • The function is not static.

    If this happens in some other case, please give us an example file and we should be able to fix it quickly.

    We know that our IntelliSense engine has some bugs that are not present in Eclipse and that’s why we always ask for detailed repro steps that help us nailing down those bugs and fixing them. As long as we can reproduce the bug on our side, we typically release a hotfix within 24 hours. Hence if you could provide us with the exact file that causes the bugs on your side, most likely we will resolve it very fast.

    in reply to: Switch between toolchains #6846
    support
    Keymaster

    We do not allow switching toolchains for existing projects because different toolchains have different settings formats and switching them may introduce serious bugs. We would recommend creating a new project and then importing the existing files into it. If you absolutely want to override the toolchain, you can edit the <mcu>.xml and <mcu>.mak files in your project directory replacing the references manually.

Viewing 15 posts - 6,796 through 6,810 (of 7,813 total)