[lowrisc-dev] Uncachable data

Wei Song ws327 at cam.ac.uk
Mon Jul 25 22:37:24 BST 2016


As far as I can tell, No.
This was the reason to use the remap method in untether-v0.2.
It is still impossible to do in debug-v0.3.
It might be possible though some hardware hack that allows direct write 
through the IO side, but then L1/2 cache is endangered to have dirty 
data out-of-sync.

-Wei

On 25/07/16 22:26, Francesco Viggiano wrote:
> Hello guys,
>
> I need to write some data directly to main memory, without the risk that
> some parts remain into caches. Is there a way to invalidate caches with an
> ASM instruction? Or to set a space as uncacheable? Unfortunately, I cannot
> map ddr into I/O space as you do for copying bbl from sdcard to main memory.
>
> Thank you so much,
>
> Francesco




More information about the lowrisc-dev mailing list