Skip to contentSkip to conversation

Remote Kermit Not Responding

U-Boot-Users Rodel Miguel 2 participants 5 messages Nov 19, 2004 – Nov 22, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I need help on downloading binary image from host to the board where I am porting U-Boot. My host is Windoze XP and I downloaded the freeware version of kermit terminal emulation tool. I can now execute some commands successfully, e.g. go, printenv, help, etc. However, when I try to download a binary image using kermit's send, and typing loadb to the serial console, the message "Remote Kermit Not Responding" is logged on the terminal. When I type ^C, the message states that I have downloaded 0 bytes. What could be causing this problem? What U-Boot configuration might I have missed out? What part of the U-boot code should I be looking at if my configuration is correct?

Thank you very much and best regards,

Rodel Miguel

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

some commands successfully, e.g. go, printenv, help, etc. However, when I try to download a binary image using kermit's send, and typing loadb to the serial console, the message "Remote Kermit Not

This sounds as if you were trying to do it in the wrong order. You are aware that you FIRST start "loadb", then disconnent, and only then type "send /bin ...filename..." at the kermit pro,mpt?

Quoted 3 lines

Responding" is logged on the terminal. When I type ^C, the message states that I have downloaded 0 bytes. What could be causing this problem? What U-Boot configuration might I have missed out? What

This is most likely a usage error. See the manual for instructions how to configure Kermit.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The explanation requiring the fewest assumptions is the  most  likely
to be correct.                                    -- William of Occam
#2 lore raw

Hi,

I am using windoze kermit. So, I would type loadb first. Then, click on kermit->send.
Am I doing something wrong here? Are there options needed by u-boot to successfully communicate/download files with kermit, i.e. protocol?

Thanks,
Rodel

P.S. Doesnt the fact that I could type commands successfully means my UART is working and downloading binaries on the same UART port using loadb would be just as easy as clicking the send option in kermit?

Quoted 26 lines · Wolfgang Denk
Quoted 3 lines · In message <[email protected]> you wrote:

some commands successfully, e.g. go, printenv, help, etc. However, when I try to download a binary image using kermit's send, and typing loadb to the serial console, the message "Remote Kermit Not

This sounds as if you were trying to do it in the wrong order. You are aware that you FIRST start "loadb", then disconnent, and only then type "send /bin ...filename..." at the kermit pro,mpt?

Quoted 3 lines

Responding" is logged on the terminal. When I type ^C, the message states that I have downloaded 0 bytes. What could be causing this problem? What U-Boot configuration might I have missed out? What

This is most likely a usage error. See the manual for instructions how to configure Kermit.

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 The explanation requiring the fewest assumptions is the most likely
to be correct. -- William of Occam

#3 lore raw
Quoted 5 lines · In message <[email protected]> you wrote:

I am using windoze kermit. So, I would type loadb first. Then, click on kermit->send.
Am I doing something wrong here? Are there options needed by u-boot to successfully communicate/download files with kermit, i.e. protocol?

Did you read what I replied to you first question? I don't like repeating myself.

Quoted 3 lines
Quoted 3 lines

This sounds as if you were trying to do it in the wrong order. You are aware that you FIRST start "loadb", then disconnent, and only then type "send /bin ...filename..." at the kermit pro,mpt?

In other words: are you sure you're using kermit BINARY protocol for sending?

Quoted 2 lines
Quoted 2 lines

This is most likely a usage error. See the manual for instructions how to configure Kermit.

Did you read the manual about the necessary / recommended
configuration settings?

[Maybe you want to dump windoze kermit for a moment (who knows what that might actually be doing) and use the real kermit under Linux; once you got this running you can try and go back to windoze fight the problems of this hostile environment.]

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"...this does not mean that some of us should not want, in  a  rather
dispassionate sort of way, to put a bullet through csh's head."
                   - Larry Wall in <[email protected]>
#4 lore raw

Hi Wolfgang,

Thanks for your time. I followed the manual line by line. :) but I didnt get through the loadb command. I am using the kermit of Suse 9.1. Did some changes on the .kermrc to support my board whose max uart baudrate is 19200. I used the ff:

set line /dev/ttyS0
set speed 19200
set carrier-watch off
set handshake none
set flow-control none
robust
set file type bin
set file name lit
set rec pack 1000 (also tried lower values for rec and send without success, 167)
set send pack 1000
set window 5

Now I am sure I'm using kermit protocol for downloading binary files. When I type loadb and disconnected on the serial console (Ctrl-\C), then typed "send /bin /..." I get the following errors... :

************************************
SEND-class command failed.
Packets sent: 2
Retransmissions: 101
Timeouts: 0
Damaged packets: 0
Fatal Kermit Protocol Error: Too many retries.

HINTS...
...
...

Are there special "kermit" settings for U-Boot/loadb (except for enabling the command: CONFIG_CMD_DFL)?

Thank you very much.

Best Regards,

Rodel

Quoted 39 lines · Wolfgang Denk
Quoted 5 lines · In message <[email protected]> you wrote:

I am using windoze kermit. So, I would type loadb first. Then, click on kermit->send.
Am I doing something wrong here? Are there options needed by u-boot to successfully communicate/download files with kermit, i.e. protocol?

Did you read what I replied to you first question? I don't like repeating myself.

Quoted 3 lines
Quoted 3 lines

This sounds as if you were trying to do it in the wrong order. You are aware that you FIRST start "loadb", then disconnent, and only then type "send /bin ...filename..." at the kermit pro,mpt?

In other words: are you sure you're using kermit BINARY protocol for sending?

Quoted 2 lines
Quoted 2 lines

This is most likely a usage error. See the manual for instructions how to configure Kermit.

Did you read the manual about the necessary / recommended
configuration settings?

[Maybe you want to dump windoze kermit for a moment (who knows what that might actually be doing) and use the real kermit under Linux; once you got this running you can try and go back to windoze fight the problems of this hostile environment.]

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 "...this does not mean that some of us should not want, in a rather dispassionate sort of way, to put a bullet through csh's head."
- Larry Wall in <[email protected]>