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

Fix: JTAG correctness #1384

Merged
merged 9 commits into from
Feb 12, 2023
Merged

Fix: JTAG correctness #1384

merged 9 commits into from
Feb 12, 2023

Conversation

dragonmux
Copy link
Member

Detailed description

In this PR we address several JTAG bugs (including a regression from PR #1131) which were impacting the ability for the firmware to correctly talk to RISC-V targets, among others. There are still issues with the timings being very tight on many devices, but this does at least appear to be reliable and gives reasonable clocking waveforms too as shown in the capture below.

image

This blocks PR #1380 till merged and must be applied on top of that PR if wishing to test RISC-V with BMP or other BMD firmware platforms.

Your checklist for this pull request

  • I've read the Code of Conduct
  • I've read the guidelines for contributing to this repository
  • It builds for hardware native (make PROBE_HOST=native)
  • It builds as BMDA (make PROBE_HOST=hosted)
  • I've tested it to the best of my ability
  • My commit messages provide a useful short description of what the commits do

Closing issues

@dragonmux dragonmux added the Bug Confirmed bug label Feb 12, 2023
@dragonmux dragonmux added this to the v1.10 milestone Feb 12, 2023
@dragonmux dragonmux requested a review from esden February 12, 2023 12:12
Copy link
Member

@esden esden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as far as I can tell. Only way to know for sure is to use it on as many targets as possible. And that is only possible by merging it to main at the moment. 🤞 (HITL CI wen? ;) )

@esden esden merged commit 59ee9dd into main Feb 12, 2023
@dragonmux dragonmux deleted the fix/jtag-correctness branch February 12, 2023 20:58
@dragonmux
Copy link
Member Author

Ahahaha, indeed! and unfortunately not the last time we're going to have to touch jtagtap.c either as we know there's at least one more problem based on how JTAG-PDI ran today..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants