[uClinux-dev] Serial communication problem

Eric Bosch (Fourtress) eric.bosch at fourtress.nl
Tue Apr 2 07:09:37 EST 2002


Thanks Juan,

Thanks Juan,

But I can't make a telnet to my uCsimm. The IP adress of my uCsimm is
192.168.1.200 and I try at the command line of my terminal: telnet
192.168.1.200

Are there other solutions?



-----Oorspronkelijk bericht-----
Van: owner-uclinux-dev at uclinux.org
[mailto:owner-uclinux-dev at uclinux.org]Namens Juan José 'Peco' San Martín
Verzonden: dinsdag 2 april 2002 12:55
Aan: uClinux
Onderwerp: RE: [uClinux-dev] Serial communication problem


On Tue, 2002-04-02 at 12:23, Eric Bosch (Fourtress) wrote:
> Ok but,
>
> I already configured minicom terminal to talk at 9600 8N1, when I plugged
> the
> RS 232 to the board. The serial port setup is configured: serial device:
> dev/ttyS1 lockfile: /tmp and the hardware and software flow control: No.
>
> So, I in the past (with this settings) I could communicatie and I saw the
> bootloader prompt.
>
> Then I changed the CONSOLE environment variable with the command: setenv
> CONSOLE ttyS1. After that I start minicom again  but I don't see any
> bootloader prompt when resetting the board. How I can't communicatie with
my
> board?

Ok, it seems that you've changed the serial port of your uCsimm to
/dev/ttyS1 (com2) but, the problem is that the uCsimm haven't got it ;-)

The first solution (but may be the worst) is to make an ethernet
(TCP/IP)connection in order to set the enviroment variable to the right
value. Could you make a telnet to your uCsimm, couldn't you?
After that, you could use the Bootloader API, int setbenv(char *pair),
to establish the new value.

Anyway, I'm sure that we could find an easier solution.

Peco.

>
> Thanks Eric
>
> -----Oorspronkelijk bericht-----
> Van: owner-uclinux-dev at uclinux.org
> [mailto:owner-uclinux-dev at uclinux.org]Namens Prasanna Kumar K
> Verzonden: dinsdag 2 april 2002 10:46
> Aan: uclinux-dev at uclinux.org
> Onderwerp: Re: [uClinux-dev] Serial communication problem
>
>
> Hi Eric,
>
>     With only this information, I doubt anyone would be able to help you!
>
>     Check up your minicom settings. Baud rate, parity, flow control etc.
> Many a times the problem can be with the serial cable itself! To avoid
> confusion, make sure that your cable is working fine!
>
> May be you have checked all these basic things..... but just wanted to
> remind you :-)
>
> Regards,
> :)Prasanna
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Eric Bosch (Fourtress) wrote:
>
> > Hi all!
> >
> >
> >
> > I have my console connected to my serial port and I saved this
> > setting. Now I can't communicate with my board (68EZ328) using a
> > serial cable. I'm using minicom as communication program.
> >
> >
> >
> > Can someone help with this problem?
> >
> >
> >
> > Thanks Eric
> >
>
>
> This message resent by the uclinux-dev at uclinux.org list server
> http://www.uClinux.org/
>
> This message resent by the uclinux-dev at uclinux.org list server
http://www.uClinux.org/
>
--
Juan José "Peco" San Martín

Microbótica, S.L
Mail: peco at microbotica.es
Web: www.microbotica.es

This message resent by the uclinux-dev at uclinux.org list server
http://www.uClinux.org/

This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/



More information about the uClinux-dev mailing list