I changed the script so that the main function now looks like this:
def main():
print("Hello World!")
cpu = IMX8MMFeatures()
cpu.cpu_memory_start()
test = TLA2024()
test.start()
while (1):
test.monitor_status()
test.get_string(test.read(), "mean")
time.sleep(1)
I started it and I could see that the python process was taking 100% of a single core. I let this test run and it executed for more than a day without any issues. These were the last messages I saw before I stopped it:
here 1263762
here 1263776
here 1263789
here 1263799
here 1263807
here 1263820
I’ll probably leave it running over the weekend but it seems that it’s still not reproducible here.