cancel
Showing results for 
Search instead for 
Did you mean: 

Help with confguring STM32H7

schradz
Visitor

CubeIDE: v2.0.0

CubeMX: v6.16.1

Debugger: ST-LINK/V2 V2J46S7

Hello,

I'm attempting to setup a dual core project using STM32H757XIH MCU on CubeMX. I've generated and imported the project for CubeIDE. I've configured the Trace and Debug -> DEBUG for "Serial Wire" with M7 and M4 selected with Cortex-M7 as the initializer. I've configured one pin (PJ10) to be an output for a user LED.
I've attempted to follow AN5361 "Getting started with projects based on dual-core STM32H7 microcontrollers in STM32CubeIDE" when configuring the debug profiles for the M7 project and M4 project while leaving the rest set to default.

I've attached the logs to this post. Am I missing something when configuring the processor? 

Let me know if I need to add anymore information on my configuration.

3 REPLIES 3
mƎALLEm
ST Employee

Hello @schradz and welcome to the ST community,

Before going ahead, what board are you using? if ST board which one, if custom board what power configuration is set by hardware on the board and what power configuration you set in your application. 

That's important to know if the MCU is in locked state. If you are in such situation please read How can I recover my STM32H7/STM32H7RS board after facing a power configuration deadlock?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Hello!

I'm using a board provided by Riverdi Displays. 

I've gotten a TouchGFX project to flash correctly onto the board, but I haven't had any luck when trying to develop a minimal application. It seems that the debug port is deactivated after flashing, and the only way for me to recover is to put the chip into boot mode and erase the whole chip before attempting to flash again.

TDK
Super User

Did you set the power configuration to PWR_LDO_SUPPLY as mentioned in the getting startup guide?

https://riverdi.com/knowledge-base/stm32-getting-started

This is done here and is not the default:

TDK_0-1769468974094.png

 

If you feel a post has answered your question, please click "Accept as Solution".