Forum Discussion

Manprocoder's avatar
Manprocoder
Icon for New Contributor rankNew Contributor
1 year ago

NIOS II ECLIPSE

Hi experts of community,

I am using Quartus Prime Lite18.1 and i have a program like in image below
My issue: The 35th line in my code causes my program to be stucked (i mean, all of further code lines are not implemented).
Help me. Thanks a million.

8 Replies

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    It seems like the code stopped at line34 where you are writing to the address of CRC_WRAPPER_0_BASE.

    What is this address that you are writing to? Is it an IP that you are interfacing with?

    What is expected when you are writing to this address?


    Regards

    Jingyang,Teh


    • Manprocoder's avatar
      Manprocoder
      Icon for New Contributor rankNew Contributor

      Hi,

      CRC_WRAPPER_0_BASE is a base address of IP whose name Serial CRC Calculator, and I certainly confirm that the 34th line is successfully done (i have seen waveform, data is successfully written down to my design). But as program are progressing until 35th line, it is stuck here (all further code lines are not implemented).
      Thanks.

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    How about the line 36?

    Could you try removing line 35, as it is just a prinout for logs.

    See if line 36 is running with line 35 is commented.


    Regards

    Jingyang, Teh


    • Manprocoder's avatar
      Manprocoder
      Icon for New Contributor rankNew Contributor

      Hi,
      Removing or commenting the 35th line is valid, my program is no longer in stuck.
      Could you shed light on it? Many thanks.


      Regards,
      ManProCoder

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


    Regards

    Jingyang, Teh


  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    I am not too sure on the this.

    This is quite weird, line 35 is just a normal printout.

    Possible that the data is being accessed by the IP and also the printf function. This is my assumption only.

    If it is working then should be fine.


    Regards

    Jingyang, Teh


  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


    Regards

    Jingyang, Teh