Notices

PDA/AXIM Newbies Don't be afraid to ask a question.

Reply
 
LinkBack Thread Tools
Old 09-09-06, 04:02 PM   #1 (permalink)
mobilemaniac
Guest
 
Posts: n/a
Understanding X51 Memory

Inspired by this thread:
http://www.aximsite.com/boards/showthread.php?t=76407

Cliffs Notes Version:
X50/X30: Program Memory=RAM=For running programs
Storage Memory=RAM=For storage
Built-in Storage=ROM(flash)=For storage
X51: Program Memory=RAM=For running programs
Storage Memory=ROM(flash)=BIS=For storage

This topic has been discussed in various threads all over this site and others, but several members have asked for a “memory help for noobs” that is specific for the X51 series Axims. So here he we go…
The X51 was developed in order to take advantage of the Windows Mobile 5 operating system. One of the developments of WM5 was the use of persistent storage. This means that your data doesn’t disappear when you run out of power. In a sense the memory system of an X51 is probably more familiar to most people because it works much like that of a desktop or laptop computer. Your programs and data are stored in the “Storage Memory” which is actually a non-volatile flash memory (referred to confusingly as ROM or flash ROM). This is analogous to the hard drive of a desktop computer and equivalent to the “Built in Storage (BIS)” of the X50. When you boot up the Axim and start to run programs, they are loaded into the “Program Memory” which is volatile RAM. This is exactly like the RAM in your desktop. RAM requires essentially constant power in order to maintain data. This is why you lose whatever you are working on when your computer crashes, but if you had saved recently (to the hard drive for example) the data is still there.

The X51 also has the ability to use removable Secure Digital (SD) cards and Compact Flash (CF) cards. These are non-volatile flash memory just like your “Storage Memory.”

For users, the memory system of the X51 is actually simpler than the X50. When you install an application you only have the choice of installing to the “Device” or to a memory card (if present). Installing to the “Device” means installing to the “Storage Memory.”

This wouldn’t be so confusing if they would have just renamed “Storage Memory” to “Storage” and “Program Memory” to “Memory.”

So if RAM requires power, why don’t we just use only flash memory?
The main reasons are it is much slower than RAM, and that flash memory has a limited number of write cycles before it craps out. With the x50, you could use some of the RAM for storage (“Main Memory”), and you could use a slider bar to decide how much to allocate for storage and how much for program memory. WM5 does not constantly power the RAM, so storing programs or data here would result in loss every time you had to reset, turn off the device, or run the battery dry. So, there is no slider to allocate RAM in WM5 and it’s not used for storage.

Dell said my Axim comes with 64 Mb of RAM (SDRAM for the geeks), but the memory app in WM5 says I only have ~50 Mb. Dell ripped me off!
Don’t start a class action suit just yet. Your Axim has 64 Mb of RAM but only about 50 Mb are available for use. The rest of it was allocated for various buffers that are needed by WM5 and whatever apps Dell decided were critical. Essentially they just told the OS there is only 50 Mb of RAM so it wouldn’t try to use the rest.

Ok. But I haven’t installed anything and I just did a hard reset/ soft reset and I still don’t have 50 Mb of “free” RAM.
Yup. The WM5 operating system is using some of that as well as any programs you have set to load on startup and any today plugins. There are probably a bunch of other running programs that are necessary to run your hardware that are transparent. You can free up RAM by removing today plugins and startup apps and by using some of the memory reclaiming programs out there (like MeMaid, FreeUpRam, etc.) but there is not much you can do about what the OS is using (without some hacking I guess). You only get about 30 Mb to play with. I wouldn’t worry about it unless you are running out of RAM or just really like that kind of thing.

RAM, shmam. Where do I install all my stuff? Storage memory or flash cards (SD/CF)?
This is somewhat of a personal choice. Remember that flash memory can withstand a limited number of write cycles so eventually it will die. This has led some people to try to move everything that gets written to often (like the browser cache) onto cards. The card will eventually die too, but it’s much easier to replace than the internal Storage Memory. Some programs claim they must be stored on the Device to function correctly. Some users have found no problems when moving them to storage cards. It’s probably a good idea to install things that you want to run at startup onto the Device. I generally install system utilities (like Total Commander, etc.) and PIM stuff (like Pocket Informant, etc.) onto the Device. This assures that they are always available regardless of which cards I have installed. I install games, movies, music, fun stuff, etc. onto SD cards, which I swap out often. I use SD cards for this mostly because they are easier to lug around and easier to remove. I generally store data, office-type files, maps, backups, and some apps on my CF card which I rarely remove (I’ve only got one).

Wait. You said I couldn’t install things to RAM on an X51, but Menneisyys says I can using a RAMDisk, and he’s a real computer scientist who is smarter than you and can leap tall buildings in a single bound.
http://www.aximsite.com/boards/showt...hlight=ramdisk

