reading output from cat /dev/ttyACM0
results in beagle board freezing. It unfreezes when i unplug the usb serial.
So essentially my setup is a beagle board connected via a usb to my laptop, which is communicating with it via COM6. We also have it connected to the web via web sharing. I also have another usb connected to it from a Arduino Teensy++ controller. This controller is sending data via usb serial to the beagle board. The point of this exercise is to read the data from the usb serial.
The process of reading i use is cat /dev/ttyACM0
. This results in the print of the first 2 lines of data, then the entire beagle board freezes. When u unplug the teensy++, it prints out like 10-20 lines (assuming whatever the buffer contains). Not sure why this is happening.
Can anyone help ? Thanks