Birgit

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: ST32H457ZG dual core debugging not work #33116
    Birgit
    Participant

    Hi,

    with a small change in the file stm32h7x_dual_core.cfg at line 122 (use {stm32h7.5….} instead of {stm32h7.5.i..}), the 2nd flash bank is added and debugging is possible.

    if { [regexp -nocase {stm32h7.5….} $_CHIPNAME] || [regexp -nocase {stm32h7.7.i..} $_CHIPNAME]} {
    global _CHIPNAME_CPU1_ACTIVATED

    if { [expr ($_CHIPNAME_CPU1_ACTIVATED == 1)] } {
    # Add the second flash bank
    flash bank $_CHIPNAME.flash1 stm32h7x 0x08100000 0 0 0 $_CHIPNAME.cpu1
    }
    }

    Unfortunately it only works with an empty controller, i.e. I always have to do a full chip erase before. Otherwise I get the error “target not examined yet” or “timed out while waiting for target halted”.

    I’m grateful for every idea. Thanks.

    PS: With the STM32CubeIDE and the ST-Link GDB server, debugging works with your hardware.

     

    Attachments:
    You must be logged in to view attached files.
Viewing 1 post (of 1 total)