This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: building problem with redboot
- From: Jing Luo <Jing at vicom dot com>
- To: 'Jesper Skov' <jskov at redhat dot com>
- Cc: eCos Discuss <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 15 Mar 2002 09:15:56 -0800
- Subject: RE: [ECOS] building problem with redboot
Hi,
Thanks so much for your suggestion.
For problem 2, I tried YMODEM, loading program is working now. Is it bug in
XMODEM in redboot?
>
> [Result] After build with Redboot template, downloaded to 80200 board,
start
> GDB, try to connect, it spends about 10 senconds and showed up
successfully
> connected, but when I try to download files to the board, it said no
> connection to target.
> Try to connect from console:
> (gdb) set remotebaud 57600
> (gdb) target remote com2
> Couldn't establish connection to remote target
> Malformed response to offset query, timeout
Well, one idea would be to reduce the baud rate to 38400 or lower if you
have serial problems, which it appears you do.
> > 2. Thanks for your guys' help, I ported redboot to 80200. It can be
booted
> > into redboot now. :-)
> > But When I load -m xMODEM, it takes about 10 seconds to get 'C' prompt.
I
> > can't figure out why it takes such a long time. The source code only
takes
> > about 500000us. Why?
>
> Your HAL_DELAY_US macro/function does not work correctly, it would
> appear. That's where you should look.
> [Result] I changed HAL_DELAY_US, the clock cycle showed up right. But I
> can't download 282 Bytes file via Redboot with timeout.
> But before the change, the clock cycle is wrong, but downloading
succeeded.
Maybe because you are too long about starting the download. X-modem is
timing sensitive. Try Y-modem instead.
Jesper
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss