Skip to main content
Explorer II
August 26, 2024
Question

STM32H7 Custom Project Schematic review help

  • August 26, 2024
  • 3 replies
  • 1509 views

Hi guys,

I been working on this project for some time now on my "free time"...but so far without any success.

In the first prototype I have assembled all the peripherals(QSPI, eMMC, SDRAM, some I2C and SPI slaves peripherals and DSI display.).
Nothing super fancy, with the exception that everything is assembled in a size of a coin ;-D

The power supplies work good. I measured that already.

THE issue: The stm32CubeProgrammer can not detect the target MCU over SWD. I have tried all possible modes. Nothing.

THE Dilemma: I am now considering assembling a second prototype with just MCU, power supply, oscillator and SWD connection. In order to out-rule MCU schematic issues. Although this may take some time.

My question to the community is: "Should the SWD interface with the boot configuration work as is ?"

Note: I removed all the peripherals ...just basic MCU connection

pema_0-1724698352193.png

pema_1-1724698368494.png

pema_2-1724698389561.pngpema_3-1724698407578.png

This is what I get from STMCubeProgrammer.

pema_4-1724698447345.pngpema_5-1724698460746.png

I am using a STLINK-V3MINIE as SWD probe.

pema_6-1724698587898.png

I would appreciate any tips and comments. Perhaps I have made a super obvious mistake ...but since I am working on this after a 9 hour working day and 5 hours babysiting I am most certainly making a *** mistake :)

Anyway, I would welcome any input or feedback.

 

 

    This topic has been closed for replies.

    3 replies

    Technical Moderator
    August 26, 2024

    Dear @pema ,

    As it is a BGA part, may be to perform a quick  soldering inspection to the balls ,  to see is power consumption is abnormal when you hit reset button , Boot0 pin to change to VSS to boot on embedded flash .

    Hope it helps ,

    STOne-32

    pemaAuthor
    Explorer II
    September 2, 2024

    Hi @STOne-32 thanks for the input. I noticed that when I make some pressure on the chip the power consumption spikes. So I am guessing bad soldering.

    I will make a new prototype with just a MCU. This way I can step by step rule out the causes of failure.

    Graduate II
    August 26, 2024

    How to conduct a STM32 self-schematic review PT. 1

    How to conduct a STM32 self-schematic review PT. 2

     

    Try to activate the bootloader and connecting to it with CubeProgrammer via UART (make sure you're using the right pins expected by the bootloader, and connecting TX/RX properly). If that's working, at least you know the chip is alive. If it doesn't, your SWD interface is probably not the issue.

     

    AN2606 STM32 Microcontroller System Memory Boot Mode (Bootloader)

     

    P.S.

    I was very moved by the babysitting part of your OP. Good job you.

    pemaAuthor
    Explorer II
    September 2, 2024

    Hi @BarryWhit 

    thank you for the links . I will review the design once again, and perform a "just" MCU prototype to make sure the MCU schematic is correct.

    Thank you for the UART bootloader tip. I forgot about that one. I could probably even use the USB-FS bootloader ...since I have USB-FS to HS switch integrated.

    PS: For those that have small babies or children, they know that it takes forever to make such projects...they take 99% of ones energy ;) in a good way of course.

    Thanks guys for your input.

    I will keep you posted once I have achieved some results.

    Graduate II
    September 3, 2024

    I don't know that H7 - have you checked the power supply wiring, concerning internal LDO / SMPS?
    What do you measure at VCAP pins?

    Another thing: I always use / see BOOT0 pulled down by default. If pulled up, doesn't it start in bootloader mode? (Which shouldn't worry the ST-Link, I guess)