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

Need to implement parity checking for UART messages #25

Open
mercury64 opened this issue Feb 17, 2023 · 2 comments
Open

Need to implement parity checking for UART messages #25

mercury64 opened this issue Feb 17, 2023 · 2 comments

Comments

@mercury64
Copy link

mercury64 commented Feb 17, 2023

As an example, the UART command to start CART is 0x4.
The module id is 0x1, the EEC node on the bus.
The last byte is the parity check byte.
Simply XOR all the bytes together:
0x00...0x01, 0x04, 0x00, 0x00, 0x00 = 0x05

Command 0x04 go into CART mode.
Command 0x05 is use alternate calibration.
Command 0x80 is go permanently offline
Command 0x82 is echo module id

@flxkrmr
Copy link
Owner

flxkrmr commented Feb 17, 2023

Do you mean the start message mentioned here #24?

These commands are interesting! Do you have more informations about the UART mode or some documents?

@mercury64
Copy link
Author

Yes, I have documents, as well as I have decompiled my EEC and have the code that runs on the EEC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants