Forum Discussion

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

What is wrong with my design?

Hello,

I followed the Altera Hardware Example Design on my Microtronix Cyclone DevBoard. I have tested the LowCost Design, and every Software Example Designs(in the Design Support Matrix) can run well. But when I do the Standard Design, when I download the "Hello_LED" example, there display in the IDE console with

"nios2-terminal: Warning: The JTAG cable you are using is not supported for Nios

nios2-terminal: II systems. You may experience intermittent JTAG communication

nios2-terminal: failures with this cable. Please use a USB Blaster revision B

nios2-terminal: cable or another supported cable. Please refer to the file

nios2-terminal: errata.txt included in the Nios II development kit documents

nios2-terminal: directory for more information.

nios2-terminal: connected to hardware target using JTAG UART on cable

nios2-terminal: "ByteBlasterII [LPT1]", device 1, instance 0

nios2-terminal: starting in terminal mode only (Control-C exits)."

It stop here, and nothing happen on the board.

I tried other example(hello_world, ......), the same with above. I do not know what the reason is. Can guys tell me?

Thank you very much.

5 Replies

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

    It's probably best for you to try and debug the system instead of running it.

    It it doesn't get to main then try stopping at alt_main and stepping through the code from there to find out what the problem is.

    The next step depends on whether you can do any debug at all.

    (The warning message is warning you about intermittent failures. ByteBlasterII should work most of the time, but its not guaranteed, hence the warning message).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    "nios2-terminal: Warning: The JTAG cable you are using is not supported for Nios

    nios2-terminal: II systems. You may experience intermittent JTAG communication

    nios2-terminal: failures with this cable. Please use a USB Blaster revision B

    nios2-terminal: cable or another supported cable. Please refer to the file

    nios2-terminal: errata.txt included in the Nios II development kit documents

    nios2-terminal: directory for more information.[/b]

    --- Quote End ---

    We get this error every time, and we are using USB Blaster, so I am not sure that this error message is not a &#39;red herring&#39;. What *Blaster are you using? Also, I agree with LiangYi that it is best to DEBUG the system. It could be that it is working, but messages/lights are flying by so fast they are not visible to the naked eye http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif

    Good luck!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    I tried on my board for standard design for Hello LED Display and it works fine. I think debugging is the

    best solution for this problem as others mentioned.

    thanks

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

    --- Quote Start ---

    originally posted by roujesky@Feb 21 2005, 10:10 AM

    <div class='quotetop'>quote

    --- quote end ---

    --- quote start ---

    "nios2-terminal: warning: the jtag cable you are using is not supported for nios

    nios2-terminal: ii systems. you may experience intermittent jtag communication

    nios2-terminal: failures with this cable. please use a usb blaster revision b

    nios2-terminal: cable or another supported cable. please refer to the file

    nios2-terminal: errata.txt included in the nios ii development kit documents

    nios2-terminal: directory for more information.

    --- Quote End ---

    We get this error every time, and we are using USB Blaster, so I am not sure that this error message is not a &#39;red herring&#39;. [/b]

    --- Quote End ---

    You can still get the error message if you have a Revision A USB Blaster, hence the warning advising you to use revision B.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by rugbybloke+feb 22 2005, 05:26 am--><div class='quotetop'>quote (rugbybloke @ feb 22 2005, 05:26 am)</div>

    --- quote start ---

    <!--quotebegin-roujesky@Feb 21 2005, 10:10 AM

    <div class='quotetop'>quote

    --- quote end ---

    --- quote start ---

    "nios2-terminal: warning: the jtag cable you are using is not supported for nios

    nios2-terminal: ii systems. you may experience intermittent jtag communication

    nios2-terminal: failures with this cable. please use a usb blaster revision b

    nios2-terminal: cable or another supported cable. please refer to the file

    nios2-terminal: errata.txt included in the nios ii development kit documents

    nios2-terminal: directory for more information.

    --- Quote End ---

    We get this error every time, and we are using USB Blaster, so I am not sure that this error message is not a &#39;red herring&#39;. [/b]

    --- Quote End ---

    You can still get the error message if you have a Revision A USB Blaster, hence the warning advising you to use revision B. [/b]

    --- Quote End ---

    Not nescesarily, we use an USB Blaster revision B here, and always get this error/warning. Untill now it hasn&#39;t prevented us from doing anything though.