> When you copy the program from flash to SDRAM, is cache
on or off? If
> it's on, then my guess is that your program is copied
to cache instead
> of SDRAM, so now the cache and SDRAM is incoherent.
>
> Try copying to SDRAM with the cache off, and then in
your program that
> is loaded into SDRAM enable cache there.
I copy the program with the cache turned off. I then
invalidate the cache
before enabling it.
I'm currently reviewing the init of the sdram and sdram
controller but
this was auto generated by the ColdfireInit program so I'm
hoping that's
right.
____________________________________________________________
____________
DISCLAIMER:
Information contained in this email or any attachment may be
of a
confidential nature which should not be disclosed to, copied
or used by
anyone other than the addressee. It may also be legally
privileged.
If you receive this email in error, please delete the email
from your computer and notify the sender immediately by
return E-mail.
Security Warning: Please note that this email has been
created in the knowledge that Internet email is not a 100%
secure communications medium.
Virus Warning:
This email has been scanned for all viruses by MessageLabs.
Although this email and any attachment are believed to be
free from viruses, it is the responsibility of the recipient
to ensure that
they are virus free. No responsibility is accepted by
Bell-Fruit Games Ltd
for any loss or damage arising in any way from their
receipt, opening or
use.
------------------------------------------------------------
--------
To Subscribe send a message to: ColdFire-On Lists.Wildrice.com
To Unsubscribe send a message to: ColdFire-Off Lists.Wildrice.com
For further information, visit: <http://www.Wild
Rice.com/ColdFire/>
|