Forum Discussion
17 Replies
- Altera_Forum
Honored Contributor
That document is for Altera development kits. The DE2 is specific to the University program and you should look for documentation there (and on Terasic's website)...first.
Cheers, - Ura - Altera_Forum
Honored Contributor
The terasic site points me to the Altera site. Can you send me the exact link you are talking about
- Altera_Forum
Honored Contributor
Ummm... Look at the breakdown of the DE2 CD (which you should probably download if you haven't already) on this (http://www.altera.com/education/univ/materials/boards/unv-de2-board.html) page.
Plus, there's a _lot_ of stuff already on Terasic's DE2 page...right? Keep in mind that I don't know _exactly_ what you're looking for so I'm not sure which of these links will satisfy you. Cheers, - Ura - Altera_Forum
Honored Contributor
First, try running a demonstration in de-2 CD (http://www.terasic.com/downloads/cd-rom/de2/de2_system_v1.6.zip).
After, build a simple Nios-II based system in SOPC Builder using on-chip memory. - Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
If your program is downloaded without error from Nios -II IDE, check your pin assignments. Doe's a simple "printf" work?.
- Altera_Forum
Honored Contributor
1.the c program i am using is very simple pasted below. I am using Altera monitor program:
# define Switches (volatile char *) 0x0001800# define LEDs (char *) 0x0001810 int main() { while (1) { *LEDs = *Switches; } return(1); } 2. About the pin assignments i imported the assignments (the .csv file which comes with the cd) 3. I am a student at Boston university and downloaded the web edition of Quartus(9.0) which means it is not a licensed version) - Altera_Forum
Honored Contributor
Check your base addresses, use the ones included in "system.h" for the leds and switches PIOS.
- Altera_Forum
Honored Contributor
Thanks....that worked...
- Altera_Forum
Honored Contributor
Oh, When you download the microprocessor to the DE2 board from Quartus II 9.0 web-version, a screen appears that says OpenCore Plus Status. It has a cancel button in the middle of it, DO NOT click CANCEL. This is Altera's way of controlling the licensing of their product. Your computer dials into Altera and as long as that screen is open, the DE2 board will work with the IP cores you are using. I'm having a bit of a time myself with the same problem when I work thru some of the example problems found in the nios2eds folder. They have you downloading *.sop files and sure enough the OpenCore Plus Status window doesn't open and I can't get the Nios examples to run...doing a workaround on this problem right now.