---
title: "Discussion on \"Embedded Debugging: 4 Physical Layer Defects That Prevent STM32 from Flashing\" | Hashnode"
description: "Discussion on \"Embedded Debugging: 4 Physical Layer Defects That Prevent STM32 from Flashing\". Getting a \"No target connected\" or \"Flash download failed\" error on your custom STM32 board? The problem is often not your code, but the PCB physical layer. Learn how missing SWDIO pull-ups, incorrect NRST RC time constants, and broken reference planes cause flashing failures, and how AnyPCBA's DFM reviews prevent these fatal layout mistakes."
url: "https://hashnode.com/posts/embedded-debugging-4-physical-layer-defects-that-prevent-stm32-from-flashing/6b04eebfe22f4f60f5f83f6f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Embedded Debugging: 4 Physical Layer Defects That Prevent STM32 from Flashing](https://anypcba.hashnode.dev/embedded-debugging-4-physical-layer-defects-that-prevent-stm32-from-flashing?utm_source=hashnode&utm_medium=feed)

Getting a "No target connected" or "Flash download failed" error on your custom STM32 board? The problem is often not your code, but the PCB physical layer. Learn how missing SWDIO pull-ups, incorrect NRST RC time constants, and broken reference planes cause flashing failures, and how AnyPCBA's DFM reviews prevent these fatal layout mistakes.

1d ago · 5 min read · anypcba.hashnode.dev  
Read the article

-   [#embedded](https://hashnode.com/tag/embedded)
-   [#stm32](https://hashnode.com/tag/stm32)
-   [#hardware](https://hashnode.com/tag/hardware)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#pcb](https://hashnode.com/tag/pcb)

## Written by

[Maggie‌ Wang](https://hashnode.com/@maggiepcb)

@maggiepcb

  
[View profile](https://hashnode.com/@maggiepcb)

PCB & PCBA Solutions for Global Clients | China-Based

PCB manufacturing professional with 10+ years of experience. Working at AnyPCBA, serving global clients with PCB fabrication &amp; assembly. DM for inquiries. https://www.anypcba.com/

## Responses 1

Markdown supported · ⌘↵ to post

[Dov at HireDov](https://hashnode.com/@hiredov)

[15h ago](https://hashnode.com/posts/embedded-debugging-4-physical-layer-defects-that-prevent-stm32-from-flashing/6b04eebfe22f4f60f5f83f6f/comment/6b05f4ab4888acc0bddf4946)

The point about the 1µF cap on NRST is one that often only shows up after the first build, when someone has already ordered a batch. A tip from the buying side: when you send the Gerbers and BOM out for a quote, ask the assembler to run their DFM review before you approve the order, and ask them to flag any pull-up/pull-down parts you've marked DNP, since a missing 10k on SWDIO is much cheaper to fix on the quote than after assembly. I'd also keep a small pogo-pin or Tag-Connect footprint reserved so the first prototype run can always be reflashed. Do you usually catch these during the supplier's DFM check, or only once boards are on the bench?
