support

Forum Replies Created

Viewing 15 posts - 5,821 through 5,835 (of 7,541 total)
  • Author
    Posts
  • in reply to: Toolchain Test Failed #8917
    support
    Keymaster

    Hi,

    Thanks for the project, we have reproduced the problem. It happens because the original ARM toolchain has a bug that does not set the FPU type correctly for Cortex-M4 devices.

    The toolchain that comes with VisualGDB fixes this; the original ARM one does not. You can work around this by adding -mfpu=fpv4-sp-d16 to your LDFLAGS, however the standard libraries that come with the toolchain are still compiled with the wrong FPU setting, so they may cause random crashes if your program is using hardware FP.

    We would recommend switching to the toolchain shipped with VisualGDB to avoid this problem in the first place.

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

    Hi,

    It usually requires understanding which files belong to which component and including only the relevant ones. That’s why it takes us some time to make usable wrappers around the SDK that include the necessary files automatically, sorry.

    The only alternative to thoroughly looking through the sources and figuring out which ones are needed for what would be to wait a few months until we release an updated BSP.

    in reply to: smoothieboard /LPC 1769 or LPC1768 Cortex-M3 chip. #8910
    support
    Keymaster

    Hi,

    The latest BSP for the NXP LPC devices supports the LPC1769 MCU, however it does not come with any Smoothieboard-specific drivers or samples.

    You should be able to build and debug a basic project though and then you can add any Smoothieboard-specific code manually. If you encounter any problems, feel free to let us know.

    in reply to: STM32 hardware float compilation failure #8909
    support
    Keymaster

    Hi,

    Looks like your toolchain might not support hardware floating point properly. Please try using the ARM toolchain that comes with VisualGDB.

    in reply to: Import Local Files #8908
    support
    Keymaster

    Hi,

    You can easily add custom pre-build actions that will transfer any header files (or whole directories) to Raspberry Pi (see the Build Customization page of VisualGDB Project Properties). Then simply ensure that the relative paths to the directories where the headers end up are specified on your Build Settings page and you should be able to build the project successfully.

    in reply to: Feature request: user name variable #8907
    support
    Keymaster

    Hi,

    VisualGDB actually recognizes and substitutes the normal environment variables with the $(Variable) syntax. Hence you can simply use the $(USERNAME) syntax to refer to the built-in Windows variable containing the current user name.

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

    OK, we’ve fixed this. Please update your Segger debug package to version 3.3. We have added a new more reliable live memory engine based on the feedback from Segger.

    Note that it’s somewhat slower than the old one, so we have also added an option that allows switching between the old and the new one. Let us know if this solves the problem.

    in reply to: Importing Raspberry Libraries #8900
    support
    Keymaster

    Hi,

    VisualGDB does not automatically configure the Python IntelliSense to match your Raspberry Pi. However you can configure it fairly easily:

    1. Open Tools->Python Tools->Python Environments
    2. Find the default environment there
    3. Create a copy of your Python directory used by the default environment and copy the packages from Raspberry Pi to that copy so that they don’t interfere with your regular Python installation
    4. Edit the Python environment settings in VS to use the new Python directory

    This should get IntelliSense to display the libraries copied from Raspberry Pi.

    support
    Keymaster

    We are looking into that and will publish a tutorial on this once we get it to work reliably.

    in reply to: multi-core compiling #8898
    support
    Keymaster

    Hi,

    Yes, it sometimes causes Make to simply hang. VisualGDB 5.2 will come with a separate MSBuild platform that will integrate the existing toolchains directly into the Visual Studio build system, so the multi-threaded build will be automatic and it won’t trigger the Make bug.

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

    Hi,

    Looks like you have a typo in the MCUDefinitionFile element:

     <MCUDefinitionFile>\device\nRF52.xml</MCUDefinitionFile>

    According to Windows path syntax, this actually means X:\device\nRF52.xml, where X: is the drive letter of the project directory. Please try changing it to this:

     <MCUDefinitionFile>device\nRF52.xml</MCUDefinitionFile>
    in reply to: Mbed BSP for v5.1 #8895
    support
    Keymaster

    Hi,

    We are planning to update our mbed package after we release VisualGDB 5.2 Beta 1. The current plan is to do this by the end of September.

    support
    Keymaster

    Hi,

    Yes, you can disable this, although it will require some minor XML editing. Please try removing the ‘DownloadableSourcePackage’ elements from the toolchain.xml file in your toolchain directory.

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

    Yes, we got all the necessary information from Segger and are expecting to release an update next week.

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

    First of all, could you try debugging your existing ELF file with the Quick Debug feature? If this does not work, could you please attach the contents of the Segger J-Link window and the GDB Session window (switch view to ‘All GDB interaction’ so that we could see the internally sent commands)? This should explain what is going on.

Viewing 15 posts - 5,821 through 5,835 (of 7,541 total)