• AVR Freaks

problem reading / writing a 8Gb HC card

New Member
  • Total Posts : 29
  • Reward points : 0
  • Joined: 2012/07/20 02:23:59
  • Location: 0
  • Status: offline
2019/06/14 10:48:19 (permalink)

problem reading / writing a 8Gb HC card

Hello, I have a problem reading / writing a 8Gb HC card. I apply a picture of the system. the problem is not in the processor, the software to it. the problem is in the series of commands sent to the sd HC card 8GB size.
can anyone suggest information and / or source code for xc8 software to see how it is right to initialize the card so it can be read and written.
when commanding through spi is sended like bellow:
=> 40
=> 00
=> 00
=> 00
=> 00
=> 95
the map matches <= 3F
and the second time with <= FF
in the description file he writes that he has to respond with >> 0x00
usb hid the software in the 16F1455 processor works normally, no problems. the problem is only to initialize the sd card and then read and write data in the card itself

Attached Image(s)


0 Replies Related Threads

    Jump to:
    © 2019 APG vNext Commercial Version 4.5