Forum Discussion
CAlex
Contributor
3 years agoHow to use on chip memory by HPS baremetal
Hi, it's based on CycloneV soc dev kit, the on chip memory was linked to H2F AXI(128bit wide). So I set the OCMemory as 128 bit and writeable RAM. In the HPS code I setup the FPGA image, openned ...
EBERLAZARE_I_Intel
Regular Contributor
3 years agoHi,
We do not have the examples, from our side.
You need to check out the available functions for your SDMMC and experiment it:
For e.g usage for (line 1589):
ALT_STATUS_CODE alt_sdmmc_read(ALT_SDMMC_CARD_INFO_t *card_info, void *dest, void *src, const size_t size);
| ALT_STATUS_CODE alt_sdmmc_write(ALT_SDMMC_CARD_INFO_t *card_info, void *dest, void *src, const size_t size); |
I am not familiar with these functions, but you may try it, other than that I hope I have provided enough help on this.
CAlex
Contributor
3 years agoHi,
Yes, Im working on that function, but the function is to read/write from the HPS,
now my problem is how to read the sdcard from host computer.(assume that I already wrote the data into a sd card).
Do you have any ideas?
Reguards.