Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Hi, I've connected almost all DE2-115's peripheral devices including KEY[3..0] (KEY[0] is abused for the system reset), SW[17..0], LEDR[17..0], LEDG[8..0] and LCD, etc. except Ethernet 1, SRAM, Video decoder and IDE 40pins GPIO. But drivers are not included, so you can't use them from the linux side now. If you have strong request, I will implement those drivers, but I can't imagine the those usage except for X'mas illuminations:confused:. What is your purpose for? Kazu --- Quote End --- Thanks. It is for study purposes. I opened "DE2_115_NIOS_HOST_MOUSE_VGA.qar" in Qsys and found base addresses:
pio_green_led: BASE = 0x0000_00a0, END = 0x0000_00af
pio_red_led: BASE = 0x0000_00b0, END = 0x0000_00bf
pio_button: BASE = 0x0000_00d0, END = 0x0000_00df
lcd: BASE = 0x0000_00e0, END = 0x0000_00ef
Is it correct addresses? Qsys shows that this harware linked via "Avalon Memory Mapped Slave". Can you give me examples of working with It (for example how to switch on/off leds, use button, e.t.c.)?