support

Forum Replies Created

Viewing 15 posts - 6,286 through 6,300 (of 7,897 total)
  • Author
    Posts
  • 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

    in reply to: How to output the compiled assembly? #8484
    support
    Keymaster

    Hi,

    Yes, you can edit the Makefile as follows:

    #VisualGDB: FileSpecificTemplates        #<--- VisualGDB will use the following lines to define rules for source files in subdirectories
    $(BINARYDIR)/%.o : %.cpp $(all_make_files) |$(BINARYDIR)
        $(CXX) $(CXXFLAGS) -c $< -o $@ -MD -MF $(@:.o=.dep)
        $(CXX) $(CXXFLAGS) -S $< -o $(@:.o=.S)

    Then modify the SOURCEFILES line so that VisualGDB regenerates the file-specific templates. This should start generating a .S file for each source file.

    in reply to: Managing mBed libraries in Visual Studio #8483
    support
    Keymaster

    Hi,

    Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.2.5.895.msi

    When you open a project with missing include paths, it will show a bar like this:

    By default it will try to locate the headers in the subdirectories of the project directory and source file directories, but you can also specify search directories manually.

    Once the directories are located, VisualGDB will offer automatically adding them to Project Properties:

    If this does not work, please let us know. It’s a very early preview build and it may have strange bugs, however we absolutely welcome feedback on them.

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

    Sorry, does the latest build cause this when adding the same variable as before, or are you trying something completely different?

    in reply to: How to output the compiled assembly? #8476
    support
    Keymaster

    The easiest way to do that is to copy the build command line from the Output window, replace “-c” with “-S” and “-o <object.o>” with “-o <output.S>” and run it manually from the Command Line Prompt. Then the assembly output will be saved to <output.S>.

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

    OK, please try this version http://sysprogs.com/files/tmp/SeggerEDP.dll

    It will also show the data received from JLINKARM_ReadMemEx().

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

    Hi,

    Thanks for checking this. Could you please try this diagnostic build: http://sysprogs.com/files/tmp/VisualGDB-5.2.4.880.msi

    Then replace the %LOCALAPPDATA%\VisualGDB\EmbeddedDebugPackages\com.sysprogs.arm.segger-dmsp\SeggerEDP.dll file with this one: http://sysprogs.com/files/tmp/SeggerEDP.dll

    Finally start your debug session and open the View->Other Windows->VisualGDB Diagnostics Console window. It should show what exactly the Segger memory reading API returns. Please let us know what is shown there so that we could fix this.

    in reply to: Use "–defsym" in LDFLAGS #8470
    support
    Keymaster

    Looks like you are still trying to use your Makefile with i586-poky-linux-gcc.exe.

    In order to isolate the problem please try using the minimal Makefile we provided (with the normal GCC from the MinGW toolchain and make.exe from MinGW as well). If it works, please try explicitly using the make.exe from the MinGW toolchain instead of make.exe from the i586-poky-linux toolchain.

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

    Hi,

    Please update your J-Link EDP to v3.2 via Tools->Embedded Tools Manager. This should fix the problem.

Viewing 15 posts - 6,286 through 6,300 (of 7,897 total)