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.
I don't know about winimage. but I have used the image from the proteus forum... I don't have the AVR model so I can't help with your simulation... Incidentally.. how big is your image..
CD and WP are most likely card detect and write protect mechanical switches. Just tie them high or low according to your code, or comment those sections out.
I don't know about winimage. but I have used the image from the proteus forum... I don't have the AVR model so I can't help with your simulation... Incidentally.. how big is your image..
CD and WP are most likely card detect and write protect mechanical switches. Just tie them high or low according to your code, or comment those sections out.