All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Loads function and flow control.
@ 2003-05-26 14:37 Christophe.LINDHEIMER at fr.thalesgroup.com
  2003-05-26 14:43 ` Robert Schwebel
  2003-05-26 14:46 ` [U-Boot-Users] " Wolfgang Denk
  0 siblings, 2 replies; 20+ messages in thread
From: Christophe.LINDHEIMER at fr.thalesgroup.com @ 2003-05-26 14:37 UTC (permalink / raw)
  To: u-boot

Hi.

I am just starting to work with loads function.

Is there any mechanism for software flow control ( XON, XOFF ) ?
I have seen some define for loadb bu nothing for loads...

It seems that loads works fine when I download small files but get lost with
big ones. So I fear a flow control problem.

What is the problem with minicom for loads ? I think that loads just expect
to receive ascii data. Is it wrong to send srec file using ALT S in minicom
( and choosing ascii data ) ?


Chris

^ permalink raw reply	[flat|nested] 20+ messages in thread
* [U-Boot-Users] Loads function and flow control.
@ 2003-05-26 15:48 Christophe.LINDHEIMER at fr.thalesgroup.com
  2003-05-26 16:12 ` Wolfgang Denk
  0 siblings, 1 reply; 20+ messages in thread
From: Christophe.LINDHEIMER at fr.thalesgroup.com @ 2003-05-26 15:48 UTC (permalink / raw)
  To: u-boot

Well, I use a serial line at 9600 Bauds.

I use minicom to send commands to UBoot.

Once the loads is done I make a 
 cat hello_world.srec > /dev/ttyS1
in order not to use minicom to keep Wolfgang in good mood for the whole week
:-))

The first data are corrects but UBoot aborts the download after a few
lines...


=> mw 0x4000 0 200
=> loads
## Ready for S-Record download ...
S013000068656C6C6F5F776F726C642E7372656376
S214040000000181749421FFE07C0802A6BF61000C05
S21404001090010024480000057FC802A6801EFFE861
S2140400207FC0F2147C7B1B78807E80007C9F2378C4
S214040030480000B1807E80047F64DB78480000A519
S2140400403B8000007C1CD8004181003080BF00004B
S2140400503BFF00042C0500004082000880BE800898
S214040060807E800C7F84E378480000793B9C000106
## S-Record download abortedE80104800006534
=> 4204E8000208B
Unknown command '4204E8000208B' - try 'help'
=> 
=> 440000024E800020380000024400000273
Unknown command '440000024E800020380000024400000273' - try 'help'
=> 
=> 420380000055A
Unknown command '420380000055A' - try 'help'
=> 
=> 080002038000007440000024E80002085
Unknown command '080002038000007440000024E80002085' - try 'help'
=> 
=> 000A440000020A
Unknown command '000A440000020A' - try 'help'
=> 
=> 60000008B
Unknown command '60000008B' - try 'help'
=> 
=> 21545B25645D203D20222573220A00000000ED
Unknown command '21545B25645D203D20222573220A00000000ED' - try 'help'
=> 
=> 72E2E2081
Unknown command '72E2E2081' - try 'help'
=> 
=> 4144000501640005015015
Unknown command '4144000501640005015015' - try 'help'
=> 
=> md 0x40000 
00040000: 00018174 9421ffe0 7c0802a6 bf61000c    ...t.!..|....a..
00040010: 90010024 48000005 7fc802a6 801effe8    ...$H...........
00040020: 7fc0f214 7c7b1b78 807e8000 7c9f2378    ....|{.x.~..|.#x
00040030: 480000b1 807e8004 7f64db78 480000a5    H....~...d.xH...
00040040: 3b800000 7c1cd800 41810030 80bf0000    ;...|...A..0....
00040050: 3bff0004 2c050000 40820008 80be8008    ;...,... at .......
00040060: 807e800c 7f84e378 48000079 3b9c0001    .~.....xH..y;...
00040070: 00000000 00000000 00000000 00000000    ................
00040080: 00000000 00000000 00000000 00000000    ................
00040090: 00000000 00000000 00000000 00000000    ................
000400a0: 00000000 00000000 00000000 00000000    ................
000400b0: 00000000 00000000 00000000 00000000    ................
000400c0: 00000000 00000000 00000000 00000000    ................
000400d0: 00000000 00000000 00000000 00000000    ................
000400e0: 00000000 00000000 00000000 00000000    ................
000400f0: 00000000 00000000 00000000 00000000    ................

^ permalink raw reply	[flat|nested] 20+ messages in thread
* [U-Boot-Users] Loads function and flow control.
@ 2003-05-27  7:56 Christophe.LINDHEIMER at fr.thalesgroup.com
  2003-05-27  8:23 ` Wolfgang Denk
  0 siblings, 1 reply; 20+ messages in thread
From: Christophe.LINDHEIMER at fr.thalesgroup.com @ 2003-05-27  7:56 UTC (permalink / raw)
  To: u-boot

> > Well, I use a serial line at 9600 Bauds.
> 
> :-(
> 
> > I use minicom to send commands to UBoot.
> > 
> > Once the loads is done I make a 
> >  cat hello_world.srec > /dev/ttyS1
> > in order not to use minicom to keep Wolfgang in good mood 
> for the whole week
> > :-))
> 
> Have you ever seen me in bad mood? This is a  _very_  uncommon  state
> for me.
> 
> > The first data are corrects but UBoot aborts the download 
> after a few
> > lines...
> 
> If you _must_ use s-records, use "cu".
> 
> Better avoid s-reocrds and use kermit binary protocol ("loadb").
> 
> Even better avoid serial downloads completely and use TFTP.
> 

