Forum Discussion

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

Nios 2 peripheral register view

Hi All!

I'm using Nios II eclipse and I'd like to know if it is possible to have a "peripheral register view" similar to other ICs.

Eclipse Version: Kepler Service Release 2

Br,

Alberto

9 Replies

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

    Hi


    There is no register "peripheral view" in NiosII that you are looking for.

    What are the settings that you are looking to set?


    Regards

    Jingyang, Teh


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

      Hi Jingyang, Teh

      Thanks for answering my question.

      I was looking for the registers of some components like PIOs, Timers, etc. to see on live its configuration and in case of the PIOs see the state of the Output when I am debugging my application.

      Best Regards,

      Alberto

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

    Hi Jingyang, Teh

    Thanks for the example.

    I already have added my I/O outputs to PIO soft IP, I just wanted to see such registers information on live on Nios II eclipse.

    Basically, what you are saying is that there is no way to see any defined "component" registers information on live in Nios II eclipse for debugging purposes.

    Is there any way to see this registers information in a structural way?

    Br,

    Alberto

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

    Hi Alberto


    I think you are referring to the register list of the soft ip connected to the Nios2 instead of the Nios2 registers list correct?


    If so , to access the registers list of the connected SoftIP like the PIO soft IP connected in your case.

    You could assess the register list from the base address of the PIO (PIO_0_BASE ) from the address stated in the "system.h" file generated in the BSP folder.


    All the connected SoftIp will address will be listed in the system.h file.


    Regards

    Jingyang, Teh




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

      Hi Jingyang, Teh

      I like to know if there is a way to see the SoftIP like the PIO as shown in the picture attached. Where I can see the registers and its content corresponding to the PIO, etc.

      Br,

      Alberto

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

    Hi


    Any update on this case?

    Did you managed to interface with the connected IP from Nios?


    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