Debug Cypress FX3 under VisualGDB

Sysprogs forums Forums VisualGDB Debug Cypress FX3 under VisualGDB

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21592
    Glavnyy
    Participant

    Hello,
    I have used VisualGDB for STM32, it is perfect tool in pair with Segger JTAG.
    Is it possible to debug Cypress FX3 with help of VisualGDB instead of Eclipse from FX3 SDK?
    For my new FX3 project, CMake will be used as a platform independent build generator.
    I see you use FX3 as hardware for Analyzer2Go, may be you have tutorial or advise for my issue?

    Thanks

    #21596
    support
    Keymaster

    Hi,

    We didn’t publish a detailed tutorial for the FX3 device as it’s not as mainstream as others (e.g. STM32), but we can easily share the details of the setup we used with Analyzer2Go.

    We created a custom MSBuild-based project with manually imported sources and the linker script from the SDK. The debug process was relatively flaky through: Cypress provides a custom port of OpenOCD for the board, that unfortunately does not work very reliably. The setup that sort of worked for us was to program the FLASH memory using the Cypress tool, then launch their OpenOCD build (in the “custom gdb stub” mode) and connect gdb to it without reprogramming the FLASH memory.

    If you are planning to use CMake, you can simply import your existing CMake project using the Embedded Project Wizard and then configure debug settings as described above.

    Hope this helps. Let us know if you have any questions.

    #21602
    Glavnyy
    Participant

    Thank you for the explanation.

    I will try this way.
    <div id=”hc_extension_bkgnd” style=”position: fixed; left: 0px; top: 0px; right: 0px; bottom: 0px; z-index: -1999999999; display: block; background: none 0% 0% / auto repeat scroll padding-box border-box #ffffff;”></div>
    <span id=”hc_extension_svg_filters” hidden=””></span>

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