Linux
Posted: Thu Oct 25, 2012 12:12 am
We have been working with the ARMmite under Linux for some months now.
In the past, we have had to use a Windows station for firmware
downloads, and TCL to interact with the ARMmite over its USB port on
the Linux side. This last issue has to do primarily with the default
handling of DTR (and RTS) by the ARMmite, which unlike many other
serial devices, interprets DTR high by a PC as a debug stop request,
rather than a signal that it is OK to transit data.
Recently, after reviewing the post at
http://www.coridium.us/ARMhelp/scr/HwUSB2.html entitled "USB use
with MatLab, Hyperterm, TeraTerm," we tried using the ARMite under
Linux in a modified mode, where DTR high does not stop operation.
While this procedure does require a Windows system to perform, once
that is done, the ARMmite becomes much friendlier under Linux.
Specially, we were able to use BASH level tools to view data streaming
from the device, as well as minicom, as well as pyserial with python.
I suspect from how easy this worked with these tests (19.2,n,8,1)
with this patch that other Linux tools would work perfectly well with
the ARMmite now.
These tests were performed using a Debian i386 Etch build, with a
stock Debian 2.6.18-3 kernel. They were performed on 3 different
Pentium class systems, using Intel motherboard chip sets. While it
appears to still be necessary to use a Windows system for the firmware
uploads, after that, the ARMmite works well under Linux flowing data
out its USB serial port with standard Linux serial tools.
In the past, we have had to use a Windows station for firmware
downloads, and TCL to interact with the ARMmite over its USB port on
the Linux side. This last issue has to do primarily with the default
handling of DTR (and RTS) by the ARMmite, which unlike many other
serial devices, interprets DTR high by a PC as a debug stop request,
rather than a signal that it is OK to transit data.
Recently, after reviewing the post at
http://www.coridium.us/ARMhelp/scr/HwUSB2.html entitled "USB use
with MatLab, Hyperterm, TeraTerm," we tried using the ARMite under
Linux in a modified mode, where DTR high does not stop operation.
While this procedure does require a Windows system to perform, once
that is done, the ARMmite becomes much friendlier under Linux.
Specially, we were able to use BASH level tools to view data streaming
from the device, as well as minicom, as well as pyserial with python.
I suspect from how easy this worked with these tests (19.2,n,8,1)
with this patch that other Linux tools would work perfectly well with
the ARMmite now.
These tests were performed using a Debian i386 Etch build, with a
stock Debian 2.6.18-3 kernel. They were performed on 3 different
Pentium class systems, using Intel motherboard chip sets. While it
appears to still be necessary to use a Windows system for the firmware
uploads, after that, the ARMmite works well under Linux flowing data
out its USB serial port with standard Linux serial tools.