Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
it showed both physical sector and logical sector...i assumed logical sector was the one i should use because even the address of the data shown was in terms of logical sector (57000 instead of 68200), so yeah it was confusing but its all good now, thanks!
i am able to program both the FPGA and the PROM with the M[2:0] pins permanently set to 000...
you create the bitfile by generating the programming file from the ISE project navigator. when you start up iMPACT, go to boundary scan and initialize the chain and the JTAG cable will check and show...
okay nevermind i fixed it, turns out the address isn't 57000
i kept using the logical address which was 696 x 512 = 356352 = 0x57000 which is wrong
apparently the correct addressing for SD cards through SPI is to use the PHYSICAL address which through winhex i found was 833 for config.txt
i...
yea i actually just fixed it yesterday, turns out it was the M[2:0] pins, they have to be 000 and mine were set at 111...once i shorted those 3 pins to ground the FPGA booted up from the PROM each time i turn it on and off
hello,
696 x 512 = 356352 in decimal which is 57000 in hex, this is the same address as the config.txt address shown in the picture above, am i correct?
i am sure the initialization is successful, after sending ACMD41 the SDcard replies with 0x00 then goes high (idle),
i send CMD17 by sending...
hello,
i am using a SPARTAN 3A FPGA to interface with an SD card via SPI, i have gotten it to initialize (CMD0, ACMD41) and now i am trying to read a block of data from the card.
my problem is that the card does not send back any of the information i am requesting...but it is sending...
mmmmmkay from the appnote you posted it seems that the M[2:0] pins are grounded i.e '0' but mine are all '1', maybe that's the issue...i'll give it a shot, thanks!
correct me if i'm wrong, but from a software point of view is the procedure i did above correct as far as you know? or did i make a mistake somewhere? i created a .mcs file from the .bit file so my understanding is that the .mcs file does the exact same thing as the .bit file (which is to blink...
hello all,
i have a SPARTAN 3A FPGA and have designed a simple VHDL program to blink the LED on and off. i loaded the .bit file into the FPGA and verified that it works (LED turns on and off like it should)
i want the FPGA to be loaded with this code each time it resets/powers on, so i created...
hello all,
i have mentioned a few weeks ago that i am trying to implement SPI interface with an FPGA to a SD card,
i have found some sample code online from Steven Merrifield's website and i have been trying to digest and understand his code and i have a problem trying to understand one...
oh beautiful...
your answer helped me realize one thing that i totally overlooked all this while...
the Spartan 3A operates at 16MHz, and i am trying to interface with a LCD screen which definitely doesn't operate at that speed. your sentence "if you have a fast clock, you could fix this by...
ok, i tried my best to optimize the code and it seems that the device might really be a tad too small to fit everything in. i removed the CRC check after receiving a block...even reduced a block read from 512 bytes to 32 bytes just to hopefully save some resources (i only need 32 bytes because...
hello again,
after a day of rewriting and trying to optimize everything again and again, i managed to successfully synthesize the code:
Device utilization summary:
---------------------------
Selected Device : 3s50atq144-4
Number of Slices: 660 out of 704 93%...
the leds and switches problem was for getting used to the idea of switching ports via an input file because i was using the basic starter kit.
if you can tell from the variable names i used in the code above, this project is actually for testing LCD screens. i have a pattern generator box that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.