Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: GuinnessTrinker on October 27, 2014, 01:16:33 PM

Title: TE0720-2, Vivado 2014.1 Ref Design - problem with sdcard on TE0701-03
Post by: GuinnessTrinker on October 27, 2014, 01:16:33 PM
I would like to use the sdcard socket on TE0701-03 with SDK-StandAlone-Poject.

I used this design with success on the Zedboard:

X:\Xilinx\SDK\2014.2\data\embeddedsw\lib\sw_services\xilffs_v2_1\examples\xilffs_polled_example.c


On TE0720-02, TE0701-03 I got this error:
f_open(Test.bin) failed. rc= 10: The physical drive is write protected


I tried to tie WP and CDN both to logical '0'.

Now I get this error:
f_open(Test.bin) failed. rc= 1: A hard error occured in the low level disk I/O layer


On the schematics I found that the level converter can switch between sdcard-socket and PMOD.
This signal "SEL_SD" comes from the PLD on TE0701-03.

How can I control this??

Source-code of this PLD would also be nice ...




Title: Re: TE0720-2, Vivado 2014.1 Ref Design - problem with sdcard on TE0701-03
Post by: Antti Lukats on October 27, 2014, 01:58:16 PM
Hi

http://www.trenz-electronic.de/de/download/d0/Trenz_Electronic/d1/TE0701/d2/CPLD%20Sources.html

Does the SD card work with Linux with your setup?