-
Notifications
You must be signed in to change notification settings - Fork 27
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
[capture] CW databases broken #274
Comments
oh, back in October/November when I last used the script, it reported on stdout that it would use larger numbers. Does it report 20k on stdout now? |
I am not aware of such a limit - could you please provide me with the DB file and I try to reproduce & fix it. |
Hm, this is strange. I've now switched to an old version and it still just takes the first 20k traces. I am wondering if maybe the database is actually broken. |
A quick investigation of the generated CW project files reveals that all but the last two 10k segments are "disabled". When storing the segments or at the very end of the capture, we have to enable them. This seems to have gone wrong when reworking the capture setup. I'll adjusted the title accordingly and will file a PR. |
When using the CW trace database format, we disable all but the last two trace storage segments during captures to maintain high capture rates. Before storing the database to disk at the end of the capture, all trace storage segments need to be re-enabled. Otherwise, only 20k traces are read from the database upon loading. This resolves lowRISC#274. Signed-off-by: Pirmin Vogel <[email protected]>
When using the CW trace database format, we disable all but the last two trace storage segments during captures to maintain high capture rates. Before storing the database to disk at the end of the capture, all trace storage segments need to be re-enabled. Otherwise, only 20k traces are read from the database upon loading. This resolves #274. Signed-off-by: Pirmin Vogel <[email protected]>
Currently, our tvla script seems to only extract the first 20k traces of a CW database. I have several databases holding 2M and 10M AES traces but only the first 20k traces are effectively read out.
Does anyone know why this is the case and how to fix it? @nasahlpa @vrozic ?
The text was updated successfully, but these errors were encountered: