Re: minicom serial output
From: anonymous coward (anonymous.coward_at_nospam.nowhere)
Date: 07/21/04
- Next message: John-Paul Stewart: "Re: LINUX to WINDOWS via USB"
- Previous message: Lea Gris: "Re: TV Card and Linux"
- In reply to: Floyd L. Davidson: "Re: minicom serial output"
- Next in thread: Floyd L. Davidson: "Re: minicom serial output"
- Reply: Floyd L. Davidson: "Re: minicom serial output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 21 Jul 2004 16:30:51 +0100
On Wed, 21 Jul 2004 05:58:42 -0800, Floyd L. Davidson wrote:
> anonymous coward <anonymous.coward@nospam.nowhere> wrote:
> [background info snipped]
>>I've been trying to get them to work using minicom. I've set the correct
>>data rate, flow control settings etc. etc. but minicom only seems to work
>>in one direction. It will print data from my electronics, but it will
>>not echo what I type into the keyboard into my electronics.
>>
>>If I try to start a modem, my electronics reacts to the control sequences
>>so there does not seem to be any hardware problem.
>>
>>Any ideas? I'm sure I'm doing something pretty basic wrong, but I have no
>>idea what...
>
> I'm not sure that I understand your description. Are you saying
> that when you type something on the keyboard, the device you
> have connected to the serial port *does* react? Meaning that it
> has received the data?
Sorry - I can see my original question wasn't very clear. My device
doesn't react and a multimeter accross the serial port shows that no data
was transmitted from the computer to the device.
I can tell that the input to the computer is working because my device
shows a 'welcome' message as it boots up. It also reacts to the modem
initialisation / hangup commands. These are sent correctly which I imagine
shows that there is no hardware or permissions problem - i.e. I can write
to the serial port.
> So "I try to start a modem" means that you used minicom's "Initialize
> Modem" command and it sent something the device responded to... you
> want to configure minicom to *not* send it!
Yes, that's correct. I already changed the modem initialisation string to
'D' (one of the commands recognised by my device) and I can get my device
to respond sensibly to this command whenever I initialise the modem. But
I have many more commands, and at the moment if I wish to switch between
commands I have to change the modem init string each time, hangup... It's
not practical.
What I'd like to be able to do, would be to type the commands directly
into the terminal and have them sent out to the serial port.
I have also tried uploading files to the device. But when I tried
uploading .bashrc (because it was there) in 'ascii' format I receive the
message '0.0 Kbytes transferred at 11CPS' and nothing happens. It also
says 'offline' at the base of the screen.
> Configuring minicom can also be a little confusing, because it
> will often appear to have done something when in fact it has
> not. Setting the serial port parameters is one of those issues.
> So it is also possible that you are not actually getting the
> port configured. If you are changing the settings each time,
> that is probably true, and all your device is getting is garble.
I have the serial settings configured properly.
AC
- Next message: John-Paul Stewart: "Re: LINUX to WINDOWS via USB"
- Previous message: Lea Gris: "Re: TV Card and Linux"
- In reply to: Floyd L. Davidson: "Re: minicom serial output"
- Next in thread: Floyd L. Davidson: "Re: minicom serial output"
- Reply: Floyd L. Davidson: "Re: minicom serial output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|