This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: running test cases


On Mon, Apr 06, 2009 at 02:14:15AM -0700, grahamlab wrote:
> 
> Hi Sergei
> 
> I am sure I have the correct settings in mincom but still cannot download a
> file
> 
> Is there anything else I can try?

Please, do not top post.

So, you have the success with HT (!VM). VM's serial ports are something
specific. It may work, it may not work. But there is a light in a tube.
You can try to use serial-to-tcp bridge. It's software what you can run
on the host (windows) and all data flow from/to the real serial port
will be directed to/from the specified TCP port.

If you disable serial ports handling in VM, start such a bridge program,
then it can be possible (I hope) to connect on the specified TCP port
using GDB on guest (Linux). Can you ping the Host PC from the Guest OS?

... And what's wrong with cygwin environment?

Sergei

> 
> Graham
> 
> Sergei Gavrikov-4 wrote:
> > 
> > On Mon, Apr 06, 2009 at 01:55:02AM -0700, grahamlab wrote:
> >> 
> >> At last some success!!
> >> I can download a file using hyperterm.
> >> I cannot do this in minicom, I think it may have to do with flow control.
> >> How do I set flow control in the Linux environment?
> > 
> > Using minicom:
> > 
> > ^A-o
> >   Serial port setup
> >     ...
> > 
> > 
> > Or prepare
> > 
> > cat >~/.minicom.redboot <<EOF
> > pu port             /dev/ttyS0
> > pu baudrate         38400
> > pu bits             8
> > pu parity           N
> > pu stopbits         1
> > pu rtscts           No
> > EOF
> > 
> > and then run minicom as 'minicom -o redboot'
> > 
> > To check the settings
> > 
> > $ stty -a -F /dev/ttyS0	;# man stty, man minicom.
> > 
> > Sergei
> > 
> >> Graham
> >> 
> >> Sergei Gavrikov-4 wrote:
> >> > 
> >> > grahamlab wrote:
> >> >> 
> >> >> I follow Sergei's instructions and get the minicom upload screen - but
> >> >> then
> >> >> nothing happens.
> >> >> When I try from Hyperterm it says "no response from remote system"
> >> >> 
> >> >> Graham
> >> > 
> >> > I just wonder, Do you enter `load' command in RedBoot before to start
> >> > the upload?
> >> > 
> >> > Redboot> load -r -b %{freememlo} -m ymodem
> >> > C
> >> > 
> >> > At once, as you hit <Enter> you have to see 'C' letter and then you
> >> must
> >> > start upload ('send file' in HT). Again, what's about flow control?
> >> > Valid settings are 38400,n,8,1 (no software/hardware flow control).
> >> > 
> >> > 
> >> > Sergei
> >> > 
> >> > -- 
> >> > Before posting, please read the FAQ:
> >> http://ecos.sourceware.org/fom/ecos
> >> > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> >> > 
> >> > 
> >> > 
> >> 
> >> -- 
> >> View this message in context:
> >> http://www.nabble.com/running-test-cases-tp22873616p22904693.html
> >> Sent from the Sourceware - ecos-discuss mailing list archive at
> >> Nabble.com.
> >> 
> >> 
> >> -- 
> >> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> >> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> > 
> > -- 
> > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> > 
> > 
> > 
> 
> -- 
> View this message in context: http://www.nabble.com/running-test-cases-tp22873616p22904967.html
> Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.
> 
> 
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]