Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Debugging STM32F7 from QT
Forum Updated to NodeBB v4.3 + New Features

Debugging STM32F7 from QT

Scheduled Pinned Locked Moved Unsolved General and Desktop
debugstm32f7openocd
1 Posts 1 Posters 1.8k Views
  • 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
    Jonathan2016
    wrote on 31 Mar 2016, 19:56 last edited by
    #1

    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!
    1 Reply Last reply
    0

    1/1

    31 Mar 2016, 19:56

    • Login

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