RE: [U-Boot-Users] Loads function and flow control.

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 ;...,...@....... 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 ................

In message D96E2AFA0DF3D211B139009027454948034CBD9A@helios.gnv.tcc.thomson-csf.com you wrote:
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.
Best regards,
Wolfgang Denk
participants (2)
-
Christophe.LINDHEIMER@fr.thalesgroup.com
-
Wolfgang Denk