Forum Discussion

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

It spend too much time to run

HI,sometimes i found such problems.After i have build the project,it still take more than 3 minutes before it start runing as NIOS ii hardware.However sometime it is so quickly(less than 30 seconds)

Is there some setting wrong? It seems it compile the whole project even if i didn't modify the design.Thank you!

5 Replies

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

    hi,

    "Run as hardware" compiles or recompiles if needed (if changes have occurred since last build ;-) ) ,

    and looks for a JTAG cable (USB cable, ....)

    and verify if NIOS II processor exists

    and verify sysID if exists,

    and download NIOS program to the board
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    What type of project are you running?

    Probably you have a driver waiting for some device to initialize.

    For example if your are running a networking project, possibly with dhcp, the stack will stop until a timeout expires if the network cable is not connected.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    What type of project are you running?

    Probably you have a driver waiting for some device to initialize.

    For example if your are running a networking project, possibly with dhcp, the stack will stop until a timeout expires if the network cable is not connected.

    --- Quote End ---

    I'm running a local simple project.

    Even when i programing the code into chip after builded,it still start to compile.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Probably you have a corrupted makefile that forces full recompilation because of a wrong file reference. The file is unrelated to the project, but if it gets modified, it triggers the "rebuild all" process.

    Look if you find something in the project build options.

    You can try to re-create the project from scratch and test if you still have the same problem.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It seems you have date issue,check the date of your project and match it with your system date.Sometimes when we click "run as hardware",because of this date mismatches,it again builds and then execute all the time.

    So you compile again in quartus by generating SOPC also and then again RUN in nios II.