---

** [tickets:#272] J-Link v9 + STM32:  failed to connect under reset**

**Status:** new
**Milestone:** 0.9.0
**Created:** Fri Jun 26, 2020 01:13 PM UTC by Yunhao Tian
**Last Updated:** Fri Jun 26, 2020 01:13 PM UTC
**Owner:** nobody


Hi,
I'm using J-Link v9 with STM32. It works fine except connect_assert_reset. 
After some investigation I noticed that the jlink_speed function deasserts the 
reset line, which caused the STM32 to boot too early when it's supposed to be 
in reset state, and leads to `Error: timed out while waiting for target halted` 
problem.

This commit 
(https://github.com/t123yh/openocd/commit/fd1997bc21c1c7199f4715c0e5ab24f64bb8bf90)
 temproarily fixes the problem, but I wonder if there's a more elegant solution.


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to