cancel
Showing results for 
Search instead for 
Did you mean: 

How to program and debug STM32H745 DUAL CORE ?

srikanth
Associate III

Hi,

  1. I want to program and debug both the M7 and M4 cores in STM32H745 dual core device . While genrating code for the above micro controller, I am getting an error for having both the Start Up files in code so , How to program and debug both the processors parallely ?
5 REPLIES 5
Ozone
Lead

With a toolchains that supports this specific MCU. With special devices, you are usually bound to special tools.

Check the usual suspects (Keil, IAR, etc.). I don't know myself, never had a STM32H project.

I would be surprised if free tools like CubeIDE rush to support you here ...

Review the example/template projects provide in the CubeH7 HAL trees. Keil uses a single project with multi-target CM4 and CM7 build forks. Typically you build the CM4 side first and it gets bound with the CM7 side during the link operation.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
RoboProgrammer
Associate

Did you already check this document?

https://www.st.com/content/ccc/resource/technical/document/application_note/group1/96/bf/35/36/e6/97/42/2e/DM00597308/files/DM00597308.pdf/jcr:content/translations/en.DM00597308.pdf

CubeIde is compiling now H745 Project. Im just waiting for a debugging manual like this.

Other STM32 didn't have as many problems with the ethernet drive as the H7. So the problem is the H7. The DTCM SRAM is the default system memory choosed by the CubeMX, and DTCM does not work with DMA for the H7. So you need change to AXI-SRAM and deal with cache coherency issues.

It would be nice if DTCM worked with DMA as it does in F7.

mckenney
Senior

AC6 (openstm32) has been doing this for some months now.