-
Notifications
You must be signed in to change notification settings - Fork 6
Add hard and soft reset support to riffa onidriver #40
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
base: main
Are you sure you want to change the base?
Conversation
I've now tested this on
all these seem to work with incident. |
Regarding versioning: For the same reasons, clroni should increase to 6.2.0 @jonnew what do you think? Versioning is a bit of a headache in this case, but I believe the rule is "if it breaks compatibility in any direction (up or downstream) then it's a major, if it retains compatibility in both directions but adds something in any, minor, if it's just a fix, patch" |
I came here to follow up with exactly this question: does this work with old firmware? Since it does, the major version should not increment. So, I agree with the proposed changes. The only thing I want to make sure i understand is the "direction, up stream, downstream", wording. I don't think we need to think about this at all assuming it refers to a "spatial" dimension in some sense. We just need to think about two things:
If the answer to 2. is no, then major increase. So, in this case
|
Well, what I meant here is, there are two public interfaces in the driver translator or in libONI: The software API and the hardware communication. So, in a sense, there are two interfaces, if any of these broke (e.g. this translator did not work with older gateware) then it would be a major update regardless of the other. In this case, we should do some stress-test to be sure that, indeed, the driver translator does work with current gateware. If it indeed does, it would be exactly the case you wrote (so the driver translator should be 1.2.0 instead of the 2.0.0 I wrote. should not be an issue since this is not published yet) |
Ah, yes. TBH, i was starting to think along those lines even when writing this. However, I think both points are correct: the hardware and and software interfaces both form the greater public interface. If any part of that public interface is does not work with whatever was was previously "plugged in" to it, the its a major change. But I do understand the wording now. I think it might be worth making a set of tests on Monday's meeting to ensure that we are testing all the recent changes properly. |
Required for:
open-ephys/onix-common-hdl#26
open-ephys/onix-pcie-host-hdl#13