stm32wlx: SWOTrace not working
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- devtools, embedded-iot
Direzione di ricerca
Start with target/stm32wlx.cfg and the supplied OpenOCD configuration; compare the STM32WLX setup with the referenced STM32WB scripts, focusing on SWO/TPIU initialization for the dual-core target. Reproduce the problem after power removal and verify that SWOTrace works without first enabling it in STM32CubeIDE, with SB8 bridged on the board.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I have been evaluating the nucleo-wl55jc1 and have deployment and debugging working via openocd (just single core at the moment). I am currently running "xPack Open On-Chip Debugger 0.12.0+dev-01312-g18281b0c4-dirty (2023-09-04-22:31)" a very recent build by xPack.
We use SWOTrace quite extensively, especially on devices that lack UART peripherals, however I have had trouble getting it to work with target/stm32wlx.cfg. My complete configuration derived from other working f1x, f4x, l4x parts : -
`source [find interface/stlink.cfg]
transport select hla_swd
source [find target/stm32wlx.cfg]
itm port 0 on
tcl_port 6666
tpiu create stm32wlx.cpu0.tpiu -dap stm32wlx.dap -ap-num 0
stm32wlx.cpu0.tpiu configure -protocol uart -traceclk 32000000 -output swo_out -formatter off -pin-freq 1000000
stm32wlx.cpu0.tpiu enable
`
Using this configuration SWOTrace only works if I enable and use it with STMCubeIDE first, this only seems to work with the "ST-LINK (ST-LINK GDB Server)" debug probe using the SWV capabilities of the IDE. I couldn't get "ST-LINK (openocd)" to work at all. The device will then work fine with SWOTrace until I remove power to the device. I suspect there are missing register changes in the openocd configuration, this might have something to do with the dual-core nature, but I did look at scripts for other parts like stm32wb but didn't notice anything different.
Note that I found that SB8 on the dev board requires a solder bridge for SWO to be passed to the built-in STLink device.
- 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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di STMicroelectronics/OpenOCD
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 67/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
bug
STMicroelectronics/OpenOCD#44 · 1 commento · 1 assegnatario ·
Tutte le issue di STMicroelectronics/OpenOCD
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
bradcypert/plum#53 ·
-
Component: GLib
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Status: Opened
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
nextbsd/nextbsd-userland#285 ·