Skip to content

OpenOCD Fails to Identify STM32U3 Device #40

@vijayrakesh13

Description

@vijayrakesh13

Hi team,

I'm currently trying to debug an STM32U3 series microcontroller using OpenOCD. Since OpenOCD does not yet include an official configuration file for the STM32U3 family, I used the config file generated by STM32CubeMX.

However, when I attempt to connect to the target, I receive the following errors:

CPU in Non-Secure state [stm32u3.cpu] halted due to debug-request, current mode: Thread xPSR: 0x69000000 pc: 0x0800066c msp: 0x2002fff8 Error: Failed to read memory at 0x40015800 Warn : Cannot identify target as an STM32C0/G0/G4/L4/L4+/L5/U0/U5/WB/WL family device. Error: auto_probe failed

Details:
MCU: NUCLEO STM32U385RG-Q
Config: Using the .cfg file auto-generated by STM32CubeMX

It seems the STM32U3 series is not recognised. Is there any ongoing work or guidance on adding support for the STM32U3 series to OpenOCD?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions