P2 with Legacy SD Cards
System
Posts: 45
in Propeller 2
This discussion was created from comments split from: P2 Evaluation Board - Brief Update December 18th.
Comments
The booter should actually work with older SD cards. Not sure if I removed the variation for FAT16 support. Won't be home till the w/e and have some catching up to do then.
SDXC as exFAT needs the boot code in the MBR (ie sector 0). Pretty sure that SDXC as FAT32 works fine.
I have a bunch of SD cards but there all full sized. I have a 128Mb card that I use to load my 3D printer with but it's full sized.
Mike
PS my 3D printer with an Arduino controller running Marlin can read long file names just fine.
Mike
However, it is possible to build an adapter to go the wrong way, but why???
Will that work?
Mike
Mike
I do too. I currently use one to make handling Micro SD easier. Insert adapter cable into Micro SD slot. The adapter takes full sized SD, meaning an old, or new / Micro SD can be connected. MicroSD gets put into one of those full sized cards that can hold it.
I also have one of those full sized "carriers" in my laptop, so I can easily insert Micro SD, and so I don't lose either.
It's probably FAT32. Give it a try and let us know. Copy your test file and name it "_BOOT_P2.BIX" (case sensitive).
BTW there has been offline discussion about not supporting cards below SDHC or SD V2.0? Thoughts anyone?
An example might be say Peter can fit his TAQOS assembler in there, if legacy SD support goes...
My .02
I have an old 2BG Kodak uSD that I reformatted to FAT32 and it boots fine. I have been using a SanDisk HC 32GB since I got the P2-ES.
The ROM is always going to have a hard ceiling, and involve trade offs.
For 'nice to have' features like TAQOZ assembler, as well as Spin 2 etc, it may be smarter to allow a ROM-Patch area in FLASH ?
(In the scheme of things, FLASH is quite cheap)
ie during boot, it looks at flash to see if a) present and b) has valid ROM patch, and if so, it loads that too.
To the user, it appears like a larger Flash ROM, and they can download and upgrade that firmware area of Flash on a semi regular basis.
I formatted the 2GB for default (FAT16? or FAT?) it did not mount. Reformatted for FAT32 and it will not mount anymore. 2GB may not be a good choice.
I can walk into Officeworks here in Oz and pick up a 64GB SDXC for $22 and I can't find any cards smaller than 16GB. Surely nobody is serious about using the brand new P2 with a worn out veteran card? Well, not at the expense of ROM I hope.
I thought the current boot code already had relatively wide support for current and future cards?
Does the current code work with SDXC cards? I built a board that *only* worked with original 1GB or less 'SD' cards recently, and tracking one down was a pain. Already I am seeing more SDXC cards on the market, and less SDHC cards. A big problem there is that they tend to be large enough for default to exFAT....and it's a PITA in Windows to format them as anything else.
As for formatting larger SD cards I believe we can do that easily enough with the P2 itself rather than depending upon MS to do it for us, and besides I'm a Linux man myself and there are Mac people here too, so we don't have that MS problem. I will write an SD formatter for TAQOZ that may be pasted in through the terminal to format a card. Alternatively it can also be backed up onto the serial Flash.
I think if we could walk into a store and buy 2GB cards then perhaps we should consider support for these, but it has been many many years since that was even possible and now I find that the smallest card I can find in a store is 16GB.