Forum Discussion
Altera_Forum
Honored Contributor
20 years agoDevice Driver problem
hello Guys, I am new to Nios and uClinux I have written a simple device driver for a nios custom peripheral After configuring the peripheral ,through the driver, the peripheral write...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by kuni124d+jun 30 2006, 01:44 pm--><div class='quotetop'>quote (kuni124d @ jun 30 2006, 01:44 pm)</div>
--- quote start ---
<!--quotebegin-hippo@Jun 30 2006, 07:02 AM set bit 31 of the memory address , ie | 0x80000000 , to uncache the access in both driver and user app.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16544)
--- quote end ---
--- Quote End --- Thanx , i shall follow your instructions. But , the memory location is in "On- chip" memory , which I beleive is not cached. There could be some other problem <div align='right'><{post_snapback}> (index.php?act=findpost&pid=16553)</div> [/b] --- Quote End --- Why do you mean the onchip memory is not cached? If you have d-cache in nios2, everything is cached unless you turn on bit31 of the address or use IORW macro .