24.03.2021, 09:22
Hi,
On a LM4 I have an Arduino connected to the USB bus. The Arduino gets its power from the USB bus and acts as a serial device.
Every now and then, the Arduino gets stuck (for reasons that I have not figured out yet) and sends no more data to the LM.
I have two options then:
I could change this script to reboot LM automatically but I wonder if there is a less intrusive way to restart the Arduino by manipulating the USB bus.
Thanks for your help.
On a LM4 I have an Arduino connected to the USB bus. The Arduino gets its power from the USB bus and acts as a serial device.
Every now and then, the Arduino gets stuck (for reasons that I have not figured out yet) and sends no more data to the LM.
I have two options then:
- unplug the Arduino from the USB bus and plug it back in, which restarts it
- reboot LM which has the same effect
I could change this script to reboot LM automatically but I wonder if there is a less intrusive way to restart the Arduino by manipulating the USB bus.
Thanks for your help.