VisualGDB on Custom Hardware

Sysprogs forums Forums VisualGDB VisualGDB on Custom Hardware

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34795
    npenmetsa
    Participant

    Hello,

    We have a custom hardware (MCU) from Qorvo and their device (MCU # PAC5532) is not part of J-link devices as well, but Quorvo sent us the Device files (.FLM) files and how to modify the JlinkDevices.xml files. Now our Link recognized the device and we are able to flash the their MCU’s. I would like to do the following:

    1. port the Eclipse project to VisualStudio/VisualGDB. Any instructions on how to do that?
    2. When I try to create a new project using Embedded Project Wizard. The devices that we manually added Jlink files, doesn’t appear in the Device lists in “New Embedded Project” wizard. How to add a new custom MCU to VisualGDB.

    Any help would be appreciated.

    Thanks,

    #34799
    support
    Keymaster

    Hi,

    If it is a generic Eclipse project (not STM32CubeIDE), VisualGDB won’t be able to import it automatically. Instead, we would advise using the generic import mode of the Embedded Project Wizard to pull all the project sources into a new Visual Studio project. Then, you would need to manually transfer the build settings (list of include directories, preprocessor macros, and device-specific flags).

    When importing the project, you can select “specify flags manually” on the MCU selection page (see this tutorial) and later use the first page of VisualGDB Project Properties to specify the device-specific settings. If you use Advanced CMake, you can later export the custom BSP into a reusable package and use it to create new projects easier.

    With J-Link, VisualGDB caches the device list in the %LOCALAPPDATA%\VisualGDB\EmbeddedDebugPackages\com.sysprogs.arm.segger-dmsp\DeviceList.txt file. You can either delete it to have VisualGDB re-query the device list, or just patch it manually. You can also bypass it completely and edit the J-Link command line manually via the Advanced view in the VisualGDB Settings.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.