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

CW310 binaries built from OpenTitan master currenly not working #155

Closed
vogelpi opened this issue Sep 11, 2023 · 3 comments
Closed

CW310 binaries built from OpenTitan master currenly not working #155

vogelpi opened this issue Sep 11, 2023 · 3 comments
Assignees

Comments

@vogelpi
Copy link
Collaborator

vogelpi commented Sep 11, 2023

At the moment, binaries built for the CW310 board from OpenTitan master don't seem to work. I am not 100% sure what the root cause for this is. I suspect the main issue is that we changed the clock frequency for the CW310 some time ago to speed up TLT (see this PR lowRISC/opentitan#19479 or specifically commit lowRISC/opentitan@162cdab).

As a temporary workaround, we can use the ot-sca_2023-07-15_dd8b709_cw310 tag on my fork as a base (this is when I last updated CW310 bitstreams and binary): https://github.com/vogelpi/opentitan/releases/tag/ot-sca_2023-07-15_dd8b709_cw310

@vogelpi
Copy link
Collaborator Author

vogelpi commented Sep 11, 2023

FYI @vrozic @wettermo

@vogelpi
Copy link
Collaborator Author

vogelpi commented Oct 31, 2023

Now that we specify the capture window and offset in target clock cycles and dynamically change the sampling rate (#203), things are working again. The only thing that needs to change in the config is target_clk_mult variable. Previously it was 0.1, with new bitstreams it's 0.24. I've just tested this. What is left to do is to update the bitstreams and binaries. I will soon take care of this.

@vogelpi
Copy link
Collaborator Author

vogelpi commented Jan 11, 2024

This has been finished with #212 .

@vogelpi vogelpi closed this as completed Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants