1

Im trying to flash/debug a STM32H747XIH6 over J-link within STM32CubeIDE. One of the two cores, the CM7, flashes fine and i can enter the debugger. However when i try to flash the other core, the CM4, i get a popup with "Could Not Verify ST Device", and the console displays as shown below.

enter image description here

Any help or input is greatly appreciated!

1 Answers1

2

The debug probe is trying to access memory (0x23000FD0) that is out-of-bounds.

Check your project/debugging toolchain configuration. You probably specified the wrong MCU.

Memory Map:
enter image description here

Source: STM32H747 Reference Manual

Velvel
  • 3,591
  • 3
  • 12
  • 30
  • Thank you for the input! But unfortunetly its the correct board, an STM32H747XIH6 which is what i selected when i created the project (which i have done twice with the same result), and the other cpu flashes correctly. And i have tried to find what is at 0x23000FD0 but i can find nothing more specific that the image you sent. – Caspar Westerberg May 05 '22 at 13:15
  • Check if your toolchain is up-to-date. I've had issues in the past with erroneous toolchain configurations. – Velvel May 05 '22 at 13:38
  • Another thing to check: setup a new minimal project (something like `void main() { return 0; }`) and see if this works. Maybe some not-so-obvious project option is broken. – Velvel May 05 '22 at 13:41
  • How can i check my toolchain? I have done "check for updates" and found none. And this that i am trying now is a minimal project. – Caspar Westerberg May 05 '22 at 14:10
  • "Check for updates" usually should do the job. – Velvel May 05 '22 at 14:39