Forum: System Workbench for STM32

Program doesn't run - shutdown command invoked

I can’t get a newly generated program by the eclipse wizard to run on my board a nucleo F767zi. It is the same for one generated by cubemx. The console output is below. I am new to SW4STM and I have yet to get a program running so any help would be appreciated.



Info : STM32F767ZITx.cpu: hardware has 8 breakpoints, 4 watchpoints
Info : Stlink adapter speed set to 1800 kHz
adapter speed: 1800 kHz
STM32F767ZITx.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800031c msp: 0x20080000
Info : Stlink adapter speed set to 4000 kHz
adapter speed: 4000 kHz

    • Programming Started **

auto erase enabled
Info : flash size probed value 2048
STM32F767ZITx.cpu: target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x20000084 msp: 0x20080000
wrote 32768 bytes from file Debug/ac6test.elf in 0.494011s (64.776 KiB/s)

    • Programming Finished **
    • Verify Started **

STM32F767ZITx.cpu: target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20080000
STM32F767ZITx.cpu: target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20080000
verified 2356 bytes in 0.063845s (36.037 KiB/s)

    • Verified OK **
    • Resetting Target **

Info : Stlink adapter speed set to 1800 kHz
adapter speed: 1800 kHz
shutdown command invoked

Hello,

Seeing the log, you did program the application code in the mcu.
You used the menu Target => Program.

To debug the appli, you will need to use the menu “Debug as” => “AC6 C/C++ application”.

Rgds,
Laurent