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

Use sync packets to escape SWO pin transients? #11

Open
tmplt opened this issue Jan 26, 2022 · 0 comments
Open

Use sync packets to escape SWO pin transients? #11

tmplt opened this issue Jan 26, 2022 · 0 comments
Labels
investigate Further investigation required
Milestone

Comments

@tmplt
Copy link
Member

tmplt commented Jan 26, 2022

As documented, configuring a GPIO pin for SWO induces transient noise. Noise is not deterministic, and will be different across platforms. Recording the SWO pin from target start will then corrupt the bit buffer. Manual intervention is required to ensure that this transient is not recorded. Ideally, we should be able to filter this transient out.

The ITM standard allow the periodic generation of synchronization packets. Can we use these to escape the transient? Ideally, we should only require a single sync packet. With sync packet(s) expected, we can restore the bit buffer to a proper state when a sync packet is received and thus filter the transient out. This should be a configuration flag.

@tmplt tmplt added the investigate Further investigation required label Jan 26, 2022
@tmplt tmplt added this to the v1.0.0 milestone Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate Further investigation required
Projects
None yet
Development

No branches or pull requests

1 participant