FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5974 Discussions

F2SDRAM : mSGDMA endian issue and SDRAM reading/writing issue

CAlex
New Contributor II
997 Views

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? 

 

CAlex_0-1706088844639.png

 

CycloneVsoc address map

 

 

Reguards

Alex

0 Kudos
8 Replies
aikeu
Employee
958 Views

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


0 Kudos
CAlex
New Contributor II
925 Views

Hi

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

0 Kudos
aikeu
Employee
893 Views

Hi CAlex,


Maybe can check out this example link which is similar to the previous link showcasing msgdma using Nios as reference.

https://www.macnica.co.jp/en/business/semiconductor/articles/intel/129345/


Thanks.

Regards,

Aik Eu


0 Kudos
aikeu
Employee
860 Views

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


0 Kudos
aikeu
Employee
860 Views

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


0 Kudos
aikeu
Employee
859 Views

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


0 Kudos
aikeu
Employee
858 Views

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



0 Kudos
aikeu
Employee
858 Views

Hi CAlex,


I will close the thread if no further question.


Thanks.

Regards,

Aik Eu


0 Kudos
Reply