Search the Community

Showing results for tags 'sd card'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments and the WaveForms software
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 11 results

  1. Is there an example project on how to interface with the SD card slot on the nexys video board? I’m working on a project to decode a .wav file from an sd card to output to the audio codec.
  2. Hello, I'm looking into storing data from an ADC system read through an FPGA to an SD card at 3.5 Mbps. I'd prefer not to use a processor. It looks like I could plug the PmodSD into a CMOD A7 (for example). I've found some discussions of directly writing to an SD card on the Digilent Forum, and some links to VHDL to do this; I especially like this code: In this discussion: [email protected] says he has been able to write to an SD card at 8 Mbps, so that would be fast enough for me. However, in this discussion: BenBog says he can't write faster than 1 Mbps. Is this because he is going through a linux driver from the MicroBlaze? Once the write gets going, the SPI clock used by the SD card is 25 MHz, so I'm wondering what limits the achievable write speed to much less than 25 Mbps? Is it because the write is limited to 512 byte blocks and then you have to set up a new write sequence? If one writes to an SD card directly with vhdl through SPI you obviously don't generate a file system; I presume if you use a formatted SD card the file formatting gets overwritten. This would be fine, but I'm wondering how/if one can then read this SD card on a computer? Presumably when you plug in such a card the OS will see that the card isn't formatted and won't know what to do with it. Is there some way to still get the data off the card? thanks in advance, Paul Smith Indiana University Physics
  3. Hello, I've been strugling with de micro-sd card in Nexys-4 for quite some time. I'm using the code at sd_spi.vhd by Lawrence Wilkinson, but the FPGA never gets a valid answer from the card so it keeps looping forever (CMD8) I think I've checked all the obvious things : - Trying an old card, just in case SDHC was not properly suported - Booting the FPGA from the SD card (not USB), to check that the physical circuits were working properly - Trying with 3 different Nexys 4 boards - Lowering clock frequency to only a few hertzs (normal speed should be 50MHz, and a counter insides L.W. code slows it down for start-up) - Making sure that all jumper settings were put to SD So it's time to ask if someone has tryed to do the same with this board. I just need a simple way to read data from the SD card. I don't need a file system and using an embedded processor is too much hassle. If anybody wants to give it a try, the code is here: Project code (Constraints only for Vivado) Also, to avoid you the burden of downloading it, these are the pins I've being using (just in case is something that embarrasing obvious as using the wrong pin): set_property -dict { PACKAGE_PIN E2 IOSTANDARD LVCMOS33 } [get_ports { SD_RESET }]; set_property -dict { PACKAGE_PIN A1 IOSTANDARD LVCMOS33 } [get_ports { SD_CD }]; set_property -dict { PACKAGE_PIN B1 IOSTANDARD LVCMOS33 } [get_ports { SD_SCK }]; set_property -dict { PACKAGE_PIN C1 IOSTANDARD LVCMOS33 } [get_ports { SD_CMD }]; set_property -dict { PACKAGE_PIN C2 IOSTANDARD LVCMOS33 } [get_ports { SD_DAT[0] }]; set_property -dict { PACKAGE_PIN E1 IOSTANDARD LVCMOS33 } [get_ports { SD_DAT[1] }]; set_property -dict { PACKAGE_PIN F1 IOSTANDARD LVCMOS33 } [get_ports { SD_DAT[2] }]; set_property -dict { PACKAGE_PIN D2 IOSTANDARD LVCMOS33 } [get_ports { SD_DAT[3] }]; Thanks in advance Roberto
  4. Hello, I am using Vivado 2018.2 i downloaded "Zybo-Z7-20-Pcam-5C-2018.2-*.zip" demo project in original project "part" option is choosen then I created a new vivado project i choose "board" option and i created same block design with "Zybo-Z7-20-Pcam-5C-2018.2-*.zip" demo project. I inserted same IP blocks and made connections. I did synthesis and implementation succesfully but when i exported to SDK and i tried to boot from SD card (i used hello world template) i did not see anything on terminal but when i am trying to export original project to SDK not which i create, then i can see hello world message on Terminal. Why did i not see anything in my project but i saw in original demo project? what could possibly be the problem? Hoping to read from you soon Best regards
  5. I am doing an image processing (not video) with Zybo Z7, and I am writing my own algorithm in C and C++ language for the image processing algorithm. For the simulation (without camera), I have some ready photos that can be loaded from SD card and then I want to test the performance of my algorithm on. I know Xilinx provide xsdps driver for the SD card, but I don't know how to use it for my project. But For the real application, the image processing will be done on the photos that are taken regularly by a camera. My priority, for now, is to first test my code using simulation. Could someone provide me a tutorial or a sample project? All the tutorials on the internet are about processing Video (not simple images)
  6. Hello Digilent Community, I am working on a image processing project and was wondering if anyone had advice or could point me in the right direction. I have tried following some tutorials and example projects, but I am still trying to wrap my head around Xilinx Vivado and SDK. The project really shouldn't be very difficult, I think I am just missing some information or the best way to go about doing it. For the project I am using the Zybo z7-20 development board and want to save two images to an SD card. The two pictures are black and white frames from a video just seconds apart, so there is only slight change in the frames themselves. I want to compare the two frames and output either a black and white image of the change in pixels or a binary file of '0' being an unchanged pixel and '1' being a change in the pixel. MATLAB has the 'Computer Vision System Toolbox' 'Tracking Cars Using Foreground Detection' Simulink example that is similar to what I want to do on the Zybo z7-20 FPGA. The following figure show the original video (right) with blob detection (the green square) and the binary output image of the change in pixels in the foreground (left). I want to use the Zynq Processor and write C code to do the analysis, but I haven't found a clear way to access the SD card from the Xilinx SDK. The following figure is of my current Block Design with only the Zynq Processor as well as some GPIO to test. I am still researching and looking at examples to compare, but wanted to see if the community had any pointers or if someone has done this before. I am a college student and I have been really interested FPGA's and digital design for the past 6-9 months, but I have mainly written my own Verilog code and haven't worked with block design or running C code on any of my designs. Any comments or suggestions would be great. Thanks!
  7. Hello, I have a new open logger and want to put it to use soon. I have a couple of issues. I'm hoping Digilent can respond. First, I cannot update firmware from ubuntu ... I have a windows 10 partition and have used that, but that is a pain. When will the linux system function normally? Second, I want to log some data using wifi as having a usb cable attached is not an option in my application. I cannot get the thing to connect to my system or even show any wifi networks. This happens in linux and windows. When will I be able to connect this way? Finally, will I be able to log to the sd card in a headless way? That is can I configure the system to start logging on power up or something like that? This device has great potential, but these kind of things need to be sorted out and documented clearly Thank you. Steve
  8. Hi, I am new to fpga. I am trying to read/write from sd card zusing the zybo zynq 7000 and I found the Xillfs example. For some reason the mkfs function always fails. I don't know if there is a problem with my design? I have enabled the sd0 in zynq processing system. Is the something else I should do? Any help is appreciated.
  9. Howdy to the Digilent-using people, Tony Barry writing. I am new to FPGA, but have a fairly strong background in EE and microcontrollers, C and assembler (mainly x86 but also Atmel AVR). My project is pro-bono for the amateur astronomy (occultation observing) community. Briefly, the occultation community observe the passage of asteroids in front of (generally dim) stars, and time the moment of eclipse and the moment of reappearance using strict UT timestamps to determine the position and possibly the shape of the asteroid from the knowledge of the time of the event, and the position of the observer on the earth. This information is passed on to the Minor Planet Center in Arizona for making improved ephemerides of asteroids, and sometimes to other science folk for various reasons. One recent occultation that gained some press was that of 2014 MU69 (the next target for the New Horizons probe after Pluto). You can read the story in the science press here:- Anyway, on to the point of this post. The limiting factor in occultation observing is the ability to see the target star (yes, that's obvious ... ) and there are two determinants of how dim a star you can see. Dimmer stars require bigger telescopes, and/or higher quantum efficiency cameras with lower noise. Amateurs do not have access to the budgets of professional scientists, so the telescope size is limited both by cost and by the ability to physically move a large heavy telescope. The camera cost is also limited. Within these constraints, it has been found that (arguably) the Watec 910BD board camera is pretty well the best (it was *not* used by the Johns Hopkins guys, but that's their story). However, the BD has some issues. The biggest issue is that it is a composite analog video camera (and that's ugly). Analog video really ought to be in the museums of this world ... but the cam can detect magnitude dimmer stars than comparable or more costly digital devices. However, the cam does have a digital video port, whose behaviour is documented, and this is the subject of this post. I would like to interface to this port. It is a BT.656 lookalike, which runs at a slightly higher clock speed (28.7MHz, vs 27MHz for standard BT.656) with 8 bits of data and two signal lines for vertical and horizontal blanking. 3V3 signalling and data. I need to pull in at least 16 frames (i.e. 756 bytes = 1 line x 525 lines = 400kB * 16 frames = 6.5MB storage) from this port, and do some arithmetic on those frames (basic averages, stats, etc), then shovel them into a UHS SD card or SSD local storage. It would be nice to have enough horsepower to do DAC and create some composite video out as a sanity check and local monitor. Now ... what kind of FPGA do I need to do this ? 1. Can run at more than 30MHz clocking in 8 bit parallel data. 2. Can store 10MB on board, and retrieve 1MB / sec from that store. 3. Can write 1MB / sec to an 8-bit DAC (the DAC can be an add-on, does not need to be on-board for this task). 4. Can write 1MB / sec to an UHS SD card (the socket can be off-board too). 5. Can run on 3V3. 6. Should not consume too much power. 10-12W would be around the maximum. 7. Cost is a consideration. Ideally, the FPGA would be less than $150 due to budget constraints. Well, that's my story. If anyone has some thoughts on the matter, please feel free to advise. Regards, Tony Tony Barry Sydney, Australia
  10. Hello, Could anyone tell me how I need to format my 32Gb SD card to enable my Zybo to boot from it. Are there any constraints? I created a 1Gb FAT32 partition and placed my Petalinux generated BOOT.bin and image.ub. Then I power cycle the board and ensure the jumper is on SD card and nothing happens. Its as if the card is not read. Trying the same with the SPI flash memory works, so the problem isn't in the BOOT.bin. I suspect it is the partition. Much appreciated!
  11. Hi, I liked my WF32 so much i bought a uC32 and a Wi-Fire. Had a little issue with the uC32 board but got that resolved in an other post. Now the Wi-Fire will not read the SD Card but the WF32 can. The wi-Fire can connect to the network but cannot display a server page as it fails to initialize or read the SD card. I have been looking all over the forums for info but cannot find any info i understan about the Wi-Fire and SD card. Is there a simple way to test to see if my problem is software or hardware. I was using the deWebIOServer packare I found with an WF32 instructable. This works well with the WF32 and the wifi part works with the Wi-Fire also but not the SD Card part. I went out and purchased mor SD cards. the original was a 'Kinston 32GB micro SD HC I'. the 2 new ones are 'Kinston 16 GB misro SD HC I'. they all work with the WF32 but non work with the WI-Fire. I used the SD example from the SD library and changed the SS from 4 to 52 and can read all the SD Cards with the Wi-Fire. Now does any body know why it does not work in the deWebIOServer server example? It also uses the SD library and SS is set to 52 by default. Luc