On Sunday 10 October 2004 8:30 pm, Ian bell wrote:
I want to program a single board computer (SBC) from a linux PC via a serial-port. The SBC includes a Flash memory microcontroller which is set into in circuit programming mode by pulsing one of the serial control lines e.g.RTS. Sending data to a serial port is no problem; in Linux/Unix everything is a file. But how to I operate the RS232 control lines?
I am pretty sure gtkterm can do what you want. I know it can give manual control to at least some of the lines. Maybe if you need to add this functionality into your own application it would at least be worth having a prod around gtkterm's source.
To make matters worse I am doing this on a laptop which does not have a serial port so I am using a USB to serial adaptor.
This really gets me, I understand the need to dump some of the legacy interfaces to make laptops a managable size, but a serial port is still really useful to some. Even my Thinkpad doesn't have one, I have to resort to an expensive PCMCIA serial adapter when I want to mess with PIC's/Program a Cisco/Talk to someones PBX/mess about with an HP switch.
Never had much luck with those USB-Serial things