Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Error message while trying to deploy a simple hello_world application

I have DE2 board. I am trying to follow instructions from the file attached. Also is attached a screenshot of the error. Please let me know what could be the reason

Rohini

17 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    If your program is downloaded without error from Nios -II IDE, check your pin assignments. Doe's a simple "printf" work?.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    as per your suggestions i am following a tutorial in the de2 cd (attached) . everything runs fine until the last step mentioned in the tutorial but my leds dont respond to the switches. what could be the problem?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The terasic site points me to the Altera site. Can you send me the exact link you are talking about

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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