support

Forum Replies Created

Viewing 15 posts - 6,196 through 6,210 (of 7,815 total)
  • Author
    Posts
  • support
    Keymaster

    Hi,

    It’s a known issue that will be addressed in the next version with an improved version of the Memory window that relies on the faster live memory interface. We expect to have a preview build with this feature at the end of the next week. As a temporary workaround, please use the ‘x’ command in the GDB Session window manually.

    in reply to: Path mapping that contain symlinks #8519
    support
    Keymaster

    Hi,

    You can solve this in 2 steps:

    1. Create a custom pre-debug action that will query the current GUID value and store it in a VisualGDB variable
    2. Use the variable (e.g. $(MyGUID)) in the path mapping in VisualGDB Project Properties

    Let us know if you need further details.

    in reply to: Overload printf, etc. with newlib #8515
    support
    Keymaster

    Hi,

    Yes, you can simply provide your own implementations for the _isatty() and _write() functions and the newlib will call them. We recommend looking into FastSemihosting.cpp and copying the code surrounded by “#if FAST_SEMIHOSTING_STDIO_DRIVER” into your own source file. Note that you need to declare those functions as extern “C” as otherwise the newlib won’t recognize them properly.

    in reply to: Debugging w. VS2015 and Segger J-Link #8514
    support
    Keymaster

    Hi,

    Thanks for the kind words and we are sorry that the debugging is not working yet.

    Installing other plugins should not affect this, as it looks like some sort of a compilation flag/tool problem.

    Please try creating a project with a VisualGDB toolchain and using the default VisualGDB settings. This should get a working starting point. Then you can simply compare the build logs and the produced binaries side-by-side to simplify figuring out what is causing this. Feel free to share the details of your progress so that we could give further advice.

    support
    Keymaster

    Hi,

    This is a known bug of GDB. Please try enabling the “Use X command to read memory” option in the VisualGDB Project Properties (GDB Settings page).

    in reply to: Kinetis SDK 2.0 support ? #8507
    support
    Keymaster

    Hi,

    Kinetis KSDK 2.0 uses a different approach for structuring files than the previous versions, please try creating a project manually by following the legacy device tutorial: http://visualgdb.com/tutorials/arm/legacy/

    ​​You would normally need to import at least the following files:

    • The startup file (.S)
    • The linker script (.ld)
    • ​The drivers files (e.g. fsl_gpio.c)

    If this does note help, please let us know the details on the errors you encounter so that we could help you further.

    support
    Keymaster

    Hi,

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

    in reply to: Debugging w. VS2015 and Segger J-Link #8505
    support
    Keymaster

    Hi,

    Are you using one of our toolchains, or your own one? Sometimes the default debug format produced by a certain version of gcc is unreadable by certain versions of gdb. We test for that in our toolchains, but if you are using your own one, this might be the case.

    After changing the debug format (it should be -gdwarf-<version> as described here) do you see the list of source files when running gdb on your .o files manually?

    in reply to: VisualGDB large .npa files #8503
    support
    Keymaster

    Hi,

    Those files contain precompiled headers for code completion. When you open a source file for editing VisualGDB will parse the headers it includes only once, store the result in a .npa file and then reuse it each time you need code completion results.

    The .npa files are created for sources that have been modified in the last 24 hours as they are assumed to be actively edited. If you have recently imported the entire project, VisualGDB could have created those for all source files. Then you can simply delete them 24 hours after import and they won’t be re-created.

    in reply to: Debugging w. VS2015 and Segger J-Link #8501
    support
    Keymaster

    Hi,

    No problem. Please try running the “info sources” command in the GDB Session window. It should show the list of source files known to the debugger. Are your files listed there? If not, please try opening any .o file with ARM gdb (arm-eabi-gdb.exe <file.o>) and run “info sources” on it. If the sources are not listed either, please double-check that you actually have the “-ggdb” flag and that the files are not stripped. If the .o files have symbols, but the final .elf file does not, please check that the ELF file is not stripped after being linked.

    in reply to: Cannot debug with LPC4330 #8500
    support
    Keymaster

    Hi,

    It looks like the J-Link software might be getting invalid readings from the chip. Have you checked with Segger whether this chip is officially supported? Perhaps you are missing some configuration option of the J-Link GDB stub?
    You can also try using OpenOCD instead. We can share our experimental script files for LPC4330 if this helps.

    in reply to: For any embedded platform #8495
    support
    Keymaster
    in reply to: RTOS – osWait #8494
    support
    Keymaster

    Hi,

    osWait() should normally be defined in cmsis_os.c. Please check that the file is included in your project and then see if the function is present in the file and is not surrounded by an inactive #ifdef block.

    in reply to: Not running debugging (Live Variables) through J-Link #8488
    support
    Keymaster

    Hi,
    OK, this means that the incorrect values are coming from the J-Link software. Please try installing the latest version of it, installing the latest firmware to your J-Link and reducing the JTAG frequency.
    If this does not help, please try contacting Segger support with the log showing what JLINKARM_ReadMemEx() returns, perhaps they have a better idea why it is returning incorrect data.

    in reply to: Not running debugging (Live Variables) through J-Link #8485
    support
    Keymaster

    Sorry, looks like a bug in the debug build. Please try this one: http://sysprogs.com/files/tmp/SeggerEDP.dll

Viewing 15 posts - 6,196 through 6,210 (of 7,815 total)