Skip to content

Debug support #31

Answered by polhenarejos
dev-area asked this question in Q&A
Feb 19, 2024 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Firmware must be recompiled with DEBUG_APDU=1 and attach the pico's UART to your machine through a serial port. UART pins depend on your specific pico device but your vendor will provide a pinout diagram for sure. Then open a console and connect it to the serial port at 115200 bauds. All CCID in/out messages will appear in the screen.

Another quick way to debug (but more tedious) is using Wireshark to sniff all USB packets. It is much simpler but USB payloads contain more garbage.

What do you want to debug specifically?

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@dev-area
Comment options

@polhenarejos
Comment options

@dev-area
Comment options

@dev-area
Comment options

@polhenarejos
Comment options

Answer selected by dev-area
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants