2024-08-26 12:12 PM
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
This is what I get from STMCubeProgrammer.
I am using a STLINK-V3MINIE as SWD probe.
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.
2024-08-26 01:41 PM
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
2024-08-26 03:01 PM - edited 2024-08-27 12:17 AM
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.
2024-09-02 11:20 AM
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.
2024-09-02 11:29 AM
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
Thanks guys for your input.
I will keep you posted once I have achieved some results.
2024-09-02 10:57 PM
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)