| Author |
Message |
Alex Vinokur
Guest
|
|
| Back to top |
|
 |
Alex Vinokur
Guest
|
Posted:
Thu Dec 15, 2005 5:15 pm Post subject:
Re: Running out of ROM and out of RAM |
|
|
Paul Burke wrote:
| Quote: | Alex Vinokur wrote:
Running out of ROM and running out of RAM.
What does it mean? What is the difference between them?
Anmbiguous. Could mean:
The code of the program currently being executed is in RAM (ROM being
the alternative). RAM is usually much faster than EPROM or flash, so
it's quite common in bigger embedded systems to copy the program into
RAM at boot time, and run it from there. Of course, PCs etc. always run
out of RAM.
|
[snip]
Thanks.
"Running out of ROM" means "Running in RAM" (?)
Does "Running out of RAM" mean "Running in ROM"?
------
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn |
|
| Back to top |
|
 |
Meindert Sprang
Guest
|
Posted:
Thu Dec 15, 2005 5:15 pm Post subject:
Re: Running out of ROM and out of RAM |
|
|
"Alex Vinokur" <alexvn@users.sourceforge.net> wrote in message
news:1134650347.078705.175590@g49g2000cwa.googlegroups.com...
| Quote: | "Running out of ROM" means "Running in RAM" (?)
Does "Running out of RAM" mean "Running in ROM"?
|
No, "running out" means there is not enough left. So running out of ROM
means your code does not fit in ROM anymore. Running out of RAM means all
your variables do not fit in RAM anymore.
Meindert |
|
| Back to top |
|
 |
karel
Guest
|
Posted:
Thu Dec 15, 2005 5:15 pm Post subject:
Re: Running out of ROM and out of RAM |
|
|
"Alex Vinokur" <alexvn@users.sourceforge.net> schreef in bericht
news:1134650347.078705.175590@g49g2000cwa.googlegroups.com...
| Quote: | Paul Burke wrote:
Alex Vinokur wrote:
Running out of ROM and running out of RAM.
What does it mean? What is the difference between them?
Anmbiguous. Could mean:
The code of the program currently being executed is in RAM (ROM being
the alternative). RAM is usually much faster than EPROM or flash, so
it's quite common in bigger embedded systems to copy the program into
RAM at boot time, and run it from there. Of course, PCs etc. always run
out of RAM.
[snip]
Thanks.
"Running out of ROM" means "Running in RAM" (?)
Does "Running out of RAM" mean "Running in ROM"?
|
No. I am afraid you have a double problem of
-) insufficient mastery of English language
-) little acquaintance with (micro) computer hardware terminology
as already said: "running out of" means "developing a shortage of"
ROM stands for Read-only-memory, it is
where your executable code get stored
RAM is a rather unlucky term describing read/write memory,
this is the place where your variables and stack exist.
Allow me to suggest you find some basic introduction
to microcontrollers, in English language,
and work your way through.
Specific questions can always be posted here
But I am afraid your present question indicates
that you have a long way to go.
Excuse me for being straightforward...
Good luck anyway!
KA |
|
| Back to top |
|
 |
Paul Burke
Guest
|
Posted:
Thu Dec 15, 2005 5:15 pm Post subject:
Re: Running out of ROM and out of RAM |
|
|
Alex Vinokur wrote:
| Quote: |
"Running out of ROM" means "Running in RAM" (?)
Does "Running out of RAM" mean "Running in ROM"?
|
No, the other way round. In this usage (i.e. indicating where the
program codes resides), Running out of RAM means running IN RAM!
And, of course, running out of ROM means running in ROM.
Sorry, it's a queer language, this English. Left is right, right is
wrong, no means yes (sometimes).
Paul Burke |
|
| Back to top |
|
 |
Alex Vinokur
Guest
|
Posted:
Thu Dec 15, 2005 5:15 pm Post subject:
Re: Running out of ROM and out of RAM |
|
|
Paul Burke wrote:
| Quote: | Alex Vinokur wrote:
"Running out of ROM" means "Running in RAM" (?)
Does "Running out of RAM" mean "Running in ROM"?
No, the other way round. In this usage (i.e. indicating where the
program codes resides), Running out of RAM means running IN RAM!
And, of course, running out of ROM means running in ROM.
Sorry, it's a queer language, this English. Left is right, right is
wrong, no means yes (sometimes).
Paul Burke
|
Paul, thank you for your clear answers and your humor.
------
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn |
|
| Back to top |
|
 |
