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 #992

Closed
wants to merge 56 commits into from
Closed

Support for JTAG-PDI based Atmel parts #992

wants to merge 56 commits into from

Conversation

dragonmux
Copy link
Member

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 BMP Firmware Black Magic Probe Firmware (not PC hosted software) labels Mar 15, 2022
@dragonmux dragonmux requested a review from esden March 15, 2022 12:40
@dragonmux dragonmux self-assigned this Mar 15, 2022
@dragonmux dragonmux force-pushed the avr branch 2 times, most recently from 9bf27b4 to d102cd4 Compare March 16, 2022 07:27
@dragonmux dragonmux added this to the v2.0 release milestone Mar 16, 2022
@dragonmux dragonmux mentioned this pull request Mar 16, 2022
@dragonmux dragonmux force-pushed the avr branch 2 times, most recently from 4d1d61a to 74b5fc2 Compare May 17, 2022 17:36
dragonmux added 23 commits June 25, 2022 13:54
…s_read, and fixed the order of operations in regs_read
@dragonmux dragonmux closed this Jun 27, 2022
@dragonmux dragonmux deleted the avr branch June 27, 2022 01:09
@dragonmux dragonmux restored the avr branch June 27, 2022 01:10
@dragonmux dragonmux reopened this Jun 27, 2022
@dragonmux dragonmux closed this Jun 27, 2022
@dragonmux dragonmux deleted the avr branch June 27, 2022 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BMP Firmware Black Magic Probe Firmware (not PC hosted software) 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