Skip to content

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

Merged
merged 21 commits into from
Mar 28, 2022
Merged

V2.0 rc1 #2

merged 21 commits into from
Mar 28, 2022

Conversation

feer9
Copy link
Owner

@feer9 feer9 commented Mar 28, 2022

No description provided.

feer9 added 21 commits March 18, 2022 01:56
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.
@feer9 feer9 merged commit 161d434 into main Mar 28, 2022
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

Successfully merging this pull request may close these issues.

1 participant