* How to deal with data cache in flash routines?
@ 2008-12-02 22:25 Grant Edwards
2008-12-02 22:35 ` Grant Edwards
0 siblings, 1 reply; 2+ messages in thread
From: Grant Edwards @ 2008-12-02 22:25 UTC (permalink / raw)
To: ecos-patches
I'm using the standard strata flash driver on an Altera NIOS2
platform, and everything worked fine until I enabled the data
cache in my processor configuration. Now none of the flash
routines work.
HAL_DCACHE_DISABLE() does nothing since there's no way to
disable the cache in the NIOS2 processor. However, the cache
can be bypassed by setting bit 31 in the address used to access
the memory.
After browsing through the sources, it looks line one tells the
flash routines to do that by defining FLASH_P2V()? If so, do I
do that in my strata.inl file for the target?
--
Grant Edwards grante Yow! How many retured
at bricklayers from FLORIDA
visi.com are out purchasing PENCIL
SHARPENERS right NOW??
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to deal with data cache in flash routines?
2008-12-02 22:25 How to deal with data cache in flash routines? Grant Edwards
@ 2008-12-02 22:35 ` Grant Edwards
0 siblings, 0 replies; 2+ messages in thread
From: Grant Edwards @ 2008-12-02 22:35 UTC (permalink / raw)
To: ecos-patches
On 2008-12-02, Grant Edwards <grante@visi.com> wrote:
>[...]
Sorry, wrong list. I've resent it...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-02 22:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-02 22:25 How to deal with data cache in flash routines? Grant Edwards
2008-12-02 22:35 ` Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).