support

Forum Replies Created

Viewing 15 posts - 6,121 through 6,135 (of 7,816 total)
  • Author
    Posts
  • in reply to: ARM Semihosting console not work in Example #8855
    support
    Keymaster

    The ‘end’ symbol is used to specify the beginning of heap, so defining it after SDRAM will break the malloc() functionality.

    Hence we would recommend defining ‘end’ so that it actually points at the end of data in RAM.

    in reply to: GDB Output Window #8854
    support
    Keymaster

    Hi,

    Yes, as long as you are using the Custom edition or higher, you can describe your SDRAM on the External Memories page of VisualGDB Project Properties as described here and VisualGDB will show its utilization automatically.

    in reply to: put breakpoint when variable changes #8837
    support
    Keymaster

    Hi,

    Please try the new v5.2 Preview 2. It contains a workaround against this and also adds a context menu to the memory window to create data breakpoints.

    in reply to: Cocos2d-x build error? #8825
    support
    Keymaster

    Hi,

    Looks like your cocos package was not downloaded properly. Please try removing and reinstalling it.

    in reply to: Cannot change register def file to relative path #8824
    support
    Keymaster

    Hi,

    It’s hard to say why the project has no BSPSubdirectory tag, but adding it should solve the problem.

    The MCUDefinition location should not be related to the compiler location. Perhaps you have changed the toolchain location instead?

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

    Hi,

    Good to know it works. We actually have out-of-the-box support for embedded unit tests in VisualGDB 5.2 Preview1. You can read more about it here: https://sysprogs.com/w/the-new-unit-test-support-in-visualgdb-5-2/

    in reply to: nRF5x IoT SDK setup in VisualGDB #8822
    support
    Keymaster

    Hi,

    This depends on the exact library you want to integrate. For most cases it should be sufficient to just add their sources to your project and setup the include search paths so that the compiler can find the corresponding header files.

    support
    Keymaster

    Hi,

    If you are using version 5.2, it has been renamed to “Manage VisualGDB Packages”.

    in reply to: Cannot change register def file to relative path #8766
    support
    Keymaster

    Hi,

    Sorry for confusion. If you set the BSPSubdirectory field as described above, it will be using relative paths, e.g.

    <BSPSubdirectory>BSP</BSPSubdirectory>...<MCUDefinitionFile>test.xml</MCUDefinitionFile>

    Then VisualGDB will automatically use the <Project Directory>\BSP\test.xml path.

    If you need a more specific example, we would recommend creating a normal BSP-based project, converting it to a stand-alone one and having a quick look into the generated mcu.xml file. It will not have any absolute paths hardcoded.

    support
    Keymaster

    Hi,

    Does ARM_TOOLCHAIN expand properly when you open cmd.exe and run “echo %ARM_TOOLCHAIN%”? If not, perhaps the toolchain is not configured as relocatable on that computer? You can mark it as relocatable via Tools->Embedded Tools Manager.

    You can add the NRF52 macro directly to the Preprocessor Macros field on the Build Settings page. This will affect both building and IntelliSense.

    in reply to: Building a VisualGDB project locally #8764
    support
    Keymaster

    Hi,

    VisualGDB actually tests that the toolchain matches your target system by trying to build a simple application, uploading it and running it.

    If you disable the option to test the toolchain in the wizard, you can skip specifying the connection.

    in reply to: GDB stopps executing #8755
    support
    Keymaster

    It’s hard to say why from the log you have provided. If you encounter this problem again, feel free to share more details and we will try to help you.

    in reply to: Visual gdb how to put breakpoint on memory change? #8754
    support
    Keymaster

    Hi,

    The command for setting memory breakpoints is the same as in normal Visual Studio – Debug->Windows->Breakpoints->New->Data Breakpoint.

    We will add a context menu command for this in the Memory window in the final VisualGDB 5.2 release.

    in reply to: GDB stopps executing #8751
    support
    Keymaster

    Hi,

    From your log it looks like gdb stops at the “library loaded” event  that is totally normal. Normally VisualGDB should detect those events and step over them automatically. What happens if you press F5 to continue debugging?

    support
    Keymaster

    Hi,

    The default VS IntelliSense won’t indeed pick up the VisualGDB variables like TOOLCHAIN_ROOT, however it should pick up the environment variables like ARM_TOOLCHAIN. If it does not, please open VS Project Properties, go to the NMake page, select “Include Search Path -> Edit” and then click “Macros” and check for the environment variables pointing to your toolchain directory.

Viewing 15 posts - 6,121 through 6,135 (of 7,816 total)