J link plus programming STm32F46
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-22 7:42 AM
Hi forum ,
we decided to make a test buying a segger j link plus debug probe.
We are using SWD debug interface
We are using STCubeIde for programming
When w etry to program the micro we got :
- Can not attach to CPU. Trying connect under reset. -
Connecting to CPU via connect under reset failed.
Any idea what could be ?
Thanks a ot
- Labels:
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-22 8:18 AM
Double check setup, wiring and voltage levels. 99.9(+ many 9s)% the error is on your side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-22 9:35 AM
You seem to be having a lot of problems with this board/design.
How exactly are things wired up? Does NRST connect to the debugger interface?
What is the code on your device doing with respect to pins used by the debugger, or putting the processor in low power modes?
Does it program when blank?
Does it program when BOOT0 HIGH?
>>Any idea what could be ?
This really shouldn't need to be a guessing game.
Make a more thorough presentation of the problem, benefits here are two fold, a) it makes you understand/explain what you're doing and how you've tested it, which might cause you to discover the issue, and b) others might be able to see or diagnose what's wrong in the process, without needing to repeat things you've effectively tested already.
Up vote any posts that you find helpful, it shows what's working..
