We try to help but more information would be useful. At what point in the code do you get the error SD_DEVICE_NOT_FOUND?
Matt. Sent from my Android device. ________________________________ From: jallib@googlegroups.com <jallib@googlegroups.com> on behalf of MA - CM <maacuella...@gmail.com> Sent: Thursday, January 21, 2021 10:12:20 AM To: jallib@googlegroups.com <jallib@googlegroups.com> Subject: Re: [jallib] Problem with sd card - SD_COMMAND_TIME_OUT I really appreciate the attention to Rob and Mike, I will continue to work on this by applying their recommendations. They are very friendly and it has been very nice to know that you can count on their help. El mié, 20 ene 2021 a las 17:01, 'Mike' via jallib (<jallib@googlegroups.com<mailto:jallib@googlegroups.com>>) escribió: 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 maacue...@gmail.com<mailto:maacue...@gmail.com> 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 (<mattsc...@hotmail.com>) 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 rob...@hotmail.com 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: jal...@googlegroups.com <jal...@googlegroups.com> namens MA - CM <maacue...@gmail.com> Verzonden: maandag 18 januari 2021 16:42 Aan: jallib <jal...@googlegroups.com> 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 jallib+un...@googlegroups.com. 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 jallib+un...@googlegroups.com. 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 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 jallib+unsubscr...@googlegroups.com<mailto:jallib+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/56b1b2da-1261-4ea8-891f-3890bd1a7068n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/56b1b2da-1261-4ea8-891f-3890bd1a7068n%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 jallib+unsubscr...@googlegroups.com<mailto:jallib+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/CAEnUHKYziTsb4WFgXrnS0g38d3LkUOaYZKJQGmJwvj%2Bc%3DuUxow%40mail.gmail.com<https://groups.google.com/d/msgid/jallib/CAEnUHKYziTsb4WFgXrnS0g38d3LkUOaYZKJQGmJwvj%2Bc%3DuUxow%40mail.gmail.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 jallib+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/YQXPR01MB41495031AAF85BD1F02FA089DEA10%40YQXPR01MB4149.CANPRD01.PROD.OUTLOOK.COM.