Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt-Creator IDE with Segger J-Link JTAG debugging error
Forum Updated to NodeBB v4.3 + New Features

Qt-Creator IDE with Segger J-Link JTAG debugging error

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 4.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jason Zhu
    wrote on last edited by
    #1

    First question, I want to confirm whether Qt-Creator IDE supported Segger J-Link JTAG debugger?

    Second question, while I toggle a breakpoint and step over that I got a warning information from J-Link and debug task of Qt-Creator is exception interrupted.
    Warning information is "Debugger problem discovered: The debugger has set two breakpoints at the same address 0x40497C22".

    Detailed debugging environment and configuration as below:

    • My current environment of debugging is Segger J-Link GDB Server is running that it connected J-Link Adapter and detected CPU on target.

      Related log from GDB Server as below:

      • Listening on TCP/IP port 2331
      • J-Link found 2 JTAG devices, Total IRLen = 8
      • JTAG ID: 0x4F1F0F0F (ARM7)
      • Connected to target
      • Waiting for GDB connection...
    • My configuration of debug based on Qt-Creator as below:

      1. Tools -> Options -> Build & Run -> Debuggers -> Add

    a. Name: arm-none-eabi-gdb
    b. Path: D:\Work\tools\qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\gdb-arm-none-linux-gnueabi.exe

    1. Tools -> Options -> Build & Run -> Kits -> Add

    a. Name: ARM
    b. Device type: Generic Linux Device
    c. Debugger: arm-none-eabi-gdb

    1. Debug -> Start Debugging -> Attach to Remote Debug Server

    a. Kit: ARM
    b. Server port: 2331
    c. Override server address: localhost
    d. Local executable: xxxxxx.elf
    e. Working direcotry: current project path

    Finally, execute debug task will be occured relevant error and exception interrupted.

    So, please the experts help to analyze my exception questions and awaiting your valuable feedback and solution.

    Thanks so much!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved