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


SW4STM32 - How to download project to STM32F4 Discovery board

You can start a debug session or the simply click on “run”. This will automatically flash the board.
either from the icons (use the mouse a pop up will show what each button means) or under the menu “Run”

Good morning royjamil,

Thank you for such a swift and informative reply. Your reply clearly shows that a change of wording would seem to be required for the site blog/tutorial. Perhaps something along the lines of :-

“To download a program/project to a chip/board “simply click on “run”. This will automatically flash the board.”/chip.

Had wording of this clarity been used in the blog/tutorial then this would have greatly reduced the need for my needing to start this thread.

Thank you again, very helpful.

Stuart

Hi,

I have managed to get a clean build of the blinky program for an stm32f407 Discovery board. However, when I click on the Debug button (to download the program to the board) a dialog called “Unable to Launch” pops up displaying the message “The selection cannot be launched, and there are no recent launches.”

As per the instructions given at the bottom of the RIP Tutorial web page, “First time setup with blink LED example using SW4STM32 and HAL library”, I clicked the arrow next to the Debug button and selected “Debug Configurations...”. In the dialog that popped up, into the blank name field I entered “STM32F4_Discovery-Blinky” and into the blank C/C++ Application field I entered “Debug\STM32F4_Discovery-Blinky.elf”.

What might be of interest are the contents of the tasks tab. Please see attached file “Tasks_tab...” Of particular interest are the bottom three entries.

EDIT: I have managed to clear those entries, However, when I rebuild and then try to download the code to the board, The IDE still(!) displays the “Unable to Launch” dialog mentioned above.

Are there some other configurations that I need to set up in order to get the project to download onto the board ?

Stuart