-
Notifications
You must be signed in to change notification settings - Fork 0
V2.0 rc1 #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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Subdivided the PC app into subclasses Split the communication into smaller packages Smaller memory buffers nedded Check for correct reception after each package Implemented finite state machines into the uC and in the different layers of the CLI program Attempted to make de uC continuously connected to the PC by pinging it periodically Overall this is not working yet but seems much better
this was causing timeouts all the time because the timer never really stopped
The code is now working for Rx Tx is still not implemented, but it should not take much
Did a general rewrite of the cli App class, again. Finally got the communication to work properly, and fixed the memory write drivers which were a mess. Also tuned the i2c timeouts according with the datasheets and the link speed (at the moment set at 100 kHz) This is almost ready to merge with main branch. Only thing left is to test on Windows.
Now I have two memories with the same i2c address, so I couldn't identify them by their address anymore. The easiest way to solve this was to just introduce the name of the memory each time by hand in the cli, and then verify in the uC that the corresponding i2c device is alive.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.