xobs / ax2xx-code

Some code for the AX211 or AX215 8051-based CPU
89 stars 4 forks source link

Let's emulate an SD card! #1

Open felipesanches opened 10 years ago

felipesanches commented 10 years ago

I'm interested in developing a MAME/MESS driver for an SD Card so that I'll be able to attach a card image to other emulated devices. I could implement the SD Card protocol in MAME, but it sounds much more fun to actually emulate the code running in an 8051/AX211 :-)

Is there any place where I can get an image of the firmware that goes in one of these SD cards so that I can use it for rom loading in a MAME driver ?

happy hacking, Felipe Sanches

xobs commented 10 years ago

Hi Felipe,

Let me post a copy of the image somewhere. Give me about an hour. While it is possible to get the firmware burning software from Baidu, I recall it was a bit of a challenge, because I had to create an account, and Chrome doesn't translate the pictures they use to label the account fields.

Keep in mind that they use 32-bit opcodes extensively (particularly for CRC16 generation), and we didn't map out many of them. We did map out many of the SFRs that deal with the NAND flash layer, so that'll make that part easier.

Each brand and model of NAND flash has its own version of the firmware. They're all mostly identical, except for some sundry commands that certain chips require. On 31 Dec, 2013 3:36 am, "Felipe Corrêa a Silva Sanches" < notifications@github.com> wrote:

I'm interested in developing a MAME/MESS driver for an SD Card so that I'll be able to attach a card image to other emulated devices. I could implement the SD Card protocol in MAME, but it sounds much more fun to actually emulate the code running in an 8051/AX211 :-)

Is there any place where I can get an image of the firmware that goes in one of these SD cards so that I can use it for rom loading in a MAME driver ?

happy hacking, Felipe Sanches

— Reply to this email directly or view it on GitHubhttps://github.com/xobs/ax2xx-code/issues/1 .

xobs commented 10 years ago

On 30/12/2013 20:36, Felipe Corrêa a Silva Sanches wrote:

I'm interested in developing a MAME/MESS driver for an SD Card so that I'll be able to attach a card image to other emulated devices. I could implement the SD Card protocol in MAME, but it sounds much more fun to actually emulate the code running in an 8051/AX211 :-)

Is there any place where I can get an image of the firmware that goes in one of these SD cards so that I can use it for rom loading in a MAME driver ?

happy hacking, Felipe Sanches


Reply to this email directly or view it on GitHub: https://github.com/xobs/ax2xx-code/issues/1

The firmware is at http://bunniefoo.com/xobs/ax211-firmware.zip. It's a straight copy of all the firmware from the device.

Actual SD card firmware is located in the Bin/ directory. Each file is basically the same, with minor NAND-specific differences.

felipesanches commented 10 years ago

Thanks! I'll invertigate those images.