Qt Creator STM32F0 bare metal “running”, but doesn't seem to flash fw..?



  • I tried to setup QT 5.7 with bare metal plugin, openOCD and GCC compiler, it seems to be working, but I cannot figure out how I can burn program into my board. When I click on START DEBUGGING, program responses with "setting breakpoints.." and after two seconds with "running..", also Application output is feeding:

        rget state: halte
    rget halted due to debug-request, current mode: Thread
    SR: 0xc1000000 pc: 0x08000308 msp: 0x2002000
    rget state: halte
    rget halted due to debug-request, current mode: Thread
    SR: 0xc1000000 pc: 0x08000308 msp: 0x2002000
    

    So I think the installed toolchain is working well, but the options for ussual debugging like step in, step out etc are still greyed out so i cannot in fact step over lines of code. Therefore I think that no code is in reality flashed to my board. Please, do you have an idea what am I doing wrong? All tutorials ended after setting the kit so maybe there is something very obvious how to flash the code and I am just missing it.

    QT CREATOR ver 4.2.1(based on 5.8), openocd ver 0.9.0, arm-none-eabi-gdb ver 7.10
    

    STM32F0


Log in to reply
 

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