Results 1 to 1 of 1

Thread: Heavy use of /dev/ttyUSB0 crashes Focal 20.04 + RPi3

  1. #1
    Join Date
    Sep 2015
    Beans
    2

    Heavy use of /dev/ttyUSB0 crashes Focal 20.04 + RPi3

    The system
    Using RPi V3B V1.2, Focal 20.04
    USB to serial with ftdi driver.

    A simple Python program like
    import minimalmodbus

    instrument = minimalmodbus.Instrument('/dev/ttyUSB0', 2)
    instrument.debug = False
    instrument.serial.baudrate = 9600
    instrument.serial.timeout = 1
    while True:
    instrument.read_long(229)


    Crashes the system (see images bellow).
    The same does not happen if I use /dev/ttyAMA0 port

    Using the terminal I got:




    And later....

    Last edited by carlos-tangerino; 3 Weeks Ago at 05:21 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •