-
Notifications
You must be signed in to change notification settings - Fork 2
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
Check behavior of silicon version check in 2FOC test procedure #51
Comments
It seems that the silicon version is just match with a specific value: but I need to double check this since it is hard to understand which is the source code the test is using. I saw that on another section where we actually have all the test code the silicon version is checked as here: thus I'm not sure in which case the test can fail |
Ciao @MSECode I investigated on this topic The test could fail for example if an old batch of microcontroller reaches the market (like it happened during global shortage) and we can have problem with our firmware if the missing/broken functionality is not correctly handled. |
Thanks @fgarini, good to know. which matches the version defined in wingst too. I think now to modify the test so that we can accept version not only equal to 0x3003 but also higher. Moreover, we can say that we won't to let boards with a silicon version lower than 0x3003 pass the test if I understood correctly from your notes since having a revision higher than that is critical. |
Yes I think at the time when the code was written the version 0x3004 wasn't already issued and the reading triggers the error as in the latest snippet you posted. |
That makes sense, I'm not sure if set a check that matches the exact versions, but I would prefer to just see if the silicon version is grater or equal to a specific one, in our case |
I've started to add the updates here: https://github.com/MSECode/electronics-legacy/tree/feature/update2FOCtest |
I've studied how to manage this test. Two solutions were possible, one that uses the |
As discussed w/ @valegagge we still have some problems regarding the fw for the test on the 2FOC, which I'm gonna explain here.
Thus, the point to be discussed are:
cc: @valegagge |
After discussion w/ @valegagge, and considering that the 2FOC boards are soon to be deprecated, we have decided to apply a small workaround to solve the problem of the checking of the silicon version that just need the user to modify the xml file. Therefore, there's no issue with the source code. |
We need to double check how the check for the silicon version in the phase1 of the test procedure is made on the fw side, so that we can let the test pass when a board has a newer silicon version that the minimum required one. Basically we are not 100% sure if the test step passes for older or newer version. Need to check and eventually update.
cc: @valegagge @fgarini
The text was updated successfully, but these errors were encountered: