Skip to main content
srikanth
Associate III
Sep 27, 2019 9:30 AM UTC
Question

How to program and debug STM32H745 DUAL CORE ?

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 ?
This topic has been closed for replies.

5 replies

Ozone
Principal
Sep 27, 2019 10:02 AM UTC

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 ...

Tesla DeLorean
Guru
Sep 27, 2019 1:20 PM UTC

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
RoboProgrammer
Visitor II
Nov 13, 2019 8:29 AM UTC

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.

Asantos
Associate III
Nov 14, 2019 12:40 AM UTC

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
Associate
Nov 14, 2019 2:09 AM UTC

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