You need to log in to create posts and topics.

UsartModule crashes, it could be a thread issue.

Threads have given me problems with Socket and Server, and they can also cause problems with UsartModule since the functions constantly switch threads. Regards

Main thread: QThread(0x1b1cbc90) 
ESP01 thread: 0x76c4c8e82840
initialize thread: 0x76c4c8e82840
stamp thread: 0x76c4c8e82840
command thread: 0x76c4af7fe640

byteReceived thread: 0x76c4aeffd640
sendToUart thread: 0x76c4aeffd640 
processNextUartMessage thread: 0x76c4aeffd640 
run_Event thread: 0x76c4aeffd640
sendToUart thread: 0x76c4c8e82840 
byteReceived thread: 0x76c4af7fe640 
sendToUart thread: 0x76c4af7fe640 
processNextUartMessage thread: 0x76c4af7fe640 
run_Event thread: 0x76c4af7fe640
frameSent thread: 0x76c4af7fe640
sendToUart thread: 0x76c4c8e82840 
processNextUartMessage thread: 0x76c4c8e82840 
run_Event thread: 0x76c4c8e82840
frameSent thread: 0x76c4adffb640

frameSent thread: 0x76c4af7fe640 

My friend, I have no idea of what are you doing and what is the problem but please don't paste 2000 lines of garbage in a post.

About threads, yes simulide uses several threads and you need to understand how it works to avoid such problems.