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

Support for JTAG-PDI based Atmel parts #1077

Draft
wants to merge 42 commits into
base: main
Choose a base branch
from
Draft

Support for JTAG-PDI based Atmel parts #1077

wants to merge 42 commits into from

Conversation

dragonmux
Copy link
Member

@dragonmux dragonmux commented Jun 27, 2022

This PR establishes support for several things related to the Atmel 8-bit AVR lineup:

  • It establishes support for handling AVR parts separately from the rest.
  • It establishes support for the JTAG-PDI protocol in BMPF.
  • It establishes target support for the ATXMega256A3U processor based atop of this JTAG-PDI support.
  • It establishes debug support for that same processor based on our documentation work for the PDI protocol w/ a focus on how debug works

It should be noted that the AVRs are pretty sensitive to how scan is completed which is why #978 had to land first, and the PDI controller is very sensitive to how data is clocked into the target. What the PDI controller does not care about is how fast we do so as JTAG on these parts is decoupled from CPU clock speed completely. You can run the PDI side of things at 10MHz on a processor running at 2 and nothing will hurt for that, except you getting a lot of PDI Delay Byte responses (which we make transparent to the target code for simplicity's sake).

@dragonmux dragonmux added Enhancement General project improvement Draft Work in progress draft New Target New debug target labels Jun 27, 2022
@dragonmux dragonmux added this to the v2.0 release milestone Jun 27, 2022
@dragonmux dragonmux requested a review from esden June 27, 2022 01:12
@dragonmux dragonmux changed the title Feature/avr Support for JTAG-PDI based Atmel parts Jun 27, 2022
@dragonmux dragonmux force-pushed the feature/avr branch 17 times, most recently from f077514 to 438c0e4 Compare July 24, 2022 11:54
@dragonmux dragonmux force-pushed the feature/avr branch 7 times, most recently from 0503c0d to 42bf625 Compare August 14, 2022 11:24
…and another for writing the PDI repeat counter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Draft Work in progress draft Enhancement General project improvement New Target New debug target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant