Giter Site home page Giter Site logo

BBC Micro SDHC Support about mist-board HOT 7 CLOSED

mist-devel avatar mist-devel commented on July 25, 2024
BBC Micro SDHC Support

from mist-board.

Comments (7)

harbaum avatar harbaum commented on July 25, 2024

SDHC requires a few more things over normal SD. It needs to be addressed block wise instead of byte wise etc. The IO controller on the MIST board can do some magic and try to translate between these. But that's dangerous as this will only work in the first 2GB of a SHDC card and will lead to problems with an SD card containing more than 2GB.

However, if the supermmc rom is being replaced by something that supports SDHC natively then the core can be told not to do this translation and as a result SDHC cards will work nicely. But imho there is no supermmc like rom supporting SDHC.

IMHO Hoglet is doing something like that here: https://github.com/hoglet67/BeebFpga/tree/master/src/mmfs

The original beemmc which this core also implements uses some bitbanging approach to access the sd card through the user port. If we have the source code of the driver (e.g. the supermmc replacement) then we could easily implement some simple hardware SPI for faster SD card access.

from mist-board.

renaudhelias avatar renaudhelias commented on July 25, 2024

Last time I had such of "SD not supported" message in my project (dev point of view/not user point of view...), it was about a bad plug (a bad wire mapping) of I/O between data_io.v component and sdcard_io component and general schematic in/out...
About 2Go, you normaly just have to defrag (if < 2Go). Around 2Go problems, becare about using some "integer variable" that are using 32bit for address (so 2Go ?)

from mist-board.

fordp2002 avatar fordp2002 commented on July 25, 2024

I will do some testing and get back to you as I have a DE1 and am testing Hoglet's core too.

The mmb file always has to be the first one on the card however so I think with your translation software either the old or the new MMC rom would work fine.

None of the implementations use pure bit bash by the way, they use the shift registers in the 6522 to hardware assist the SD/ SDHC access.

Cheers.
FordP

from mist-board.

harbaum avatar harbaum commented on July 25, 2024

Yes, you are right about the 6522. Too many cores to remember all the details :-)

Please feel free to contact me at [email protected] if you need any help.

from mist-board.

sorgelig avatar sorgelig commented on July 25, 2024

@harbaum,
Correct me if i'm wrong, but SDHC flag is always checked in current FW regardless if it's real or virtual SD card.
Thus, i think the requirements can be greatly relaxed for cores when using virtual SD card. Core may have no support for SDHC card, but for virtual SD card it doesn't matter as long as size of virtual image is less than 4GB (even being on SDHC card) which for retro machine is always true.

from mist-board.

harbaum avatar harbaum commented on July 25, 2024

That's indeed true. The only problem is accessing a real sdhc card like a normal sd card.

from mist-board.

gyurco avatar gyurco commented on July 25, 2024

I think this can be closed, as the core switched to MMFS, so it supports SDHC (considering MMFS limits).

from mist-board.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.