Forum Discussion

CAlex's avatar
CAlex
Icon for Contributor rankContributor
1 year ago

F2SDRAM : mSGDMA endian issue and SDRAM reading/writing issue

Hi

I'm working on CycloneVsoc Dev Kit baremetal system

Now I want to use F2H sdram to transmit my data.

The draft system Interconnection:

HPS host master

|

| host order

|

SelfIP write -------ST----------| SGDMA |--------MM-------------> SDRAM

SelfIP read <-------ST---------| SGDMA |--------MM------------- SDRAM

do I need to transfer the Endian for the SGDMA?

or is there any setting to let avalon ST using little endian?

As for HPS,

HPS view of mmap is MPU one, so the address of SDRAM is from 0x00100000 to 0xC0000000, according to HPS UG,

is that the physical address or vertual one?

what is this SDRAM stands for ,? Is it the ddr3 chip on this board?

If it is, is that the place where my codes are?

how should I put/get data to sdram within and beyond this scope from HPS?

CycloneVsoc address map

Reguards

Alex

8 Replies

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

    Hi CAlex,


    I think you can use the same software code from this design example as reference to perform the transfer for your baremetal application:

    https://community.intel.com/t5/FPGA-Wiki/MSGDMA-design-example/ta-p/735335


    The sdram is refering to the external sdram which is the DDR for your case.

    If checking that specific start address for your baremetal application which loaded to the DDR, you can see the same application content which you have built.


    Thanks.

    Regards,

    Aik Eu


    • CAlex's avatar
      CAlex
      Icon for Contributor rankContributor

      Hi

      I cant use this example for I only get lite edition.

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

    Hi CAlex,


    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’, 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.


    Thanks.

    Regards,

    Aik Eu


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

    Hi CAlex,


    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’, 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.


    Thanks.

    Regards,

    Aik Eu


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

    Hi CAlex,


    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’, 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.


    Thanks.

    Regards,

    Aik Eu


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

    Hi CAlex,


    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’, 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.


    Thanks.

    Regards,

    Aik Eu



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

    Hi CAlex,


    I will close the thread if no further question.


    Thanks.

    Regards,

    Aik Eu