OpenOCD Fails to Identify STM32U3 Device

Aperta
#40 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
c

Direzione di ricerca

Start by reproducing the connection failure with the NUCLEO STM32U385RG-Q and the STM32CubeMX-generated .cfg file. Trace the STM32 family auto_probe path reported in the error, focusing on why the STM32U3 device is not identified. Done means OpenOCD recognizes the STM32U3 target and establishes the debug connection without the reported auto_probe failure.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!

Lingua principale
C
Stelle
202
Fork
57
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di STMicroelectronics/OpenOCD

Tutte le issue di STMicroelectronics/OpenOCD

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.