[U-Boot-Users] Loadb issue

Hi All, I am a new member to this mailing list.
I am porting u-boot to a arm926ej board. I have a serial port which I am trying to use to download a binary image. But I am not able to do so. I am trying to use loadb and loads and both seems to be failing.
Here is a typical sequence i followed 1) Boot-up the board 2) Connected to Hyperterminal (tried minicom, cu, kermit and dnw) with 8N1 and hw-flw control as "none". 3) at u-boot command prompt gave following command => loadb 0x60008000 115200 4) From hyperterminal, Transfer->send file with protocol as kermit, selected the file and tried sending, but failed. Everytime hyperterminal poped up "error limit exceeded".
# loadb ## Ready for binary (kermit) download to 0x60008000 at 115200 bps..
When tried looking the point where it is geting stuck, I saw u-boot waiting in the while loop looking for the 'START_CHAR' in the following section of code:
k_recv(){ ..... .... for (;;) { switch (getc ()) { case START_CHAR: /* start packet */ goto START; case ETX_CHAR: /* ^C waiting for packet */ return (0); default: ; } } .... ... }
I am not sure how to use 'loadb' and 'loads'. Read a few docs about uses though, none explained what needs to be done in implementation part.
Can anyone give me some pointer, as in, any board which has implemeted and using any of the commands? What might have gone wrong here??
Or any other commands I can use for serial download of binary image?
Thanks in advance Banajit

Dear Banajit!
Banajit Goswami schrieb:
Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Please do not post messages in HTML format to this list.
- at u-boot command prompt gave following command => loadb 0x60008000 115200
- From hyperterminal, Transfer->send file with protocol as kermit,
selected the file and tried sending, but failed. Everytime hyperterminal poped up "error limit exceeded".
Are you sure that you are using the same baudrate for terminal mode and kermit mode? Do the RS232 level converters have their own supply or do they get it from the modem control lines? Although you selected no handshake this doesn't neccessarily mean that the control lines don't get toggled.
With best regards Andreas Schweigstill

Hi Banjit, How much memory (RAM) you have? Also check the PINSEL and BCFG configurations along with the baud rate setting in u-boot code. Those commands are working fine for my hardware which is arm7TDMI board.
Thanks and Regards, Kaushik
Banajit Goswami banajit.goswami@gmail.com wrote: Hi All, I am a new member to this mailing list.
I am porting u-boot to a arm926ej board. I have a serial port which I am trying to use to download a binary image. But I am not able to do so. I am trying to use loadb and loads and both seems to be failing.
Here is a typical sequence i followed 1) Boot-up the board 2) Connected to Hyperterminal (tried minicom, cu, kermit and dnw) with 8N1 and hw-flw control as "none". 3) at u-boot command prompt gave following command => loadb 0x60008000 115200 4) From hyperterminal, Transfer->send file with protocol as kermit, selected the file and tried sending, but failed. Everytime hyperterminal poped up "error limit exceeded".
# loadb ## Ready for binary (kermit) download to 0x60008000 at 115200 bps..
When tried looking the point where it is geting stuck, I saw u-boot waiting in the while loop looking for the 'START_CHAR' in the following section of code:
k_recv(){ ..... .... for (;;) { switch (getc ()) { case START_CHAR: /* start packet */ goto START; case ETX_CHAR: /* ^C waiting for packet */ return (0); default: ; } } .... ... }
I am not sure how to use 'loadb' and 'loads'. Read a few docs about uses though, none explained what needs to be done in implementation part.
Can anyone give me some pointer, as in, any board which has implemeted and using any of the commands? What might have gone wrong here??
Or any other commands I can use for serial download of binary image?
Thanks in advance Banajit
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=D... U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
--------------------------------- Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
participants (3)
-
Andreas Schweigstill
-
Banajit Goswami
-
Kaushik karandikar