[U-Boot] common/xyzmodem.c, ymodem, slow behavior receiving bytes

Wolfgang Denk wd at denx.de
Sat Nov 24 00:04:17 CET 2012


Dear Angelo,

In message <20121123225721.GA28751 at angel3> you wrote:
> 
> i have found out that this issue was also and probably mainly caused 
> from the issue fixed in my last patch posted:
> 
> http://patchwork.ozlabs.org/patch/201421/
> 
> All serial driver routines (for mcfuart.c in my case) was executed
> from the flash memory, even after monitor relocation to ram.
> 
> Considering flash memory access time (10 wait states set in my case), 
> this was causing code execution speed to be dramatically slow, near the 
> limit for receiving at 115200 uart speed.
> 
> Enabling cache for the sdram fasted up a bit the operations and solved 
> the issue, but main problem here was certainly the execution from flash.

Thanks for following up on this!

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I often quote myself; it adds spice to my conversation.  - G. B. Shaw


More information about the U-Boot mailing list