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