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

DRAFT: Sonata Trace #356

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

DRAFT: Sonata Trace #356

wants to merge 2 commits into from

Conversation

alees24
Copy link
Contributor

@alees24 alees24 commented Nov 15, 2024

This draft PR presents some debug/diagnostic functionality in nascent form. It exports a software-selected set of 4 signals over the Arduino ICSP header for inspection with a logic analyser. The signals appear to have good integrity even at 30MHz and have been instrumental in LCD and microSD bring-up.

It could be very useful for viewing events, gathering performance information inside the FPGA in real time.

Presently it taps onto the PWM device port and provides a single write-only control register. It could perhaps become a proper IP block on the TL-UL at some point, and arguably the multiplexing should move into pinmux. With the current sketch (built before pinmux arrived) there would then be no need for a separate module/functionality, but the intention is to add additional diagnostic functionality at some point.

@GregAC for awareness.

marnovandermaas and others added 2 commits November 27, 2024 20:02
For example SRAM is 128 KiB, there's no DMA, there's no CHERIoT Debug
module, there is a user USB etc.
Implement basic Sonata Trace functionality via Arduino ICSP connector.
For now this just presents the microSD SPI traffic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants