Skip to main content
Explorer
July 17, 2023
Question

STM32h755 cores not running properly

  • July 17, 2023
  • 1 reply
  • 1427 views

Hello!

I am working with the STM32h755 nucleo board. my project is cubemx generated.

at first i created simple code that makes each core (m7,m4) to toggle a differenet LED.

i see a differnce in the behavior when i am connected with a debugger and without it.

it seems that in the M4 core - without debugger presence nothing happens. further inquery showed that the systick isnt working and  the uwTick is stuck on zero!

 

i feel like i am missing something simple since this is cube generated and i have barley touched the project.

 

please advise on how to solve this..

 

thanks in advance

 

 

 

    This topic has been closed for replies.

    1 reply

    yuri CHAuthor
    Explorer
    July 17, 2023

    In fact now i see that unless i run the M4 core with a debugger the systick there does not work. 

    what could be the reason?

    Visitor II
    November 18, 2023

    Good morning:

    Please I would like to receive your help.

    I am starting to learn to program the STM32H755 microcontroller using a nucleo board and the STM32CUBE IDE tools.

    My first project is to blink two leds using individual CPUs. That is, the green LED with the M4 CPU and the red LED with the M7 CPU.

    After configuring the debugger, the system only programs the M4 CPU and additionally the algorithm runs very slowly.

    I have been studying the documents: AN5286 and AN5361, I have followed in detail all that the steps suggested in these two documents, but the problem persists.

    Please, I would appreciate your valuable help on this issue.

    Thank you

    yuri CHAuthor
    Explorer
    November 29, 2023

    Hi,

    i would suggest start working with cube repository examples. once they run on both cores you can seperate the dependency of the M4 and M7 cores in the code.