Yes, this is all true (he can also sync and charge his Axim with his mind). However, the RAMDisk doesn’t change the fact that the X51 doesn’t constantly power the RAM, so the RAMDisk will be wiped clean during any soft reset, full power off or loss of battery power. Don’t come crying to me. You were warned.
I hope this is useful for someone besides me (see now I can just paste a link instead of re-explaining all of this). Comments, criticisms, condemnation, corrections, commendation, congratulations, compensation, and other c-words can be sent by PM or just put them down there.
mm

Last edited by mobilemaniac; 09-09-06 at 11:58 PM.
  Reply With Quote
Sponsor Ads
Old 09-11-06, 10:17 AM   #2 (permalink)
DeeCee52
Guest
 
Posts: n/a
Thanks for your effort. This is a big help for htose us just getting started with wm5.
  Reply With Quote
Old 09-12-06, 08:15 AM   #3 (permalink)
Aximsite All Star
 
Mokubai's Avatar
 
Join Date: Dec 2005
Location: UK
Posts: 833
Device: HTC Touch Pro 2
Carrier: Vodafone UK
Thanked 0 Times in 0 Posts
A minor point, the RAM *is* constantly powered but after a soft reset contents are assumed to be invalid. Otherwise when you went into standby you would have to reboot and go through the Dell Startup screen. It is powered through a soft-reset but looks like it isn't due to the way computer operating systems are written, on reset all is *assumed* to be blank even though it may contain information that was valid before the reset.

You are right in that during a battery removal or full power off the RAM isn't powered by a back-up battery like older devices and will get erased, if this was what you were meaning then I am sorry.

Still, I am sorry for being picky on the small points, it's my hardware upbringing... ;)

Thanks for bringing all the info to our fingertips, it is very good to have it all in one place.

Last edited by Mokubai; 09-12-06 at 08:19 AM.
Mokubai is offline   Reply With Quote
Old 09-12-06, 08:35 AM   #4 (permalink)
Aximsite Legend
 
psionandy's Avatar
Addicted Member
 
Join Date: Mar 2005
Posts: 21,422
Thanked 0 Times in 0 Posts
Here's hoping that this thread will be as successful as Stoneraven9's :)

you might want to answer the question
How come I can't see the BIS in my X51? as that seems to get asked a lot ;)

and also
What about the memory in my wm5 X50? How come the X51 is so much faster :hide:
__________________
You'd have thought that someone would have put a sig here
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
psionandy is offline   Reply With Quote
Old 09-12-06, 12:53 PM   #5 (permalink)
Aximsite Rookie
 
Romer's Avatar
 
Join Date: Sep 2006
Location: Englewood, CO
Posts: 43
Device: Blackberry
Carrier: Nextel/Verizon
Thanked 0 Times in 0 Posts
Excellent thread. Thankyou
__________________
Dell Axim X51V, iGuidance 3.0, Globstat -338 BT Receiver

Toyota Land Cruiser Association
Rising Sun 4WD Club of Colorado
Moderator on
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


The Avatar is from my Lexus LX450, which is really a 80 series Toyota Land Cruiser with a sub woofer and CD Changer.
Romer is offline   Reply With Quote
Old 09-12-06, 02:40 PM   #6 (permalink)
Aximsite All Star
 
BirdBrain's Avatar
 
Join Date: Apr 2003
Location: Tennessee
Posts: 513
Device: Moto V3
Carrier: AT&T (Cingular)
Thanked 1 Time in 1 Post

Awards Showcase
Aximsite Contest Winner 
Total Awards: 1

Great info - Thanks! :approve:

(And maybe after a few more threads like this, you, too, will be able to leap tall buildings!! )
__________________
Beth

___________
Axim X50v, Axim X5, and Inspiron notebook

Thanks to PocketBrain for bringing the parrot to life!! :)
BirdBrain is offline   Reply With Quote
Old 09-13-06, 12:46 AM   #7 (permalink)
mobilemaniac
Guest
 
Posts: n/a
Originally Posted by DeeCee52
Thanks for your effort. This is a big help for htose us just getting started with wm5.
I'm glad to hear that you found it useful. Thanks for taking the time to read it. :)
mm
  Reply With Quote
Old 09-13-06, 01:03 AM   #8 (permalink)
mobilemaniac
Guest
 
Posts: n/a
Originally Posted by Mokubai
A minor point, the RAM *is* constantly powered but after a soft reset contents are assumed to be invalid.
I wasn't aware of this, and I'm glad you corrected me. Does this mean it's possible to get a RAM dump after a reset (in general not necessarily Axim specific)?

Originally Posted by Mokubai
Otherwise when you went into standby you would have to reboot and go through the Dell Startup screen.
Yes, I meant to discriminate between standby (where the system is still powered) and a full power off.

Originally Posted by Mokubai
It is powered through a soft-reset but looks like it isn't due to the way computer operating systems are written, on reset all is *assumed* to be blank even though it may contain information that was valid before the reset.

You are right in that during a battery removal or full power off the RAM isn't powered by a back-up battery like older devices and will get erased, if this was what you were meaning then I am sorry.

Still, I am sorry for being picky on the small points, it's my hardware upbringing... ;)

Thanks for bringing all the info to our fingertips, it is very good to have it all in one place.
No need to apologize! I'm very glad for your expertise, as I strive for accuracy. :approve:
mm
  Reply With Quote
