I am programming Genesys2 with Vivado/Vitis 2020.2 and could write and read Quad-SPI using AxI_QUAD_SPI LogiCore and Xilinx library spi_v4_7 ( including xspi.c ). I could use MicroBlaze, HDMI (source and sink), VDMA and MIG. However I could not find a way to wirte and read the SD CARD on the board. I tried xilffs but the functions such as f_mout, f_open and f_read were rejected by the Vitis compiler. I had no problem to read/write SD-CARD with Zybo, Zybo-Zu and Zedboard. I read the article "SDSPI controller specification" introduced by Gisselquest Technology in this forum.
Q1) I would like to know whether this software (SDSPI) supports the functions such as f_mout, f_open and f_read to read and write files by file name.
Q2) Is there any other way to use SD CARD host controller for Genesys2?
Q3) SPI seems not supporting read/write by file name. Is there any way to read/write files by file name as SD-CARD reader? I wish to store bitmap data in SPI.
Question
Stone
I am programming Genesys2 with Vivado/Vitis 2020.2 and could write and read Quad-SPI using AxI_QUAD_SPI LogiCore and Xilinx library spi_v4_7 ( including xspi.c ). I could use MicroBlaze, HDMI (source and sink), VDMA and MIG. However I could not find a way to wirte and read the SD CARD on the board. I tried xilffs but the functions such as f_mout, f_open and f_read were rejected by the Vitis compiler. I had no problem to read/write SD-CARD with Zybo, Zybo-Zu and Zedboard. I read the article "SDSPI controller specification" introduced by Gisselquest Technology in this forum.
Q1) I would like to know whether this software (SDSPI) supports the functions such as f_mout, f_open and f_read to read and write files by file name.
Q2) Is there any other way to use SD CARD host controller for Genesys2?
Q3) SPI seems not supporting read/write by file name. Is there any way to read/write files by file name as SD-CARD reader? I wish to store bitmap data in SPI.
Regards
Fred
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.