Interface with SD card
- jotego
- Core Developer
- Posts: 62
- Joined: Sun May 24, 2020 7:07 pm
- Has thanked: 24 times
- Been thanked: 208 times
Interface with SD card
Hi,
I need to dump to the SD card the contents of a small EEPROM used in a core. Could you point me to information about how to interface with the firmware to save and read to a file? The core is an arcade so the name of the file could just be derived from the MRA, I suppose.
Thank you
jotego
I need to dump to the SD card the contents of a small EEPROM used in a core. Could you point me to information about how to interface with the firmware to save and read to a file? The core is an arcade so the name of the file could just be derived from the MRA, I suppose.
Thank you
jotego
Open IP for many chips in my github account
RBF files for my MiSTer cores in jtbin
Support new IP and core development here
RBF files for my MiSTer cores in jtbin
Support new IP and core development here
Re: Interface with SD card
Can you post details of the actual EEPROM - A chip or whatever it is that has the data you need, picture & part number, I'm a little unclear on exactly what you're trying to accomplish.
-
- Top Contributor
- Posts: 1911
- Joined: Wed May 27, 2020 1:59 pm
- Has thanked: 145 times
- Been thanked: 454 times
Re: Interface with SD card
I suppose he wants to emulate an EEPROM in an arcade core and has to save it in a file on exit and reload it on starting the core so it does not really matter what the real EEPROM is.
- jotego
- Core Developer
- Posts: 62
- Joined: Sun May 24, 2020 7:07 pm
- Has thanked: 24 times
- Been thanked: 208 times
Re: Interface with SD card
It is an EEPROM found in arcade games, sized 128 or 256 bytes. I have it already talking with the core and modeled in a BRAM block.
I just need a way to get a serial stream of bits in from the SD card, when the core loads. And then get a stream out on the core request. The name of the file can just be linked to the game name in the MRA file.
There must already exist such an interface in MiSTer. I just need to know the details of it.
I just need a way to get a serial stream of bits in from the SD card, when the core loads. And then get a stream out on the core request. The name of the file can just be linked to the game name in the MRA file.
There must already exist such an interface in MiSTer. I just need to know the details of it.
Open IP for many chips in my github account
RBF files for my MiSTer cores in jtbin
Support new IP and core development here
RBF files for my MiSTer cores in jtbin
Support new IP and core development here
-
- Posts: 257
- Joined: Sun May 24, 2020 9:06 pm
- Has thanked: 64 times
- Been thanked: 13 times
-
- Posts: 257
- Joined: Sun May 24, 2020 9:06 pm
- Has thanked: 64 times
- Been thanked: 13 times
Re: Interface with SD card
Minus the "save when the core wants" but yeah pretty much exactly the same thing I'd have thought.
-
- Core Developer
- Posts: 217
- Joined: Sun May 24, 2020 8:48 pm
- Has thanked: 50 times
- Been thanked: 300 times
Re: Interface with SD card
Here is an example of the Genesis core saving and loading Backup ram https://github.com/MiSTer-devel/Genesis ... #L897-L965
https://github.com/MiSTer-devel/Genesis ... #L481-L485
https://github.com/MiSTer-devel/Genesis ... #L481-L485