Forum Discussion
Altera_Forum
Honored Contributor
12 years agoThanks.
--- Quote Start --- These peripherals are connected to the Nios2 CPU via a "clock bridge". So the correct physical addresses are
pio_green_led: BASE = 0x0800_00a0, END = 0x0800_00af
pio_red_led: BASE = 0x0800_00b0, END = 0x0800_00bf
pio_button: BASE = 0x0800_00d0, END = 0x0800_00df
lcd: BASE = 0x0800_00e0, END = 0x0800_00ef
. These peripherals are connected via Altera's PIO IP cores, so you can control those only by reading and writing their registers. But to do so in your Linux system, you need appropriate drivers. --- Quote End --- Can i use "mmap" for getting access to this hardware from userspace? Are there any examples to use Altera's PIO IP cores? --- Quote Start --- Maybe it's your PC side problem. Please check that your PC's phy is set in autonegotiation mode. --- Quote End --- I connected it to the router and it showed that it works in half duplex mode. Ok. I will try to connect it directly to PC.