MMC and SD cards

Quote from feri on January 11, 2025, 9:52 pmIn this link :
https://softgun.sourceforge.net/
MMC and SD cards have been emulated in C language. The software uses a disk image file, which represents the file system. A structure is created with the card data and the disk image that represents the MMC-SD. The data from the structure is read and written via SPI. It seems good (it also implements different types of commercial cards). Unfortunately for me it is too complicated to implement in SimilIDE, however I report it in case it could interest someone.
Another useful link is this (in 4 parts):
http://www.rjhcoding.com/avrc-sd-interface-1.php
Regards
In this link :
https://softgun.sourceforge.net/
MMC and SD cards have been emulated in C language. The software uses a disk image file, which represents the file system. A structure is created with the card data and the disk image that represents the MMC-SD. The data from the structure is read and written via SPI. It seems good (it also implements different types of commercial cards). Unfortunately for me it is too complicated to implement in SimilIDE, however I report it in case it could interest someone.
Another useful link is this (in 4 parts):
http://www.rjhcoding.com/avrc-sd-interface-1.php
Regards

Quote from feri on March 23, 2025, 7:32 pmI modified the SD card of the open source program PicSimLab to make it work in SimulIDE.
The card loads disk images type ".img" and can only read and write Fat16.
I created the sd.img images on Uuntu with the Disks app.
Select from the menu "New disk image" size 9 Mbyte then format, verify that it is Fat16.
In the attached sketches the CS pin is 4.
I modified the SD card of the open source program PicSimLab to make it work in SimulIDE.
The card loads disk images type ".img" and can only read and write Fat16.
I created the sd.img images on Uuntu with the Disks app.
Select from the menu "New disk image" size 9 Mbyte then format, verify that it is Fat16.
In the attached sketches the CS pin is 4.
Uploaded files:

Quote from ChipMonk on March 28, 2025, 2:36 pm@feri can you please provide some instructions for using this SD card in simulIDE. I have just started using simulIDE so it will be really helpful.
Thanks.
@feri can you please provide some instructions for using this SD card in simulIDE. I have just started using simulIDE so it will be really helpful.
Thanks.

Quote from feri on March 28, 2025, 7:04 pmSimulIDE needs to be recompiled to use those files. Wait to see if arcachofo will include SD card in future test releases.
SimulIDE needs to be recompiled to use those files. Wait to see if arcachofo will include SD card in future test releases.