Be sure that you are using a proper adapter.  Some have the necessary 
voltage level shifting and others have nothing.  If you send 5V power, and 
signals, to an SD card you will kill it.  I have done it.

-Mike


On Tuesday, January 19, 2021 at 1:04:49 PM UTC-5 [email protected] wrote:

> Hello
> Thanks for your attention. The circuit I use is the generic adapter that 
> is commercially available. I was able to verify that it was working because 
> as a response from the SD I receive the hexadecimal of "response" through 
> print_byte_hex (serial_data, response) found in the sd_init () procedure. 
> Additionally when I do not introduce memory in the socket. I get the 
> message: "SD_DEVICE_NOT_FOUND"
> I have done tests with 2GB, 4GB and 16GB memories. The response 
> hexadecimal changes but the reported error remains the same.
>
> I am only implementing the SD example for the 16f877a, i attach it, i will 
> try it with extension .jal
>
>
>
> El mar, 19 ene 2021 a las 11:31, Matthew Schinkel (<[email protected]>) 
> escribió:
>
>> First try another SD card that is a different size. What size of card are 
>> you using?
>>
>> What circuit are you using to connect the SD card?
>>
>> How do you simulate?
>>
>> Matt.
>>
>> On Tuesday, January 19, 2021 at 6:51:02 AM UTC-5 [email protected] 
>> wrote:
>>
>>> Hi,
>>>
>>> Is it possible to send a program that you are using that has this 
>>> problem, preferably stripped down to a version that shows the issue (if not 
>>> the whole program but that makes analysis more difficult)?
>>>
>>> Since Google Groups does not accept .jal attachments (I think), rename 
>>> it first to .txt so that you can send it.
>>>
>>> Thanks.
>>>
>>> Kind regards,
>>>
>>> Rob
>>> ------------------------------
>>> *Van:* [email protected] <[email protected]> namens MA - CM 
>>> <[email protected]>
>>> *Verzonden:* maandag 18 januari 2021 16:42
>>> *Aan:* jallib <[email protected]>
>>> *Onderwerp:* [jallib] Problem with sd card - SD_COMMAND_TIME_OUT 
>>>  
>>>
>>> The sd_card.jal library works for me in the simulation, but in the 
>>> circuit I get the message: SD_COMMAND_TIME_OUT. I have tried many things 
>>> and I am about to give up on this, please if someone can help me. 
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "jallib" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jallib/5fb3a644-4a83-4e3d-b5a5-ac00bc8fb395n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jallib/5fb3a644-4a83-4e3d-b5a5-ac00bc8fb395n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>>
> You received this message because you are subscribed to a topic in the 
>> Google Groups "jallib" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/jallib/f3dPXQzvEUI/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jallib/b264045d-580f-4212-8cff-2c3ee665c242n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jallib/b264045d-580f-4212-8cff-2c3ee665c242n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/56b1b2da-1261-4ea8-891f-3890bd1a7068n%40googlegroups.com.

Reply via email to