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


[Solved - sort-of] Pre-install probelm for sw4stm32 ide

Hi,

I am trying to install the 64-bit sw4stm32 ide on Debian Bookworm. According to this website, (see https://www.openstm32.org/Downloading%2Bthe%2BSystem%2BWorkbench%2Bfor%2BSTM32%2Binstaller)Question I need to ensure that both libc6:i386 and lib32ncurses5 re installed, due to the compiler and other tools being 32-bits.

I tried to do this using “sudo apt-get install libc6:i386 lib32ncurses5”, as shown on the website. The system responded with :
~$ sudo apt-get install libc6:i386 lib32ncurses5
sudo password for stuart:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libc6:i386
E: Unable to locate package lib32ncurses5

Can someone please suggest how these packages can be installed ?

Stuart

Hi,

Using sw4stm32 I have managed to get a clean build of the code/project shown in the RIP Tutorial web page called “First time setup with blink LED example using SW4STM32 and HAL library”. Beneath the source code it states

“Build with the hammer (icon omitted), and download the application by right clicking on the project folder and selecting the Target → Program chip... option.”

When I right click on the project folder, whether on the “Project Explorer” or the “C/C++ Projects” tab, the menu that pops up does not(!) contain a “Target → Program chip” option.

So, how do I download the built project to a STM32F4 Discovery board ?

Stuart

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