Debugging STM32F7 from QT



  • Hello everyone,

    I am new to QT, please help. I have been working in the design for a device STM32F7 for several days, but I had some problems when I want to debug.
    I'm using OpenOCD, so my "Init Commands" are:

    • set remote hardware-breakpoint-limit 6
    • set remote hardware-watchpoint-limit 4
    • monitor reset halt
    • load
    • monitor reset halt

    I have added a "Kit" with this main aspects:

    • Device type: Bare Metal Device
    • Device: STM32 (Type Specific/GDB server provider: OpenOCD)
    • Compiler: MinGW 4.9.1 32bit
    • Debugger: GNU gdb 7.8 for MinGW 4.9.1 32bit
    • Qt version: Qt 5.4.2 MinGW 32bit

    My problem are this errors:

    • undefined debug reason 7 - target needs reset
      target state: halted
      target halted due to debug-request, current mode: Thread target state: halted
      xPSR: 0x01000000 pc: 0x080699a0 msp; 0x20000200
      target state: halted
      target halted due to debug-request, current mode: Thread
      xPSR: 0x01000000 pc: 0x080699a0 msp: 0x20000200
      Error: Memory write failure!

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.