Grant Edwards
Guest
|
Posted:
Thu Dec 15, 2005 5:15 pm Post subject:
Re: Running out of ROM and out of RAM |
|
|
On 2005-12-15, karel <adelcoGENE@zeverSKYNET.BE> wrote:
| Quote: | "Running out of ROM" means "Running in RAM" (?)
Does "Running out of RAM" mean "Running in ROM"?
No. I am afraid you have a double problem of
-) insufficient mastery of English language
-) little acquaintance with (micro) computer hardware terminology
as already said: "running out of" means "developing a shortage of"
|
And it can also mean "running residing in" or "running from".
As in: The code on my last ARM project was running out of RAM,
but the code in my H8/300 project runs from ROM.
--
Grant Edwards grante Yow! Did an Italian CRANE
at OPERATOR just experience
visi.com uninhibited sensations in
a MALIBU HOT TUB? |
|
| Back to top |
|
 |
karel
Guest
|
Posted:
Thu Dec 15, 2005 5:15 pm Post subject:
Re: Running out of ROM and out of RAM |
|
|
"Grant Edwards" <grante@visi.com> schreef in bericht
news:11q2uc9p6btl706@corp.supernews.com...
| Quote: | On 2005-12-15, karel <adelcoGENE@zeverSKYNET.BE> wrote:
"Running out of ROM" means "Running in RAM" (?)
Does "Running out of RAM" mean "Running in ROM"?
No. I am afraid you have a double problem of
-) insufficient mastery of English language
-) little acquaintance with (micro) computer hardware terminology
as already said: "running out of" means "developing a shortage of"
And it can also mean "running residing in" or "running from".
As in: The code on my last ARM project was running out of RAM,
but the code in my H8/300 project runs from ROM.
|
You are right! Much depends on context.
As someone else implied: perhaps English is not the
perfect language for scientifical/technical conversations... |
|
| Back to top |
|
 |
Meindert Sprang
Guest
|
Posted:
Thu Dec 15, 2005 5:15 pm Post subject:
Re: Running out of ROM and out of RAM |
|
|
"Paul Burke" <paul@scazon.com> wrote in message
news:40db8iF19mtllU1@individual.net...
| Quote: | Alex Vinokur wrote:
"Running out of ROM" means "Running in RAM" (?)
Does "Running out of RAM" mean "Running in ROM"?
No, the other way round. In this usage (i.e. indicating where the
program codes resides), Running out of RAM means running IN RAM!
|
Aren't we mixing up "running out of RAM" with "executing in RAM"?
Meindert |
|
| Back to top |
|
 |
Grant Edwards
Guest
|
Posted:
Thu Dec 15, 2005 5:15 pm Post subject:
Re: Running out of ROM and out of RAM |
|
|
On 2005-12-15, Meindert Sprang <mhsprang@NOcustomSPAMware.nl> wrote:
| Quote: | "Paul Burke" <paul@scazon.com> wrote in message
news:40db8iF19mtllU1@individual.net...
Alex Vinokur wrote:
"Running out of ROM" means "Running in RAM" (?)
Does "Running out of RAM" mean "Running in ROM"?
No, the other way round. In this usage (i.e. indicating where the
program codes resides), Running out of RAM means running IN RAM!
Aren't we mixing up "running out of RAM" with "executing in RAM"?
|
It's not at all uncommon for "running out of RAM" to mean
"executing in RAM". And if you write too much code you'll be
"running out of RAM" in both senses.
--
Grant Edwards grante Yow! What's the MATTER
at Sid?... Is your BEVERAGE
visi.com unsatisfactory? |
|
| Back to top |
|
 |
