public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] srec download fail
@ 2004-06-04 13:19 Thomas Brand
  2004-06-04 15:36 ` Stephan Linz
  2004-06-04 15:58 ` Wolfgang Denk
  0 siblings, 2 replies; 10+ messages in thread
From: Thomas Brand @ 2004-06-04 13:19 UTC (permalink / raw)
  To: u-boot

Hi,

I'm trying to download the hello_world srec-sample to my Nios Stratix 
Board with cu. I get the following printout:

   DK1S10 > loads
   ## Ready for S-Record download ...
   ~>hello_world.srec
   1 R R R R R R R R R [timed out looking for echo]
   [connected]


my configuration:

   U-Boot 1.1.2 (May 24 2004 - 15:54:07)

   CPU: Nios-32 Rev. 3.3 (0x3038)
   Reg file size: 512 LO_LIMIT/HI_LIMIT: 1/30
   Board: Altera Nios 1S10 Development Kit
   Conf.: Microtronix LDK 2.0 (LDK2)
   In:    serial
   Out:   serial
   Err:   serial

It does not work with kermit either. The loadb cmd with kermit works fine.

Does anybody has a hint for me?
Thanks in advance.

Thomas Brand

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

* [U-Boot-Users] srec download fail
  2004-06-04 13:19 [U-Boot-Users] srec download fail Thomas Brand
@ 2004-06-04 15:36 ` Stephan Linz
  2004-06-04 16:04   ` Wolfgang Denk
  2004-06-04 15:58 ` Wolfgang Denk
  1 sibling, 1 reply; 10+ messages in thread
From: Stephan Linz @ 2004-06-04 15:36 UTC (permalink / raw)
  To: u-boot

Hi all NIOS developers/users,

this is the second error report related to download problems by using the 
serial line. AFAICR I had have trouble too some times ago; just I expact any 
serious error in the Nios port. Sadly, I'm really busy with other projects so 
I can't explore the reason for this problem in the next time. Is there 
anybody who can do this job?


Best regards,
Stephan

Am Freitag,  4. Juni 2004 15:19 schrieb Thomas Brand:
> Hi,
>
> I'm trying to download the hello_world srec-sample to my Nios Stratix
> Board with cu. I get the following printout:
>
>    DK1S10 > loads
>    ## Ready for S-Record download ...
>    ~>hello_world.srec
>    1 R R R R R R R R R [timed out looking for echo]
>    [connected]
>
>
> my configuration:
>
>    U-Boot 1.1.2 (May 24 2004 - 15:54:07)
>
>    CPU: Nios-32 Rev. 3.3 (0x3038)
>    Reg file size: 512 LO_LIMIT/HI_LIMIT: 1/30
>    Board: Altera Nios 1S10 Development Kit
>    Conf.: Microtronix LDK 2.0 (LDK2)
>    In:    serial
>    Out:   serial
>    Err:   serial
>
> It does not work with kermit either. The loadb cmd with kermit works fine.
>
> Does anybody has a hint for me?
> Thanks in advance.
>
> Thomas Brand
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the new InstallShield X.
> From Windows to Linux, servers to mobile, InstallShield X is the one
> installation-authoring solution that does it all. Learn more and
> evaluate today! http://www.installshield.com/Dev2Dev/0504
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users

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

* [U-Boot-Users] srec download fail
  2004-06-04 13:19 [U-Boot-Users] srec download fail Thomas Brand
  2004-06-04 15:36 ` Stephan Linz
@ 2004-06-04 15:58 ` Wolfgang Denk
  2004-06-07 11:42   ` Thomas Brand
  1 sibling, 1 reply; 10+ messages in thread
From: Wolfgang Denk @ 2004-06-04 15:58 UTC (permalink / raw)
  To: u-boot

In message <40C076E4.4040409@imms.de> you wrote:
> 
> I'm trying to download the hello_world srec-sample to my Nios Stratix 
> Board with cu. I get the following printout:

Did you configure "cu" as documented in the DULG?

>    DK1S10 > loads
>    ## Ready for S-Record download ...
>    ~>hello_world.srec
>    1 R R R R R R R R R [timed out looking for echo]
>    [connected]

Is "loads_echo" set to 1 in your environment?

> It does not work with kermit either. The loadb cmd with kermit works fine.

