Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(debugger): set dapdirect_swd as default transport #2657

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Feb 18, 2025

hla_swd deprecated since STLink V2 (2015).
https://openocd.org/doc/html/Debug-Adapter-Configuration.html#SWD-Transport

Unless your adapter uses either the hla interface driver (in which case the command is transport select hla_swd) or the st-link interface driver (in which case the command is transport select dapdirect_swd).

https://openocd.org/doc/html/Debug-Adapter-Configuration.html#st_005flink_005fdap_005finterface

This is a driver that supports STMicroelectronics adapters ST-LINK/V2 (from 2015 firmware V2J24), STLINK-V3 and STLINK-V3PWR, thanks to a new API that provides directly access the arm ADIv5 DAP.

The older API that requires HLA transport is deprecated and will be dropped from OpenOCD. In mean time it’s still available by using interface/stlink-hla.cfg.

hla_swd deprecated since STLink V2 (2015).

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm fpistm added the enhancement New feature or request label Feb 18, 2025
@fpistm fpistm added this to the 2.10.0 milestone Feb 18, 2025
@fpistm fpistm merged commit 463335f into stm32duino:main Feb 18, 2025
24 checks passed
@fpistm fpistm deleted the dap_direct branch February 18, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

1 participant