Hi,
I want to use memory card in my project and connect mmc to Atmega128. I am working with CodeVision 2.05.3 so I used sdcard.h library. I want to run the example code in CodeVision. When I compile it, it seems right but when I run it in Proteus, disk init fails. In addition, when I want to configure mmc in Project|Configure|C Compiler|Libraries|MMC/SD/SD HC Card menu, it asks for two additional bits called: /CD and /WP while in Proteus there are no bits with these names in mmc. The photos of configuring menu and my Proteus simulation are attached. I would be glad if anyone could help with this problem.
Thanks in advance
I want to use memory card in my project and connect mmc to Atmega128. I am working with CodeVision 2.05.3 so I used sdcard.h library. I want to run the example code in CodeVision. When I compile it, it seems right but when I run it in Proteus, disk init fails. In addition, when I want to configure mmc in Project|Configure|C Compiler|Libraries|MMC/SD/SD HC Card menu, it asks for two additional bits called: /CD and /WP while in Proteus there are no bits with these names in mmc. The photos of configuring menu and my Proteus simulation are attached. I would be glad if anyone could help with this problem.
Thanks in advance