S-Record download with kermit is not supposed to work.


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
       There is enough for the need of everyone in this world,
       but not for the greed of everyone.     - Mahatma Gandhi

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

* [U-Boot-Users] srec download fail
  2004-06-04 15:36 ` Stephan Linz
@ 2004-06-04 16:04   ` Wolfgang Denk
  0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Denk @ 2004-06-04 16:04 UTC (permalink / raw)
  To: u-boot

In message <04060417362608.02269@pcj86> you wrote:
> 
> this is the second error report related to download problems by using the 
> serial line. AFAICR I had have trouble too some times ago; just I expact any 
> serious error in the Nios port. Sadly, I'm really busy with other projects so 
> I can't explore the reason for this problem in the next time. Is there 
> anybody who can do this job?

I don;t think there is anything wrong with the NIOS port, as the O.P.
reports that "loadb" with Kermit  is  working  fine,  which  is  more
stressing on the serial port than "loads".

I think it's a misconfiguration.

Most probably it's just that you missed to set  CONFIG_LOADS_ECHO  in
the board configuration file and/or loads_echo in the environment.


The "timed out looking for echo" message is pretty clear to me  -  if
no  echo  is found, then there probably is no echo because it was not
turned on.

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
Randal said it would be tough to do in sed. He didn't say  he  didn't
understand  sed.  Randal  understands sed quite well. Which is why he
uses Perl. :-)         - Larry Wall in <7874@jpl-devvax.JPL.NASA.GOV>

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

* [U-Boot-Users] srec download fail
  2004-06-04 15:58 ` Wolfgang Denk
@ 2004-06-07 11:42   ` Thomas Brand
  2004-06-07 13:00     ` Wolfgang Denk
  2004-06-07 13:02     ` Thomas Brand
  0 siblings, 2 replies; 10+ messages in thread
From: Thomas Brand @ 2004-06-07 11:42 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk wrote:

> In message <40C076E4.4040409@imms.de> you wrote:
> 
>>I'm trying to download the hello_world srec-sample to my Nios Stratix 
>>Board with cu. I get the following printout:
>>
> 
> Did you configure "cu" as documented in the DULG?


yes

> 
> 
>>   DK1S10 > loads
>>   ## Ready for S-Record download ...
>>   ~>hello_world.srec
>>   1 R R R R R R R R R [timed out looking for echo]
>>   [connected]
>>
> 
> Is "loads_echo" set to 1 in your environment?


yes, I have set CONFIG_LOADS_ECHO in the configuration file. But the "loads_echo" 

does not show up in the environment. So I set it with the setenv command and now 

it's working fine. Maybe I have to check in the source code if the CONFIG_LOADS_ECHO
has any influence to the environment.


> 
>>It does not work with kermit either. The loadb cmd with kermit works fine.
>>
> 
> S-Record download with kermit is not supposed to work.
> 
> 
> Best regards,
> 
> Wolfgang Denk
> 
 
Thanks for your help.

Thomas

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

* [U-Boot-Users] srec download fail
  2004-06-07 11:42   ` Thomas Brand
@ 2004-06-07 13:00     ` Wolfgang Denk
  2004-06-07 13:02     ` Thomas Brand
  1 sibling, 0 replies; 10+ messages in thread
From: Wolfgang Denk @ 2004-06-07 13:00 UTC (permalink / raw)
  To: u-boot

In message <40C4548A.4050903@imms.de> you wrote:
> 
> > Is "loads_echo" set to 1 in your environment?
> 
> yes, I have set CONFIG_LOADS_ECHO in the configuration file. But the "loads_echo" 
> does not show up in the environment. So I set it with the setenv command and now 
> it's working fine. Maybe I have to check in the source code if the CONFIG_LOADS_ECHO
> has any influence to the environment.

It affects only the _default_ environment, i. e. if you don;t have an
embedded environment in flash which gets overwritten when  storing  a
new image, and if there is already a valid environment in place, then
it will not take effect if you change this later.

> Thanks for your help.

I'm glad that I was able to help.

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
panic: can't find /

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

* [U-Boot-Users] srec download fail
  2004-06-07 11:42   ` Thomas Brand
  2004-06-07 13:00     ` Wolfgang Denk
@ 2004-06-07 13:02     ` Thomas Brand
  2004-06-07 14:03       ` Stephan Linz
  1 sibling, 1 reply; 10+ messages in thread
From: Thomas Brand @ 2004-06-07 13:02 UTC (permalink / raw)
  To: u-boot

>> Is "loads_echo" set to 1 in your environment?
> 
> 
> 
> yes, I have set CONFIG_LOADS_ECHO in the configuration file. But the 
> "loads_echo"
> does not show up in the environment. So I set it with the setenv command 
> and now
> it's working fine. Maybe I have to check in the source code if the 
> CONFIG_LOADS_ECHO
> has any influence to the environment.


Now I got it. As long as u-boot finds a valid environment in the flash 
memory it will take that. If I change CONFIG_LOADS_ECHO in the config 
files, it affects only the default environment. After deleting the valid 
environment in the flash memory, the loads_echo variable shows up :-)

regards,
Thomas

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

* [U-Boot-Users] srec download fail
  2004-06-07 13:02     ` Thomas Brand
