* [U-Boot-Users] Problem transferring file using kermit
@ 2005-06-10 9:46 Andy Hawkins
2005-06-10 10:29 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Andy Hawkins @ 2005-06-10 9:46 UTC (permalink / raw)
To: u-boot
Hi,
I am trying to transfer a file to u-boot using kermit under linux.
I am using the following in kermit:
set line /dev/ttyS1
set speed 115200
set carrier-watch off
set handshake none
set flow-control none
robust
set file type bin
set file name lit
set rec pack 1000
set send pack 1000
set window 5
connect
(I type "loadb 40000 CR")
CTRL-\ C
send /bin update_eeprom.bin
At this point, the file transfer screen appears, and all I get is the error
count going up by 2 every 8 seconds or so.
Can anyone offer any assistance? I've checked in the manual, and all it says
is to ensure that kermit is set up as above.
I have previously managed to transfer files using loadb using Hyperterminal,
so I know that the serial port and everything is working correctly.
Can anyone offer any assistance?
Thanks
Andy
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Problem transferring file using kermit
2005-06-10 9:46 [U-Boot-Users] Problem transferring file using kermit Andy Hawkins
@ 2005-06-10 10:29 ` Wolfgang Denk
2005-06-10 10:36 ` Andy Hawkins
2005-06-10 11:15 ` Andy Hawkins
0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Denk @ 2005-06-10 10:29 UTC (permalink / raw)
To: u-boot
In message <002101c56da1$536dbc70$153335bf@cabletime.com> you wrote:
>
> I am trying to transfer a file to u-boot using kermit under linux.
>
> I am using the following in kermit:
...
> Can anyone offer any assistance? I've checked in the manual, and all it says
> is to ensure that kermit is set up as above.
What you do looks all correct to me, and to me it works.
> I have previously managed to transfer files using loadb using Hyperterminal,
> so I know that the serial port and everything is working correctly.
Which board is this? Any change that the serial port needs something
like HW handshake signals or so?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Don't put off for tomorrow what you can do today, because if you
enjoy it today you can do it again tomorrow.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Problem transferring file using kermit
2005-06-10 10:29 ` Wolfgang Denk
@ 2005-06-10 10:36 ` Andy Hawkins
2005-06-10 13:58 ` Wolfgang Denk
2005-06-10 11:15 ` Andy Hawkins
1 sibling, 1 reply; 5+ messages in thread
From: Andy Hawkins @ 2005-06-10 10:36 UTC (permalink / raw)
To: u-boot
Hi,
> What you do looks all correct to me, and to me it works.
Looks right to me :(
> Which board is this? Any change that the serial port needs something
> like HW handshake signals or so?
It's custom hardware. Under hyperterminal I have it configured for 115200,
8N1, no flow control (and this matches what I'm using under kermit).
Annoyingly, it works fine under Hyperterminal. However, we're now trying to
script the automatic installation of software for this board, so we'd rather
(obviously) do this using something scriptable like kermit.
Any other ideas?
Andy
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Problem transferring file using kermit
2005-06-10 10:29 ` Wolfgang Denk
2005-06-10 10:36 ` Andy Hawkins
@ 2005-06-10 11:15 ` Andy Hawkins
1 sibling, 0 replies; 5+ messages in thread
From: Andy Hawkins @ 2005-06-10 11:15 UTC (permalink / raw)
To: u-boot
Hi,
Some additional info:
If we do the following:
1. Run kermit
2. Set up u-boot to receive a file
3. Quit kermit
4. Run kermit again
5. Send the file
The file transfer works.
However, it we omit steps 3 and 4, the file transfer doesn't work.
Any kermit experts who can help with what might be causing this problem?
Perhaps one of our line discipline settings is wrong or something?
Thanks
Andy
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Problem transferring file using kermit
2005-06-10 10:36 ` Andy Hawkins
@ 2005-06-10 13:58 ` Wolfgang Denk
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2005-06-10 13:58 UTC (permalink / raw)
To: u-boot
In message <002601c56da8$4fef3fe0$153335bf@cabletime.com> you wrote:
>
> Annoyingly, it works fine under Hyperterminal. However, we're now trying to
> script the automatic installation of software for this board, so we'd rather
> (obviously) do this using something scriptable like kermit.
Well, can you try some other board to find out if it's the PC /
kermit side or the target which is causing the problems?
> Any other ideas?
For automatic installation I recommend to use expect - it allows far
more things than kermit; btw - why don't you TFTP for download?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If it went on at this rate, in several billion years he'd be rich
beyond his wildest dreams! - Terry Pratchett, _Soul Music_
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-06-10 13:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-10 9:46 [U-Boot-Users] Problem transferring file using kermit Andy Hawkins
2005-06-10 10:29 ` Wolfgang Denk
2005-06-10 10:36 ` Andy Hawkins
2005-06-10 13:58 ` Wolfgang Denk
2005-06-10 11:15 ` Andy Hawkins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox