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.
That part of the code was copied from an example I found on the Internet.
I just rewrote it maintaining the SD card selected all the time and it is running ok.
Well, I don't know. The 128 bytes are all read and I can calculate the correct card size based on them.
I deleted the two read bytes after CMD9 and modified the read sector routine. Now it is working ok. See below:
read_sector:
rcall read_SD ; Read one byte
sbi PORTC, SDSEL ; Unselect...
Hi,
I've got some 2GB and 1GB micro SD cards that returns 0xC1 to CMD25 and 0xC2 to CMD18. They don't accept any write or read.
Any other micro SD returns the expected response on my hardware. It's a Mega8 talking to the card via SPI.
These cards also work ok on W7.
Any ideas?
Thanks.
Have you solved this?
I'm asking because I have the same problem. My suspicion is the GSM operator blocks inbound TCP connections.
But a friend of mine is using a PC with an USB GSM modem configured as a SERVER. And it works!
Will try to borrow his SIM card to do some tests.
Read the datasheet is a very constructive answer in your case.
My schematic? I didn't post that thing and never would do. If you build that, it is obvious you need to read and understand the datasheet.
Yes, read the datasheet and build the circuits according to it.
Not respecting the voltage...
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.