Spehro Pefhany
Guest
|
Posted:
Thu Dec 15, 2005 5:15 pm Post subject:
Re: Running out of ROM and out of RAM |
|
|
On Thu, 15 Dec 2005 15:21:47 +0100, the renowned "Meindert Sprang"
<mhsprang@NOcustomSPAMware.nl> wrote:
| Quote: | "Paul Burke" <paul@scazon.com> wrote in message
news:40db8iF19mtllU1@individual.net...
Alex Vinokur wrote:
"Running out of ROM" means "Running in RAM" (?)
Does "Running out of RAM" mean "Running in ROM"?
No, the other way round. In this usage (i.e. indicating where the
program codes resides), Running out of RAM means running IN RAM!
Aren't we mixing up "running out of RAM" with "executing in RAM"?
Meindert
|
No, either meaning is a possibility. Usually the context would help
disambiguate.*
See, for example, this message:
http://sources.redhat.com/ml/ecos-discuss/2003-04/msg00611.html
"Notice that gdb continuously modifies running code in order to insert
breakpoints etc. (this is true with bdm and serial connections) If you
want to debug, code should therefore be running out of ram."
* BTW, I really don't like the sound of "executing in RAM". It doesn't
execute *in* RAM, it executes in the CPU/ALU or whatever. "From RAM"
would be clear and unambiguous.
Best regards,
Spehro Pefhany
--
"it's the network..." "The Journey is the reward"
speff@interlog.com Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog Info for designers: http://www.speff.com |
|
| Back to top |
|
 |
Vic
Guest
|
Posted:
Thu Dec 15, 2005 5:15 pm Post subject:
Re: Running out of ROM and out of RAM |
|
|
On 15 Dec 2005 02:37:42 -0800, "Alex Vinokur"
<alexvn@users.sourceforge.net> wrote:
Isn't language wonderful? I assumed OP meant 'having a lack of
resource', as in 'i'm running out of cash'.. but I should be carefull
of that one as you could read that as 'running out of cache' :-) |
|
| Back to top |
|
 |
Dave Hansen
Guest
|
Posted:
Thu Dec 15, 2005 5:15 pm Post subject:
Re: Running out of ROM and out of RAM |
|
|
On Thu, 15 Dec 2005 14:00:19 +0000 in comp.arch.embedded, Paul Burke
<paul@scazon.com> wrote:
[...]
| Quote: | Sorry, it's a queer language, this English. Left is right, right is
wrong, no means yes (sometimes).
|
Two wrongs don't make a right, but three rights make a left.
Apologies,
-=Dave
--
Change is inevitable, progress is not. |
|
| Back to top |
|
 |
Grant Edwards
Guest
|
Posted:
Thu Dec 15, 2005 5:15 pm Post subject:
Re: Running out of ROM and out of RAM |
|
|
On 2005-12-15, Dave Hansen <iddw@hotmail.com> wrote:
| Quote: | On Thu, 15 Dec 2005 14:00:19 +0000 in comp.arch.embedded, Paul Burke
paul@scazon.com> wrote:
[...]
Sorry, it's a queer language, this English. Left is right, right is
wrong, no means yes (sometimes).
Two wrongs don't make a right, but three rights make a left.
|
Two rights make an airplane.
No, wait, that doesn't work in print...
--
Grant Edwards grante Yow! YOW!! I'm in a very
at clever and adorable INSANE
visi.com ASYLUM!! |
|
| Back to top |
|
 |
Paul Burke
Guest
|
Posted:
Thu Dec 15, 2005 5:15 pm Post subject:
Re: Running out of ROM and out of RAM |
|
|
Alex Vinokur wrote:
| Quote: | Running out of ROM and running out of RAM.
What does it mean? What is the difference between them?
|
Anmbiguous. Could mean:
The code of the program currently being executed is in RAM (ROM being
the alternative). RAM is usually much faster than EPROM or flash, so
it's quite common in bigger embedded systems to copy the program into
RAM at boot time, and run it from there. Of course, PCs etc. always run
out of RAM.
Alternatively:
You have not designed in enough memory of one kind or the other to
encompass the program you are trying to put into it. Don't tell the boss
until you have a solution or can blame it on someone else.
Paul Burke |
|
| Back to top |
|
 |
|
|
|
|