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


Manually installing std periph libs

Hi fellows !
Method not works (september 2020).
Now step by step how I fix it:
1) See https://visualsilicon.com/2020/03/22/how-to-fix-openstm32-error-download-task-start-issue/Question for more information, but method from here also need to be corrected.
2) Go to https://www.st.com/content/st_com/en/search.html#q=stsw-stm32-t=tools-page=3Question , find DSP and standard peripherals library for your family (for example: STM32F4 DSP and standard peripherals library), download it and place downloaded file to ~/.ac6/SW4STM32/firmwares/ (For linux. For windows location pointed in previous posts)
3) Open file SystemWorkbench/plugins/fr.ac6.mcu.ide_x.x.x.xxxxxxxxxxxx/resources/board_def/stm32targets.xml , find tag family id=”stm32XXX” for your family (for example in my case family id=”stm32f4”), and see there tags firmware type=”StdPeriph”, url (stm32f4_dsp_stdperiph_lib_v180.zip in my case).
4) Rename downloaded and saved in ~/.ac6/SW4STM32/firmwares/ to name from url tag. Calculate md5( http://onlinemd5.com/Question ) of this file and correct tag urlMd5 if need.
5) If you now save stm32targets.xml, restart SystemWorkbench and try to load StdPeriph, it will NOT WORKS. One important step was ommited. See once more to the tag firmware type=”StdPeriph” . It includes tag name and it is empty. Tag family id also includes firmware type=”HAL” . It also has name = FW.F4.1.24.0 and url = stm32cube_fw_f4_v1240.zip. HAL downloaded ok ! So, I assume, that problem in empty name tag.
6) I assume that correct name format is: PRODUCT.FAMILY.VERSION. So for StdPeriph name must be DSP.F4.1.8.0 . Insert this into name tag, save file, and restart. Try to load StdPeriph. All right ! StdPeripf installed ok !

Enjoy !

P.S. I look at stm32targets.xml and find, that tag firmware type=”StdPeriph” ->name is empy for all families. Furthermore, some families has not tag firmware type=”StdPeriph” at all ! So, as can I see, it is very common problem. Maybe STM will refuse the StdPeripf in future and will use only HAL.

 

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