The OBDH2 cannot communicate with the EPS2.
LucasAzulay opened this issue · 10 comments
The OBDH2 cannot communicate with the EPS2.
@LucasAzulay, we have been changing the EPS 2.0 code for the last couple of days, in some secondary branches, for testing, with names similar to feature_device_XXX, feature_drivers_XXX. These changes were merged into the dev_firmware. Then, this firmware was tested with EPS 2.0 and OBDH 2.0, both of which are plugged into our FlatSat. On the OBDH 2.0, it was used the code that is present in the master. With this setup, EPS 2.0 and OBDH 2.0 were able to communicate. The EPS recognizes the read requests (cmd = 1) and sends the data to the OBDH. The errors that occur on the OBDH side are related to TTC 2.0. Additionally, today we conducted some tests regarding the communication of TTC 2.0 with EPS 2.0. And, again, they were able to communicate. Soon we are going to merge these modifications into the master for EPS, but for now, you can use the dev_firmware of the EPS to see if you can achieve the same results as us. If you try this, let me know what your results are.
@LucasAzulay, could you tell me if the TTC 2.0 was connected with OBDH 2.0 and EPS 2.0 during these tests that you conducted?
Yes, the three were connected.
Ok. Today I will make some small changes to the OBDH's firmware in the dev_firmware. I will then contact you again to ask you to do some testing.
@LucasAzulay, could you please use the code in dev_firmware into the OBDH 2.0? You should see EPS 2.0 being able to receive multiple commands from OBDH 2.0. OBDH 2.0 should not show any EPS 2.0 related errors. Finally, you will still see TTC 2.0 related errors:
@LucasAzulay, could you please tell me if these errors occur recurrently? Here we have not yet observed these errors. And, please, could you share to us what are the modules' versions that you are using (e.g. EPS 2.0 v0.1)? We would like to know the version of the EPS, TTC and OBDH, if possible.
@LucasAzulay, sorry for the delayed response. We have not yet been able to replicate the errors, however, I have some observations:
-
Please check if in config/config.h the CONFIG_SET_DUMMY_EPS is set to 0 or 1. I suggest trying to do the tests with this deactivated, that is, with 0.
-
I would like to ask you to do a little "test". Would it be possible to change the position of the OBDH in your FlatSat platform? You can put it in any other slot.
Please report me if something changed during the tests. We will try to make more tests to replicate the errors.