Skip to content

Return real strings for DAP_GetProductString() and DAP_GetVendorString(). - #34

Open
bkuschak wants to merge 1 commit into
devanlai:masterfrom
bkuschak:feature-dap-info-product-vendor
Open

Return real strings for DAP_GetProductString() and DAP_GetVendorString().#34
bkuschak wants to merge 1 commit into
devanlai:masterfrom
bkuschak:feature-dap-info-product-vendor

Conversation

@bkuschak

@bkuschak bkuschak commented Aug 2, 2026

Copy link
Copy Markdown

Return meaningful strings that the host can display:

Info : Using CMSIS-DAPv2 interface with VID:PID=0x1209:0xda42, serial=46534E0011163646461C0900
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: Test domain timer supported
Info : CMSIS-DAP: UART via USB COM port supported
Info : CMSIS-DAP: FW Version = 2.1.0
Info : CMSIS-DAP: Serial# = 46534E0011163646461C0900
Info : CMSIS-DAP: Vendor = https://github.com/devanlai/dap42
Info : CMSIS-DAP: Product = DAP103-BLUEPILL
Info : CMSIS-DAP: Product FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready

Tested with DAP103 Blue Pill only but it should work for the other boards also. Due to the way the code is structured, the patch is repetitive. It could be optimized, but I opted not to make any structural changes.

For these DAP_Info commands, return meaniningful strings that the host
can display.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant