Disk & Flash Memory Sizes

Status
Not open for further replies.

Electroenthusiast

Active Member
Another question,
Why certain cellphones have a limit for expandable memory(those which use SD/microSD)?
I think Nokia 6300 has a limit of 4GB, but why?
Googled: Nokia 5130 has a limit of 8GB SD
ALL use
 
The SD limit is up to 2 gig and over 2 gig..... Again its down to the interface & software... How much the interface can handle (data wise)... The SD card has 512 bytes per sector and there is just over 4 million sectors... You have to make the interface able to be able to access all these sectors.

After 2 gig I think ( and I may be wrong ) the sectors doubled to 1k... So older versions of the SD interfaces couldn't access the data.. (unless you formatted to limit its size)
 
Last edited:

Can you elaborate? Cos i think SD cards have no limitation like address bus.
 
The limitation is on the software drivers mainly.... The file pointer used will govern the size of the sectors you can get to.... We are stuck with FAT16 ... up to 2 gig... FAT32... up to 32 gig and FATX that can access even bigger drives..... There is also NTFS that can access all of the card.... BUT!!! and I have a big butt... The SD cards are mainly used in photography, so the FAT system is still used....
 
Okay, lets come back to 'MEMORY'... All these while, we were discussing about why memory is POWER of 2. But now, i've found a source that contradicts this. Now, back to normal, i'm unclear. The source reads so:

Isn't this completely contradicting what we thought/discussed? Memory = Power of 2 = 4000 or 4096
 
Last edited:
Using an SD card.. there are two ways... FAT tables (used by MS filing systems) or raw......If you access the SD card without a FAT you can access the whole thing because YOU will have to make the software interface.... But, with large files and physical size of 8 gig and up, the hardware interface MUST use the 4bit interface as if you use SPI the access will be SLOOOOOW.

Most people favour the FAT system as it is used extensively.... I mean if you use a card in raw format... A PC wont see it.... So any data stored on the card will only be of use to your design.

And using the FAT system means you have to go by their rules... If they say 1k is 1000 and not 1024... Tough on us...
 
Last edited:
How does this hold good?
4GigaBytes=4X10^9 Bytes.....
But in computer
1024 Bytes=1 KiloBytes, so on...

so calculating.....

4GB=4X10^9 Bytes
= ( 4X10^9 )/( 1024^3 ) GB
=3.72 GB)
The calculation above holds good. I even checked this with my 4GB memory stick, it has 3.72GB of available size. . . . .. ... .
And, try to format a 4GB with its capacity, i.e., 4096MB/4GB. You'll find that you can't get more than 3.72 in any case. The calculation above seems to be correct, but it opposes '2^n' rule.
 
Isn't the 4gig memory stick formatted..... The FAT will be taking up the other 280Meg.

You're starting to confuse me...... As far as I know... 4 gig is equal to 4.29 gig in byte terms... I know it was mentioned that drives (including memory sticks) use 1k = 1000
But My first set of hard drives were 40 Meg ( I had two ) then I had 512 Meg.... then I had 2 gig all of which were in the 1k = 1024.

Now think on this one.... 40 Meg.... (should't that, by the 2^n theory, have been 32 Meg?).. I really don't think drive technology follow the same rules!!
 
Last edited:

Will reply back after exploring this.
 
Will reply back after exploring this.


In the case as we think, i Guess all the answerer here are wrong:??? https://uk.answers.yahoo.com/question/index?qid=20090522072623AAp4EfL

OK,
As said by KISS & Ian, the change i.e., decrease (compared to rated value) in hard disk capacity is because of file system in use.
There i can use NTFS, FAT32, exFAT...
I experimented by formatting the memory stick with various file systems and found the results as in the Image.
 
That really surprises me.... They said NTFS is far more neater that FAT32.... you just proved them wrong....
 
Ian. I did a DECUS presentaion of the RSTS-11 file system for the PDP-11. I knew that one intimately at the time. Cluster sizes, or multiples of 512 byte blocks became the way of indexing a full drive with only 16 bits. Clusters also figured in when doing files. There was never a set number, like a directory could hold x files. It also depended on the file size as well. We wrote optimizing programs that would rearrange the files so that they were contiguous for performance and even wrote programs that would back up and retreive a drive or file from MAGTAPE. Fun stuff when I was basically out of high school.
 
That really surprises me.... They said NTFS is far more neater that FAT32.... you just proved them wrong....

Because, as we discussed time ago, the flash memories exist in 2...4..so on16 32.
so taking ex of 4gb, which is = to 4194304k , but available locations for storage= '3900702k', this is the number that we get after calculations as shown in the link above. What they've said seems to be right, but i still don't know.
The no 4194304 holds good power 2 law, whereas 3900702 doesn't hold good that law.
Now again, as shown in the image from my previous post, if it is because of file system used, then the fig should say 3.7/3.6 of 4GB. Because what i think file system limitation comes into role when a file is present/ not in an empty memory. Correct me if i'm wrong, i require still more elaboration from you folks.
 
The part that surprises me is there is less free space with NTFS... Microsoft said there should be more, as the filing system was more efficient... FATX, used on the PS3, is far more efficient. (microsoft calles it exFAT).
 
NTFS is reliable in terms of size only when partition size is more than 8GB. Log files are created under NTFS which is used for automatic file system repairs.

But, did you get what i said in the previous post Ian?
 
Between you and me.... I really don't see what's deluding you now.... Are we still on about this (power of two).... Because oodles of posts back Nigel pointed out that 2^n just means n to the base 2 (binary)

2^2 is 2 to the power 2....... 2^4 ISN'T! This is 2 to the power 4!!! And as we have finally seen, hard drives / FAT systems do not necessarily follow this form...

MEMORY ... RAM ..... ROM ... are always 2^n so 4gig will be 2^32..
 
MEMORY ... RAM ..... ROM ... are always 2^n so 4gig will be 2^32..
So does Flash Memory.
But what i asked was the reason 4GB gets down to 3.7*. So, what is your conclusion.
The link gives the reason that it's because manufac and OS have dissimilar method in accessing memory capacity.
Whereas IMHO, i have a feeling that 'Space Limitation/Reduction in Memory Stck size' happens only when a file is inside a flashmemory. If you place many files(total lesser than 3.7), the flashdrive will be full cos of File system.

And i think it's time now to end the thread with a conclusion, so please elaborate your views.
I've prolonged it to an extent. TY
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…