Quantcast
Viewing all articles
Browse latest Browse all 5037

Advanced users • Re: systemd service ran fine on CM4 doesn't work on CM5

Well I think I have solved the problem (getting an actual error log helped!);
It was sort-of-but-not-quite something I suspected earlier, namely that the serial buffer at startup appeared to be full of a whole load of zeros, and there was a bug in my code that only happened when the read buffer was 100% full AND started with a load of NULL chars.

I guess there's some different behaviour between the Pi4 and Pi5 processors that leads to this situation only on the 5, but of course my code should handle junk data properly which it now does.

Thanks again for the help.

Statistics: Posted by John_U — Wed Dec 11, 2024 3:40 pm



Viewing all articles
Browse latest Browse all 5037

Trending Articles