Skip to main content
Tuoman
Senior II
June 26, 2020
Question

STM32H7B3 bricked after flashing!

  • June 26, 2020
  • 5 replies
  • 2490 views

Hi,

I'm trying to program code into custom PCB with STM32H7B3.

I was first able to connect to STM32H7B3 (read Device ID etc.), but after flashing, the target cannot be found!

ERROR: STM32: Connecting to CPU via connect under reset failed.

I created code for STM32H7B3IIK6 using CubeMX. I used all default settings for project, then compiled using GCC, and flashed using SEGGER J-Link.

Debugger showed:

Break at address "0x0" with no debug information available, or outside of program code.

What could be going on? How to recover from this?

Is the external flash causing problems? Some reset pin configuration? How about security features?

It was just an example project, how can it brick the device!

There is no excessive current consumption (5mA now after bricked, before programming it was 10mA)

    This topic has been closed for replies.

    5 replies

    Tesla DeLorean
    Guru
    June 26, 2020

    Easy enough to do, we've covered this in H747I-DISCO, and related H7 topics

    Usually relates to incorrect/missing LDO/SMPS or VOS settings in your clock initialization code.

    One recovery trick is to pull BOOT0 high, cycling the power a couple of times, and then erasing/programing the part in STM32 Cube Programmer.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Tesla DeLorean
    Guru
    June 26, 2020
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Tuoman
    TuomanAuthor
    Senior II
    June 26, 2020

    EDIT: method worked ! Thank you!