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


Can't use HW reset mode to connect to Disco board using external ST-LINK v2

Why can’t I use a HW reset mode to connect to my STM32F4Discovery board using an external ST-Link v2 adapter?

I have to use “reset_config none separate” to successfully connect, even though I have the reset connected and the CN3 jumpers removed. I’m powering the board from the external ST-Link v2 adapter’s 5V into the “5V” node on the STM32F4Discovery board’s P2 connector.

The ST-Link embedded on the STM32F4Discovery board is still powered, I suppose. Is it also still driving the reset line, keeping the external adapter from resetting the target STM32F407?

I’m testing this setup as a proxy for how to get the external ST-Link v2 adapter working for our custom board. It also has the NRST connected, but also needs the “reset_config none separate” configuration to successfully connect.

What am I missing here?

Hi,

I don’t think it is a good idea to let the F4 disco powered and try to connect with an ext STLink on the F4.
Maybe the reset line is still connected as you said.

You should be able to debug your custom board with the ext STlink V2.
On the 20 pins header of stlink V2, you must connect:
- The 2 SWD lines (7 for SWDIO and 9 for SWDCLK)
- GND lines (at least one of pin 8, 10, 14, 18 or 20 or all of them)
- VDD appli of your custom board on pin 1
- STlink RST on pin 15

Rgds,
Laurent


 

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