Forum Discussion

APaga1's avatar
APaga1
Icon for New Contributor rankNew Contributor
5 years ago

How to write data into the SDRAM present as a part of simple socket server that has NIOS processor?

Hello,

I am new to the NIOS SBT. I am trying to customize the NIOS II Simple socket server design template to read the data from the files and write it to the SDRAM. I need help in the addressing the SDRAM. I have created a region in the linker script section of the BSP editor. But I feel that the offset addressing is not happening properly. Should we need to change any reset vector option present in the NIOS CPU IP?

Regards,

Avinash Paga

4 Replies

  • Hi @APaga1,

    Thank you for posting in Intel community forum and hope you are doing well, regards to the question that you have on the memory address in the bsp setting, the reset vector seem correct, and if you are suspecting the address are in correct, you may refer to the steps to modify those address in the bsp setting in the section (5.4.2.2). More details of the linker memory can also be found here.

    Just curious, what are the targeted device that you are working on?

    Warm regards.

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

      Thank you for your reply. I am using Cyclone V GT device. In general, how do I write data into the SDRAM present using NIOS?

      • BoonBengT_Altera's avatar
        BoonBengT_Altera
        Icon for Moderator rankModerator

        Hi @APaga1,

        Good day, in general we would need a controller for that.
        You may refer to the sample reference design here, it is for other cyclone board, but I believe the concept of design are the same.

        Warm regards.