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

sys.begin() error: UART Driver Already Installed #176

Open
pr414 opened this issue Dec 26, 2022 · 1 comment
Open

sys.begin() error: UART Driver Already Installed #176

pr414 opened this issue Dec 26, 2022 · 1 comment

Comments

@pr414
Copy link

pr414 commented Dec 26, 2022

Hello everyone,
I'm getting mad at trying to understand what is causing this error.
I uploaded the simple_obd_test from the Freematics library, specifically I'm running a Freematics One+, planning to use it with the OBD-II Emulator.
When I compile it, upload it and go to see the Serial Monitor, all the device is doing is sending "E (337483) uart: UART driver already installed", with the number in milliseconds of when the error occurred.
I already found out that the problem is caused by this part of the code in the setup:

// initializations
while (!sys.begin());
obd.begin(sys.link);

I seriously do not know why this is happening, I'm running the code through PlatformIO and getting this error on loop on the Serial Monitor.

image

@pr414
Copy link
Author

pr414 commented Mar 8, 2023

For the record, I managed to fix this problem by reverting to an older FreematicsPlus library, specifically early 2018 commits. Since my hardware is from late 2017, I had to find by myself that it is no longer supported by the official code.
Creating my own fork of the old commit fixed every issue.

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

1 participant