Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

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


 

Newest Forum Posts

  1. aaa online casino a365qw by Arielvot, 2026-02-09 11:43
  2. Unable to build project by septimusbob, 2026-02-08 20:27
  3. New installations is now uploaded ! by karushifa, 2025-12-25 00:53
  4. Analog servomotors with nucleo f334r8 by SkelePaw, 2025-11-01 05:57
  5. STM32 MCU model shortlisting for Making RC remote by Palvish, 2025-07-07 15:05
  6. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  7. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  8. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  9. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  10. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58

Last-Modified Blogs