public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] uart utility
@ 2007-12-05  5:29 Syed Ismail
  2007-12-05  8:07 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Syed Ismail @ 2007-12-05  5:29 UTC (permalink / raw)
  To: ecos-discuss


Hi
   I have redboot running on mx31 ads. I have been transfering images through a windriver debug tool. Can i transfer data from host to target in redboot through UART,using xmodem protocol? How do i establish such a connection (any host setup? i have a linux host)and what is the redboot command to do that.
          I tried load -m xmodem -b 0x100000 /transfer/zImage. I get the following..
        Cxyzmodem -CRC mode, 0(SOH)/0(STX)/0(CAN) packets, 0 retries

What is wrong here. Help

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] uart utility
  2007-12-05  5:29 [ECOS] uart utility Syed Ismail
@ 2007-12-05  8:07 ` Gary Thomas
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2007-12-05  8:07 UTC (permalink / raw)
  To: Syed Ismail; +Cc: ecos-discuss

Syed Ismail wrote:
> Hi
>    I have redboot running on mx31 ads. I have been transfering images through a windriver debug tool. Can i transfer data from host to target in redboot through UART,using xmodem protocol? How do i establish such a connection (any host setup? i have a linux host)and what is the redboot command to do that.
>           I tried load -m xmodem -b 0x100000 /transfer/zImage. I get the following..
>         Cxyzmodem -CRC mode, 0(SOH)/0(STX)/0(CAN) packets, 0 retries
> 
> What is wrong here. Help
> 

With X-Modem (all RedBoot really supports), you have to start the
other end manually, including specifying the file to send, etc.

The full Z-Modem protocol allows for the file name to be pushed to
(requested from) the host system.  At this time, however, Z-Modem
isn't supported.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [ECOS] uart utility
@ 2007-12-07 11:35 Jesús
  0 siblings, 0 replies; 3+ messages in thread
From: Jesús @ 2007-12-07 11:35 UTC (permalink / raw)
  To: 'Syed Ismail'; +Cc: ecos-discuss

Hi,

I am working on the same platform, mx31ads. If you want to transfer data
from host to target via UART, using xmodem protocol, you can try this:

If you are using, for example, Minicom on your host, you must first write:
load -r -b %{FREEMEMLO} -m xmodem zImage
on your Redboot prompt inside Minicom. After doing this, the mx31ads waits
for an incoming file. Then, you tell Minicom to send a file by doing Ctrl+A,
S. A window pops-up where you choose the protocol to use in the transfer
(xmodem), and also you can browse and choose the file to be sent.

Also you can have a look at
http://ecos.sourceware.org/docs-latest/redboot/download-command.html, where
load command parameters are detailed.

Hope this can help.





Gary Thomas wrote:
> 
> Syed Ismail wrote:
> > Hi
> >    I have redboot running on mx31 ads. I have been transfering images
through a windriver debug tool. Can i transfer data from host to target in
redboot through UART,using xmodem protocol? How do i establish such a
connection (any host setup? i have a linux host)and what is the redboot
command to do that.
> >           I tried load -m xmodem -b 0x100000 /transfer/zImage. I get the
following..
> >         Cxyzmodem -CRC mode, 0(SOH)/0(STX)/0(CAN) packets, 0 retries
> > 
> > What is wrong here. Help
> > 

> With X-Modem (all RedBoot really supports), you have to start the other
end manually, including specifying the file to send, etc.

> The full Z-Modem protocol allows for the file name to be pushed to
(requested from) the host system.  At this time, however, Z-Modem isn't
supported.


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-07 11:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-05  5:29 [ECOS] uart utility Syed Ismail
2007-12-05  8:07 ` Gary Thomas
2007-12-07 11:35 Jesús

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).