We use USB serial to send data from our stm32 devices to commercial monitoring software in which I have full trust, we also have our own simpler monitoring software. On my older laptop and my older desktop I get hours of reliable USB serial communication at about 20Kb per second, 100Hz request of 200 bytes of payload
On the "newest" dell laptop something really odd started to happen.
Stm32f4discovery connection gets lost every 15 minutes, that's once in every 90000-ish transmissions
Code: Select all
2/12/22 8:05:16 AM :Info: Re-establishing connection to: RS232: Port:COM4, Baud:115200
2/12/22 8:20:16 AM :Info: Re-establishing connection to: RS232: Port:COM4, Baud:115200
2/12/22 8:35:17 AM :Info: Re-establishing connection to: RS232: Port:COM4, Baud:115200
2/12/22 8:50:16 AM :Info: Re-establishing connection to: RS232: Port:COM4, Baud:115200
2/12/22 9:05:16 AM :Info: Re-establishing connection to: RS232: Port:COM4, Baud:115200
2/12/22 9:20:16 AM :Info: Re-establishing connection to: RS232: Port:COM4, Baud:115200
on the same laptop our device with stm32h7 looses connection every 20 seconds
Code: Select all
2/12/22 9:26:29 AM :Info: Re-establishing connection to: RS232: Port:COM16, Baud:115200
2/12/22 9:26:50 AM :Info: Re-establishing connection to: RS232: Port:COM16, Baud:115200
2/12/22 9:27:11 AM :Info: Re-establishing connection to: RS232: Port:COM16, Baud:115200
2/12/22 9:27:32 AM :Info: Re-establishing connection to: RS232: Port:COM16, Baud:115200
2/12/22 9:27:55 AM :Info: Re-establishing connection to: RS232: Port:COM16, Baud:115200
2/12/22 9:28:16 AM :Info: Re-establishing connection to: RS232: Port:COM16, Baud:115200
2/12/22 9:28:37 AM :Info: Re-establishing connection to: RS232: Port:COM16, Baud:115200
2/12/22 9:28:58 AM :Info: Re-establishing connection to: RS232: Port:COM16, Baud:115200
2/12/22 9:29:19 AM :Info: Re-establishing connection to: RS232: Port:COM16, Baud:115200
I am out of reasonable theories. I've already updated BIOS and other drivers. The 15 minute period is just too weird. Having a 60 times different frequency of error between discovery and H7 makes no sense. I've already started thinking about USB controller having power issues? Makes no sense.
Looking for moral support and ideas.