Forum Discussion

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

Nios II do not work anymore ...

Hi,

I made a simple project in Quartus II with a Nios II processor... (with a few I/O)

In the Nios II IDE, I made a simple hello_world_small too...

It was working yesterday (i.e. the I/O worked as I expected with a simple IRQ and the terminal showed me the appropriate message)...

But today, without changing anything, the Nios II processor don't work anymore !

I program the FPGA with the same Quartus II project and I load the same Nios II IDE project !

My IRQ and I/O don't work ! Any message on the console !

Even the reset button has no effect !

Here the only message from the console :

nios2-terminal: connected to hardware target using JTAG UART on cable
nios2-terminal: "USB-Blaster ", device 1, instance 0
nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)

Please, can anyone help me ?

Thanks.

5 Replies

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

    Here is the first console output

    Using cable "USB-Blaster ", device 1, instance 0x00
    Pausing target processor: not responding.
    Resetting and trying again: OK
    Initializing CPU cache (if present)
    OK
    Downloading 00002000 ( 0%)
    Downloaded 3KB in 0.0s        
    Verifying 00002000 ( 0%)
    Verified OK                         
    Leaving target processor paused
    

    I don't understand why the first pausing target processor is not responding...

    Would it be the problem ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    your processor is fine i believe. the error message says after resetting processor has become ok.it will respond only when the interrupt comes, are u sure it is coming

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

    Hi,

    --- Quote Start ---

    it will respond only when the interrupt comes, are u sure it is coming

    --- Quote End ---

    Which interrupt do you mean ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Try this (on the console)

    $ cd <your_project_path>/software/<your_nios_project>

    $ nios2-download <executable_elf> -g

    $ nios2-terminal

    greetings