Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RuntimeError: Break detected
- >>> message = pruss.uart.io.readline(newline =b'\r')
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/home/debian/py-uio/src/uio/ti/icss/uart.py", line 380, in readline
- self._poll( lambda: newline in buf )
- File "/home/debian/py-uio/src/uio/ti/icss/uart.py", line 316, in _poll
- raise RuntimeError( "Break detected" )
- RuntimeError: Break detected
- >>> message = pruss.uart.io.readline(newline =b'\r')
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/home/debian/py-uio/src/uio/ti/icss/uart.py", line 380, in readline
- self._poll( lambda: newline in buf )
- File "/home/debian/py-uio/src/uio/ti/icss/uart.py", line 316, in _poll
- raise RuntimeError( "Break detected" )
- RuntimeError: Break detected
- >>> pruss.uart.io.write(b'GN\r')
- >>> message = pruss.uart.io.readline(newline =b'\r')
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/home/debian/py-uio/src/uio/ti/icss/uart.py", line 380, in readline
- self._poll( lambda: newline in buf )
- File "/home/debian/py-uio/src/uio/ti/icss/uart.py", line 314, in _poll
- raise RuntimeError( "Receive FIFO overrun" )
- RuntimeError: Receive FIFO overrun
- >>> message = pruss.uart.io.readline(newline =b'\r')
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/home/debian/py-uio/src/uio/ti/icss/uart.py", line 380, in readline
- self._poll( lambda: newline in buf )
- File "/home/debian/py-uio/src/uio/ti/icss/uart.py", line 316, in _poll
- raise RuntimeError( "Break detected" )
- RuntimeError: Break detected
- >>> pruss.uart.initialize(baudrate = 460800)
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/home/debian/py-uio/src/uio/ti/icss/uart.py", line 226, in initialize
- raise RuntimeError( "I/O object should be closed before reinitializing UART" )
- RuntimeError: I/O object should be closed before reinitializing UART
- >>> pruss.uart.close()
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- AttributeError: 'Uart' object has no attribute 'close'
- >>> pruss.uart.io.write(b'GN\r')
- >>> message = pruss.uart.io.readline(newline =b'\r')
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/home/debian/py-uio/src/uio/ti/icss/uart.py", line 380, in readline
- self._poll( lambda: newline in buf )
- File "/home/debian/py-uio/src/uio/ti/icss/uart.py", line 314, in _poll
- raise RuntimeError( "Receive FIFO overrun" )
- RuntimeError: Receive FIFO overrun
- >>> message = pruss.uart.io.readline(newline =b'\r')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement