Hello everyone,
I'm getting mad at trying to understand what is causing this error.
I just uploaded the simple_obd_test from the Freematics library, specifically I'm running a Freematics One+ B, 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.
sys.begin() error: UART Driver Already Installed
sys.begin() error: UART Driver Already Installed
Last edited by pr414 on Sat Dec 24, 2022 9:16 pm, edited 1 time in total.
Re: Error: UART Driver Already Installed
Are you using the latest code?
Re: sys.begin() error: UART Driver Already Installed
Yes, downloaded from the PlatformIO Libraries.
Any help on what to look for would be very appreciated.
Could be for some kind of conflict?
Any help on what to look for would be very appreciated.
Could be for some kind of conflict?
Re: sys.begin() error: UART Driver Already Installed
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.
Creating my own fork of the old commit fixed every issue.