Forum Discussion
1 Reply
- Altera_Forum
Honored Contributor
Hi rawbeer,
> what address should i read in the uclinux kernel ? Use the same address. If you are using a data cache, you should use the readx/writex macros [i.e. - readb()/writeb(), readw()/writew() etc.] to bypass the cache. They are defined in asm/io.h. You might want to look at the following thread as well if you plan on trying to access the device from a user application (rather than a driver): http://forum.niosforum.com/forum/index.php?showtopic=3084 (http://forum.niosforum.com/forum/index.php?showtopic=3084) Regards, --Scott