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


You are viewing a reply to CubeMX - only Debug ?  

CubeMX - only Debug ?

When you used “run’ the “debug” configuration was used it is “run or debug” condfiguration.

Run basicaly program the binary into the mcu flash and then reset “shutdown” the devcie when done.

that shutdwon message is certainly concerning the debugger that is use to flash.
over break message is also comming from debugger. Aftrer mcu reset, the cpu was halted on the reset vector
or neraby ( pc: 0x20000042 ) what is best done as we want the mcu in a known state and halted while we reprogram it’s flash.

It is Like if you started debug , did not ran any code and exit imediatly reseting the board.
btw most user just do not look at all this debugger mesage , just do the same unless you’r having debugger or debug start issue ;)


I can only agree stm32 world is a bit frustrating for new comer , can be a bit hard to start but then it is not so bad :-D

to get demo again on board get the binary from st site (reflash using stlink utility)
or open the board demo project rebuilt and flash it wit the workbench.
As you installed CubeMX CubeF4 lsources are in “C:\Users\michel\STM32Cube\Repository\STM32Cube_FW_F4_V1.9.0\Projects\STM32F429I-Discovery\Demonstrations\SW4STM32”
just replace michel and f/w version by your user name and version you get (

Note that using existing example project is btw a nice way to learn ;)

 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs