public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] u-boot hanging
@ 2006-11-17  8:16 Ram
  2006-11-17 12:00 ` [U-Boot-Users] 16BIT SPANSION Flash writing problem with CFI Driver Sam Song
  2006-11-17 21:12 ` [U-Boot-Users] u-boot hanging Wolfgang Denk
  0 siblings, 2 replies; 16+ messages in thread
From: Ram @ 2006-11-17  8:16 UTC (permalink / raw)
  To: u-boot

Hi,
 I had posted a query regarding hanging of u-boot when a return is made from
a standalone application.

 Does this have anything to do with the size of the standalone application?.
Should i specify that somewhere?.

 Is there a maximum size of an App.


 hello_world example works fine for me. However when i do the return from my
custom standalone application, u-boot hangs.

 This behaviour happens 7 out of 10 times. (Sometimes, it works well, most
times it doesnt).

 Do we need to do something "Special" before returning back?.

 Please do advice.

 All im doing is

  while (!tstc())
                ;
  ch = getc ( );
  printf ("Returning\n") ;

  return (0) ;



Regards,
 sriram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20061117/1bbf1aeb/attachment.htm 

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [U-Boot-Users] 16BIT SPANSION Flash writing problem with CFI Driver
@ 2006-11-20 11:10 Bastos Fernandez Alexandre
  2006-11-20 10:55 ` Sam Song
  0 siblings, 1 reply; 16+ messages in thread
From: Bastos Fernandez Alexandre @ 2006-11-20 11:10 UTC (permalink / raw)
  To: u-boot

Hi,

>> I didn't enable buffer writes. Once I defined
>> CFG_FLASH_USE_BUFFER_WRITE, all save operations
>> would encounter an error. Actually, I noticed
>> it was unaccptable to enable buffer write for
>> AMD flash.
>>
>
>I guess you can implement CFG_FLASH_USE_BUFFER_WRITE for AMD style
>flash. The details is in the datasheet. It should speed up the
>programming anyway.

I use CFG_FLASH_USE_BUFFER_WRITE in my board
with a Spansion S29GL032 Flash in 8BIT mode,
and til now, it works perfectly.

This mode is the only one allowed in 8BIT mode,
so I guess that it is acceptable for Spansion/AMD
flashes

Best regards,

Alexandre

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

end of thread, other threads:[~2006-11-21 13:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-17  8:16 [U-Boot-Users] u-boot hanging Ram
2006-11-17 12:00 ` [U-Boot-Users] 16BIT SPANSION Flash writing problem with CFI Driver Sam Song
2006-11-17 16:40   ` Tolunay Orkun
2006-11-19 11:43     ` Sam Song
2006-11-19 19:27       ` Tolunay Orkun
2006-11-20 10:48         ` Sam Song
2006-11-20 23:39           ` Tolunay Orkun
2006-11-21  0:20             ` Andrew Dyer
2006-11-21  0:47               ` Andrew Dyer
2006-11-21  0:49               ` Tolunay Orkun
2006-11-21 13:25                 ` Sam Song
2006-11-21  0:52               ` Wolfgang Denk
2006-11-17 21:12 ` [U-Boot-Users] u-boot hanging Wolfgang Denk
2006-11-20  6:09   ` Ram
  -- strict thread matches above, loose matches on Subject: below --
2006-11-20 11:10 [U-Boot-Users] 16BIT SPANSION Flash writing problem with CFI Driver Bastos Fernandez Alexandre
2006-11-20 10:55 ` Sam Song

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