cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 Custom Project Schematic review help

pema
Associate II

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.

 

 

5 REPLIES 5
STOne-32
ST Employee

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

BarryWhit
Lead II

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.

- If someone's post helped resolve your issue, please thank them by clicking "Accept as Solution".
- Please post an update with details once you've solved your issue. Your experience may help others.

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.

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.

LCE
Principal

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)