Old 09-13-06, 01:23 AM   #9 (permalink)
mobilemaniac
Guest
 
Posts: n/a
Originally Posted by psionandy
Here's hoping that this thread will be as successful as Stoneraven9's :)

you might want to answer the question
How come I can't see the BIS in my X51? as that seems to get asked a lot ;)
Very good point! I will add this one.

Originally Posted by psionandy
and also
What about the memory in my wm5 X50? How come the X51 is so much faster :hide:
This one might be a little tougher. I'm not sure I can answer that satisfactorily. (Compaction threads and NAND vs. NOR.) Maybe a real computer scientists would like to take this one. (But, maybe not in the newbie forum ;)).
Aximsite wiki anyone?

Last edited by mobilemaniac; 09-13-06 at 01:45 AM.
  Reply With Quote
Old 09-13-06, 01:28 AM   #10 (permalink)
mobilemaniac
Guest
 
Posts: n/a
Romer and BirdBrain,

Thanks for your encouraging words! Happy to help where I can (but, I have no delusions that I'll be Werner's equal :nw:)
mm
  Reply With Quote
Old 09-13-06, 04:08 AM   #11 (permalink)
Aximsite All Star
 
Mokubai's Avatar
 
Join Date: Dec 2005
Location: UK
Posts: 833
Device: HTC Touch Pro 2
Carrier: Vodafone UK
Thanked 0 Times in 0 Posts
Originally Posted by mobilemaniac
I wasn't aware of this, and I'm glad you corrected me. Does this mean it's possible to get a RAM dump after a reset (in general not necessarily Axim specific)?
In most systems the answer should be yes, and I believe this is why Buzz_lightyears ramdisk for the 128MB HTC device (Himalaya?) (http://buzzdev.net/content/view/22/45/) actually survives a soft reset.

I'm a bit uncertain as to what the reset pin does, as there are two cases. 1) It simply pulls a reset pin on the PXA270 low and thus initiates a processor soft reset, or 2) it pulls a line low in the power converter stages and so temporarily powers down the device. If 1 then data will survive, if 2 then the RAM contents could be garbage. A software initiated soft reset should do option 1.

I've been looking for a way to verify this, as with all things I could be wrong, but 99% of the systems I have dealt with do not bother to power down or clear the RAM as it is simply a waste of time and power. I can't seem to find a RAM dumping program for the pocket PC at the moment.
Mokubai is offline   Reply With Quote
Old 09-13-06, 06:33 AM   #12 (permalink)
Aximsite Veteran
 
mtgeorge's Avatar
 
Join Date: Apr 2006
Location: Ohio
Posts: 1,414
Device: Samsung SCH-i760
Carrier: Verizon
Thanked 1 Time in 1 Post

Awards Showcase
Aximsite Active Bronze Member Aximsite Contest Winner 
Total Awards: 2

Great reference - THANKS! Can this become a "sticky" or go into the Reference section so it can be easily found in the future?
__________________
An (X) indicates a Wi-Fi post from my Axim X51.

Live every day like it is your last....because some day it will be.

If you find yourself falling off a cliff, you might as well try and fly!
mtgeorge is offline   Reply With Quote
Old 10-08-06, 05:30 AM   #13 (permalink)
Aximsite Legend
 
psionandy's Avatar
Addicted Member
 
Join Date: Mar 2005
Posts: 21,422
Thanked 0 Times in 0 Posts
It's amazing how a Bump on the head can improve your memory...

(Sticky please)
__________________
You'd have thought that someone would have put a sig here
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
psionandy is offline   Reply With Quote
Old 10-08-06, 05:32 AM   #14 (permalink)
Humphster
Guest
 
Posts: n/a
Thank you. Mobilemanic. It was well written as well as informative.
  Reply With Quote
Old 10-09-06, 11:59 AM   #15 (permalink)
Aximsite Veteran
 
w3iner's Avatar
 
Join Date: Dec 2005
Location: Pikeville, NC
Posts: 1,734
Device: Nokia
Thanked 0 Times in 0 Posts

Awards Showcase
Aximsite Active Bronze Member Aximsite Contest Winner 
Total Awards: 2

If they would have called the BIS Flash Memory and called Ram RAM we would be even less confused.
__________________
Freedom means learning to deal with being offended!


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Love Sudoku? Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

I am studying MS VB05 right now, so if you can give me any tips or need some help on something I would be glad to help(or try).


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
w3iner is offline   Reply With Quote
Reply

Tags
memory, understanding, x51

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Understanding Router Numskull WiFi Talk 5 05-01-06 07:53 PM
Understanding Memory!! ck_9 Windows Mobile 5 4 01-19-06 09:09 AM
New 50v. Understanding Memory - where to install software? Red Dog X50 / X51 Forums 9 05-07-05 08:17 PM
Understanding storeage/memory homerpbody PDA/AXIM Newbies 1 10-14-03 09:32 AM
understanding memory vt125 PDA/AXIM Newbies 7 07-14-03 05:19 AM


All times are GMT -5. The time now is 06:49 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-10 LeckMedia, LLC