support

Forum Replies Created

Viewing 15 posts - 7,111 through 7,125 (of 7,796 total)
  • Author
    Posts
  • in reply to: OpenOCD error with ST-Link V2 #3308
    support
    Keymaster

    Hi,

    Can you try starting the Driver tool (select ‘manual mode’ in OpenOCD settings) and trying to manually install the WinUSB-LibUSB driver for the ST-Link device?

    in reply to: Embedded Memory Explorer: Illegal characters in path #3321
    support
    Keymaster

    Hi,

    Most likely some of your symbols refer to an incorrect path. Can you try running arm-eabi-objdump -g and see if the file tables mentioned in the output contain some suspicious names? If not, can you try commenting out parts of your project to see which source file causes it?

    in reply to: Issue with "Start without debugging" #3293
    support
    Keymaster

    Hi,

    What is the final size of the binary you’re debugging? If it’s several tens of megabytes, it could explain why deployment is slow. You can speed it up by adding a custom action that will strip it and deploy a stripped version (don’t forget to disable auto-deployment and don’t strip the version used by GDB to read symbols). We could also add a deployment progress window if it turns out that the deployment is the bottleneck.

    in reply to: VisualGDB test error. #3287
    support
    Keymaster

    Hi,
    Based on the log, the clean action fails because there is no project built yet (it should be normally ignored), but the build succeeds. Does the normal build command (not rebuild) work?

    in reply to: Disassembly #3289
    support
    Keymaster

    Hi,

    The disassembly window in Visual Studio sometimes behaves strangely is some of the requested code ranges cannot be disassembled. Can you provide a screenshot of the Disassembly window, the address you’re trying to see and the corresponding GDB log showing what gdb reports when asked to disassemble those addresses?

    in reply to: ST-Link v2 device not found #3316
    support
    Keymaster

    Hi,

    Looks like 374b is mentioned in the stlink-v2-1.cfg configuration file in the OpenOCD directory. You can edit the %LOCALAPPDATA%VisualGDBEmbeddedDebugPackagescom.sysprogs.arm.openocdQuickSetupinterfaces.xml file to make VisualGDB recognize it automatically:

    	
    stlink-v2-1
    ST-Link v2
    interface/stlink-v2-1.cfg


    0483
    374B


    true
    NotSupported
    com.sysprogs.libusb.mini

    in reply to: Recursive linking #3042
    support
    Keymaster

    Hi,

    Sorry for the delay. Can you send us an archive with your test application (or attach it here) so that we could experiment with it on our side to figure out the root cause of the problem?

    in reply to: Issue with "Start without debugging" #3294
    support
    Keymaster

    Hi,

    Thanks, the deployment was indeed skipped. We have added a default option to deploy it to the upcoming maintenance release.

    in reply to: Passing User Variables to make works weird #3299
    support
    Keymaster

    Hi,

    Your Windows itself may not have the limit, but the GNU make may have been compiled with an old version of the cygwin/MinGW runtime that does. That would explain why the shell started from the Make sees the variable, but the Make itself ignores it.
    If this is a critical issue, you could rebuild the Make binary from sources and step through it to see why the variables are lost. Let us know if you need instructions on that.

    in reply to: VisualGDB 4.2 Bugs #3319
    support
    Keymaster

    Hi,

    Sorry for the late reply. We have found and resolved the NullReferenceException issue. The fix will be available in the next maintenance release (r4). Let us know if you want an earlier build.
    Regarding the ‘clean’ problem you can go to Visual Studio Project Properties (not VisualGDB Project Properties), General page and clear the “Build log file” field or relocate it outside of the ‘Debug’ directory. Then it won’t interfere with the clean command.

    in reply to: Passing User Variables to make works weird #3297
    support
    Keymaster

    Hi,

    This looks like it may be related to the environment block size limit. The older versions of Windows had it limited to 32K and some programs may still have it hardcoded. Try cleaning up some unused environment variables and see if that solves the problem.

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

    Hi,

    The latest release of VisualGDB stores relative paths in the MCU XML file. Simply change the path to devicesstm32f407xx.xml if you have created your project using an older version.
    You can browse all VisualGDB-related settings via Tools->Options->VisualGDB.

    in reply to: Need help with MingW64 #3285
    support
    Keymaster

    Hi,

    The include/library directory settings do not support any variables. They do support relative paths, however.
    If you want to reference a VisualGDB library project, simply add it to the build dependencies of your main project and VisualGDB will figure out the path to the binary automatically.
    We don’t support multiple targets per project as it would make some things overcompilcated (e.g. project references or mapping of source files to targets) and it’s not supported by normal Visual Studio projects. You can instead use one of the following workarounds:
    1. Create several VisualGDB projects in different directories
    2. Manually edit the makefiles to add more targets (you will then have to manually track which sources belong to which targets)
    3. Create several VisualGDB projects in the same directory and override the Makefile name for them (e.g. Makefile2 instead of Makefile).

    in reply to: VisualGDB 4.2 Bugs #3320
    support
    Keymaster

    Hi,

    Sorry, we are still investigating the NullReferenceException issue. We should be able to provide an update by the end of this week.

    in reply to: Passing User Variables to make works weird #3300
    support
    Keymaster

    Hi,

    Does that happen with a stock version of make.exe that comes with MinGW, or are you using some custom make executable?

Viewing 15 posts - 7,111 through 7,125 (of 7,796 total)