@ 2004-06-07 14:03       ` Stephan Linz
  2004-06-10 12:29         ` [U-Boot-Users] [PATCH] Nios loads Thomas Brand
  0 siblings, 1 reply; 10+ messages in thread
From: Stephan Linz @ 2004-06-07 14:03 UTC (permalink / raw)
  To: u-boot

Am Montag,  7. Juni 2004 15:02 schrieb Thomas Brand:
> >> Is "loads_echo" set to 1 in your environment?
> >
> > yes, I have set CONFIG_LOADS_ECHO in the configuration file. But the
> > "loads_echo"
> > does not show up in the environment. So I set it with the setenv command
> > and now
> > it's working fine. Maybe I have to check in the source code if the
> > CONFIG_LOADS_ECHO
> > has any influence to the environment.

Hi Thomas,

nice to see it works. Can you post a patch for the DK1S10 configuration that 
includes the corresct setup for loads command (CONFIG_LOADS_ECHO) ?


Thanks,
Stephan

>
> Now I got it. As long as u-boot finds a valid environment in the flash
> memory it will take that. If I change CONFIG_LOADS_ECHO in the config
> files, it affects only the default environment. After deleting the valid
> environment in the flash memory, the loads_echo variable shows up :-)
>

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

* [U-Boot-Users] [PATCH] Nios loads
  2004-06-07 14:03       ` Stephan Linz
@ 2004-06-10 12:29         ` Thomas Brand
  2004-06-10 20:18           ` Wolfgang Denk
  0 siblings, 1 reply; 10+ messages in thread
From: Thomas Brand @ 2004-06-10 12:29 UTC (permalink / raw)
  To: u-boot

Stephan Linz wrote:

> 
> Hi Thomas,
> 
> nice to see it works. Can you post a patch for the DK1S10 configuration that 
> includes the corresct setup for loads command (CONFIG_LOADS_ECHO) ?
> 
> 
> Thanks,
> Stephan


Here is the little patch..

regards,
Thomas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: loads_patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20040610/f8b016e8/attachment.txt 

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

* [U-Boot-Users] [PATCH] Nios loads
  2004-06-10 12:29         ` [U-Boot-Users] [PATCH] Nios loads Thomas Brand
@ 2004-06-10 20:18           ` Wolfgang Denk
  0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Denk @ 2004-06-10 20:18 UTC (permalink / raw)
  To: u-boot

In message <40C8541C.7000807@imms.de> you wrote:
> > 
> > nice to see it works. Can you post a patch for the DK1S10 configuration that 
> > includes the corresct setup for loads command (CONFIG_LOADS_ECHO) ?
...
> Here is the little patch..

Added, thanks.

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
I have a theory that it's impossible to prove anything, but  I  can't
prove it.

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

end of thread, other threads:[~2004-06-10 20:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-04 13:19 [U-Boot-Users] srec download fail Thomas Brand
2004-06-04 15:36 ` Stephan Linz
2004-06-04 16:04   ` Wolfgang Denk
2004-06-04 15:58 ` Wolfgang Denk
2004-06-07 11:42   ` Thomas Brand
2004-06-07 13:00     ` Wolfgang Denk
2004-06-07 13:02     ` Thomas Brand
2004-06-07 14:03       ` Stephan Linz
2004-06-10 12:29         ` [U-Boot-Users] [PATCH] Nios loads Thomas Brand
2004-06-10 20:18           ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox