Forum Discussion
Altera_Forum
Honored Contributor
14 years agoRead/write on Gpio real-time from uClinux?
I used pointer to access GPIOs : #define LEDs(unsigned int *)(base_addr) # define SWs (volatile unsigned int *)(base_addr) I want to use gpio for controlling my device ip. With a same code ...
Altera_Forum
Honored Contributor
14 years agoHow are you getting the value for 'base_address' in your linux version?
It will need to bypass the data cache. You also need to be doing it from within a linux device driver.