This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: running test cases
On Mon, Apr 06, 2009 at 12:06:35PM +0300, Sergei Gavrikov 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.
>
If you'll get a success with the upload using minicom... Then try
$ stty -crtscts -F /dev/ttyS0
$ arm-eabi-gdb -q -nx <...>/test
But, I belived that GDB sets up a serial port properly.
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