Well, it should be with a lot of pleasure but hardware people have
"forgotten" ethernet link on my board :((


Chris

^ permalink raw reply	[flat|nested] 20+ messages in thread
* [U-Boot-Users] Loads function and flow control.
@ 2003-05-27  9:49 Christophe.LINDHEIMER at fr.thalesgroup.com
  2003-05-27  9:50 ` Wolfgang Denk
  0 siblings, 1 reply; 20+ messages in thread
From: Christophe.LINDHEIMER at fr.thalesgroup.com @ 2003-05-27  9:49 UTC (permalink / raw)
  To: u-boot

Hi.

I have just installed the great rpm uucp to use cu.

so I make cu -s 9600 -l ttyS1 --nostop.

Unfortunately, it seems that what I type isn't sent to my board !!
It works fine with minicom.
It seems that it is because of the flow control.
In minicom I choose no software and no hardware flow control to make it
work.
How can I do the same with cu ?

My serial cable is only RX TX & GND.

Thanks

Chris

^ permalink raw reply	[flat|nested] 20+ messages in thread
* [U-Boot-Users] Loads function and flow control.
@ 2003-05-27 10:10 Christophe.LINDHEIMER at fr.thalesgroup.com
  2003-05-27 11:09 ` Wolfgang Denk
  0 siblings, 1 reply; 20+ messages in thread
From: Christophe.LINDHEIMER at fr.thalesgroup.com @ 2003-05-27 10:10 UTC (permalink / raw)
  To: u-boot

> 
> All this is documented in detail in http://www.denx.de/re/DPLG.html
> 

Is there an easy way to read this doc when
	- there is only on PC connected on the web for 40 persons in the
company.
	- I can't install any soft on this PC to suck the whole doc.

however I have just printed chapter 3 and it looks fine..

Thanks.

Chris

^ permalink raw reply	[flat|nested] 20+ messages in thread
* [U-Boot-Users] Loads function and flow control.
@ 2003-05-27 13:39 Christophe.LINDHEIMER at fr.thalesgroup.com
  0 siblings, 0 replies; 20+ messages in thread
From: Christophe.LINDHEIMER at fr.thalesgroup.com @ 2003-05-27 13:39 UTC (permalink / raw)
  To: u-boot

Just great !

Thanks.

-----Message d'origine-----
De: Wolfgang Denk [mailto:wd at denx.de]
Date: mardi 27 mai 2003 13:10
?: Christophe.LINDHEIMER at fr.thalesgroup.com
Cc: u-boot-users at lists.sourceforge.net
Objet: Re: [U-Boot-Users] Loads function and flow control. 


In message
<D96E2AFA0DF3D211B139009027454948034CBD9C@helios.gnv.tcc.thomson-csf.com>
you wrote:
>
> > All this is documented in detail in http://www.denx.de/re/DPLG.html
> 
> Is there an easy way to read this doc when
> 	- there is only on PC connected on the web for 40 persons in the
> company.
> 	- I can't install any soft on this PC to suck the whole doc.

You can download it in different formats as a single file:

    * http://www.denx.de/doc/TQM8xxL/dplg.html
      = HTML

    * http://www.denx.de/doc/TQM8xxL/dplg.txt
      = plain ASCII text

    * http://www.denx.de/doc/TQM8xxL/dplg.ps
      = compressed PostScript European A4 format

    * http://www.denx.de/doc/TQM8xxL/dplg.pdf
      = PDF European A4 format

    * http://www.denx.de/doc/TQM8xxL/dplg.sgml
      = SGML source


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Condense soup, not books!

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

end of thread, other threads:[~2003-05-27 13:39 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-26 14:37 [U-Boot-Users] Loads function and flow control Christophe.LINDHEIMER at fr.thalesgroup.com
2003-05-26 14:43 ` Robert Schwebel
2003-05-26 15:12   ` [U-Boot-Users] UUOMA - was: " Wolfgang Denk
2003-05-26 15:54     ` Robert Schwebel
2003-05-26 14:46 ` [U-Boot-Users] " Wolfgang Denk
2003-05-26 15:01   ` Robert Schwebel
2003-05-26 15:34     ` Wolfgang Denk
2003-05-26 15:58   ` Frank Smith
2003-05-26 16:16     ` Wolfgang Denk
2003-05-26 16:37       ` Frank Smith
2003-05-26 17:42         ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2003-05-26 15:48 Christophe.LINDHEIMER at fr.thalesgroup.com
2003-05-26 16:12 ` Wolfgang Denk
2003-05-27  7:56 Christophe.LINDHEIMER at fr.thalesgroup.com
2003-05-27  8:23 ` Wolfgang Denk
2003-05-27  9:49 Christophe.LINDHEIMER at fr.thalesgroup.com
2003-05-27  9:50 ` Wolfgang Denk
2003-05-27 10:10 Christophe.LINDHEIMER at fr.thalesgroup.com
2003-05-27 11:09 ` Wolfgang Denk
2003-05-27 13:39 Christophe.LINDHEIMER at fr.thalesgroup.com

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.