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


Does Debugging a CubeMX Project work out of the box?

Hi All,

Does Debugging a CubeMX Project work out of the box?

Debug never worked on my WS4STM32 since its installation whatever CubeMX Project I start from. It gives me all sorts of reasons not to work. Did I mess up since installation of the SW4STM32 and should Debug have worked out of the box?

I have a STM32F103C8T6 on a J-Link mini board which flashes and works ok.

I upload my projects via a J-Link on an STM32F407VGT Discovery with board appropriatly removed SB11 smd (reset) and positioned pcb jumpers.

J-LINK wires used are SWD: 1) Clock, 2) Data and 3) Reset.

Of course now I need to see what’s happening in detail to values and want to use the Debug feature of Eclipse.

Regards,
Ben

Tunisia

Default openocd scripts for ST boards, uses ST-Link as debug probe. So you need to customize your openocd script :

example (to be used as local script)

stm32f4disco+jlink.cfg
# This is an STM32F4 discovery board with a single STM32F407VGT6 chip.
# http://www.st.com/internet/evalboard/product/252419.jsp

source [find interface/jlink.cfg]

transport select jtag

source [find target/stm32f4x.cfg]

# use hardware reset, connect under reset
reset_config srst_only srst_nogate


EDIT : for further information @see this topicQuestion

Regards,
Tarek



 

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