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

samd: timeout when connecting to samc21 #1663

Open
koendv opened this issue Oct 30, 2023 · 2 comments
Open

samd: timeout when connecting to samc21 #1663

koendv opened this issue Oct 30, 2023 · 2 comments
Labels
Potential Bug A potential, unconfirmed or very special circumstance bug
Milestone

Comments

@koendv
Copy link
Contributor

koendv commented Oct 30, 2023

Attached the bmda output when connecting to an atsamc21.
blackmagic -tv 5 was run twice.
The first time there is a 2 second delay; the second time response is instantaneous.
log.txt

@dragonmux dragonmux added this to the v2.0 release milestone Oct 30, 2023
@dragonmux dragonmux added the Potential Bug A potential, unconfirmed or very special circumstance bug label Oct 30, 2023
@dragonmux
Copy link
Member

Interesting.. both succeeded, despite the warning about failing to halt the CPU.

Our bad though that we said -v 5 and should have asked for -v 29 so we get the full ADIv5 conversation - could you recapture the two traces at this higher verbosity level please?

@koendv
Copy link
Contributor Author

koendv commented Oct 30, 2023

OK. blackmagic -tv 29, run twice. Log attached.
log2.txt

samd.c has some routines that look like workarounds for errata.. e.g. "Only required for SAM D20 Revision B Silicon". samc21 errata are here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug A potential, unconfirmed or very special circumstance bug
Projects
None yet
Development

No branches or pull requests

2 participants